mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-15 01:17:39 +00:00
8ffa9ed295
Keep track of the re-entries with help of the lr register. This binary can be re-used and called from various BROM functions. Only when it's called from the part that handles SPI, NAND or EMMC hardware it needs to early return to BROM ones. In download mode when it handles data on USB OTG and UART0 this section must be skipped. Unlike newer Rockchip SoC models the rk3066 BROM code does not have built-in support to enter download mode on return to BROM. This binary must check the boot mode register for the BOOT_BROM_DOWNLOAD flag and reset if it's set. It then returns to BROM to the end of the function that reads boot blocks. From there the BROM code goes into a download mode and waits for data on USB OTG and UART0. Signed-off-by: Johan Jonker <jbx6244@gmail.com> Reviewed-by: Kever Yang <kever.yang@rock-chips.com> |
||
---|---|---|
.. | ||
px30 | ||
rk322x | ||
rk3036 | ||
rk3066 | ||
rk3128 | ||
rk3188 | ||
rk3288 | ||
rk3308 | ||
rk3328 | ||
rk3368 | ||
rk3399 | ||
rk3568 | ||
rk3588 | ||
rv1108 | ||
rv1126 | ||
board.c | ||
boot_mode.c | ||
bootrom.c | ||
cpu-info.c | ||
Kconfig | ||
Makefile | ||
misc.c | ||
px30-board-tpl.c | ||
rk3036-board-spl.c | ||
sdram.c | ||
spl-boot-order.c | ||
spl.c | ||
tpl.c | ||
u-boot-tpl-v8.lds |