summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-rockchip/bootrom.c
Commit message (Collapse)AuthorAgeFilesLines
* ARM: Rockchip: make bootsource logic generic to all SoCsAhmad Fatoum2023-04-051-0/+51
Decoding of the bootsource from the register value can be shared across multiple Rockchip SoCs. Move the code to a common place to allow for that. At least with some TF-A versions the IRAM where the bootsource is stored cannot not be accessed in normal mode, so read it out before we start the TF-A. For this the scratch space is used. Signed-off-by: Ahmad Fatoum <ahmad@a3f.at> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>