summaryrefslogtreecommitdiff
path: root/arch/arm/mach-s5pc1xx
diff options
context:
space:
mode:
authorPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>2017-08-17 15:16:11 +0200
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>2017-11-01 23:20:54 +0100
commit1a2e486ccc98a16ab6d2c3ab8f1b67d7845d2cf5 (patch)
tree977f5d470c36fe2bc2ad5e41325db5987f9a0e4c /arch/arm/mach-s5pc1xx
parent43e83761a5a81145ed99a1b01f40ebf5d0048a53 (diff)
rockchip: boot0 hook: support early return for RK3188/RK3066-style BROM
Some Rockchip BROM versions (e.g. the RK3188 and RK3066) first read 1KB data from NAND into SRAM and executes it. Then, following a return to bootrom, the BROM loads additional code to SRAM (not overwriting the first block read) and reenters at the same address as the first time. To support booting either a TPL (on the RK3066) or SPL (on the RK3188) using this model of having to count entries, this commit adds code to the boot0 hook to track the number of entries and handle them accordingly. Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Signed-off-by: Paweł Jarosz <paweljarosz3691@gmail.com> Tested-by: Andy Yan <andy.yan@rock-chips.com> Series-changes: 5 - set return value to 0 before returning to the BROM
Diffstat (limited to 'arch/arm/mach-s5pc1xx')
0 files changed, 0 insertions, 0 deletions