u-boot-brain/arch/arm/include/asm/arch-rockchip
Philipp Tomsich b377d22264 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>
2017-11-21 23:57:22 +01:00
..
boot0.h rockchip: boot0 hook: support early return for RK3188/RK3066-style BROM 2017-11-21 23:57:22 +01:00
boot_mode.h rockchip: add boot-mode support for rk3288, rk3036 2016-10-01 18:36:55 -06:00
bootrom.h rockchip: bootrom: add definitions to retrieve BROM boot-source 2017-10-01 00:33:34 +02:00
clock.h rockchip: rk322x: add basic soc support 2017-07-11 12:13:46 +02:00
cru_rk322x.h rockchip: rk322x: update MACRO for mmc clksel reg 2017-08-18 17:52:47 +02:00
cru_rk3036.h rockchip: clock: rk3036: some fix according TRM 2017-06-07 07:29:20 -06:00
cru_rk3188.h rockchip: clk: rk3188: Allow configuration of the armclk 2017-04-04 20:01:57 -06:00
cru_rk3288.h rockchip: rk3288: Add reset reason detection 2017-09-05 11:04:35 +02:00
cru_rk3328.h rockchip: rk3328: add clock driver 2017-03-16 16:03:46 -06:00
cru_rk3368.h rockchip: clk: Add rk3368 SARADC clock support 2017-10-01 00:33:30 +02:00
cru_rk3399.h rockchip: clk: rk3399: remove unused fields from priv-structures 2017-07-27 14:59:02 +02:00
cru_rv1108.h rockchip: clk: Add rv1108 SARADC clock support 2017-10-01 00:33:29 +02:00
ddr_rk3188.h rockchip: rk3188: Add sdram driver 2017-03-16 16:03:45 -06:00
ddr_rk3288.h rockchip: use common sdram function 2017-07-11 12:13:44 +02:00
ddr_rk3368.h rockchip: rk3368: add DRAM controller driver with DRAM initialisation 2017-08-13 17:12:33 +02:00
edp_rk3288.h rockchip: video: Add a display driver for rockchip eDP 2016-01-21 20:42:36 -07:00
gpio.h rockchip: gpio: Add rockchip GPIO driver 2015-09-02 21:28:23 -06:00
grf_rk322x.h rockchip: rk322x: Disable integrated macphy for saving power consuming 2017-09-18 20:40:33 +02:00
grf_rk3036.h rockchip: rk3036: fix grf macro define 2017-10-01 00:33:32 +02:00
grf_rk3188.h rockchip: rk3188: Add header files for PMU and GRF 2017-03-16 16:03:44 -06:00
grf_rk3288.h rockchip: rk3288: Add pinctrl support for the gmac ethernet interface 2017-07-11 15:23:38 +02:00
grf_rk3328.h rockchip: pinctrl: rk3328: do not set io routing 2017-06-07 07:29:21 -06:00
grf_rk3368.h rockchip: rk3368: add DRAM controller driver with DRAM initialisation 2017-08-13 17:12:33 +02:00
grf_rk3399.h rockchip: video: rk3399: add HDMI TX support on the RK3399 2017-06-07 21:30:50 -06:00
grf_rv1108.h rockchip: pinctrl: Add rv1108 pinctrl driver 2017-06-07 07:29:24 -06:00
hardware.h rockchip: Tidy up the register-access macros 2016-01-21 20:42:37 -07:00
i2c.h rockchip: Add I2C driver 2015-09-02 21:28:24 -06:00
lvds_rk3288.h rockchip: video: Add a display driver for rockchip LVDS 2016-03-14 22:06:33 +01:00
periph.h rockchip: clk: Add rv1108 clock driver 2017-06-07 07:29:25 -06:00
pmu_rk3188.h rockchip: rk3188: Add header files for PMU and GRF 2017-03-16 16:03:44 -06:00
pmu_rk3288.h rockchip: Convert the PMU IOMUX registers into an array 2016-01-21 20:42:34 -07:00
pwm.h rockchip: pwm: add mask for config setting 2017-07-27 14:59:01 +02:00
qos_rk3288.h rockchip: rk3288: set isp/vop qos priority level 2017-01-11 20:23:50 -07:00
rockchip_mipi_dsi.h rockchip: video: Add mipi driver support for rockchip soc 2017-05-10 13:37:22 -06:00
sdram_common.h rockchip: add sdram_common for common functions 2017-07-11 12:13:44 +02:00
sdram_rk322x.h rockchip: rk322x: add sdram driver 2017-10-01 00:33:32 +02:00
sdram_rk3036.h rockchip: add rk3036 sdram driver 2015-12-01 08:07:22 -07:00
sdram_rk3399.h rockchip: arm64: rk3399: add ddr controller driver 2017-03-16 16:03:45 -06:00
sdram.h rk3288: sdram: auto-detect the capacity 2016-10-30 13:29:06 -06:00
sys_proto.h armv7: rk3288: Move configure_l2ctlr to common 2017-10-01 00:33:33 +02:00
timer.h rockchip: timer: make register sizes explicit 2017-07-27 14:59:00 +02:00
uart.h rockchip: add early uart driver 2015-12-01 08:07:22 -07:00
vop_rk3288.h rockchip: video: rk3399: enable HDMI output (from the rk_vop) for the RK3399 2017-06-07 21:30:49 -06:00