- Jul 29, 2019
-
-
Kever Yang authored
Use common board file for board_init() and board_late_init(), for Rockchip SoCs have very similar process. Signed-off-by:
Kever Yang <kever.yang@rock-chips.com>
-
Kever Yang authored
Handle per-board init in board_early_init_f() and use the common board_init() for per-platform board init later. Signed-off-by:
Kever Yang <kever.yang@rock-chips.com>
-
Kever Yang authored
Use common board file for board_init() and board_late_init(), for Rockchip SoCs have very similar process. Signed-off-by:
Kever Yang <kever.yang@rock-chips.com>
-
Kever Yang authored
Use common board file for board_init() and board_late_init(), for Rockchip SoCs have very similar process. Signed-off-by:
Kever Yang <kever.yang@rock-chips.com> Tested-by:
Matwey V. Kornilov <matwey.kornilov@gmail.com>
-
Kever Yang authored
Use common board file for board_init() and board_late_init(), for Rockchip SoCs have very similar process. Signed-off-by:
Kever Yang <kever.yang@rock-chips.com>
-
Kever Yang authored
The rk3288_detect_reset_reason() is per-SoC operation, move it to rk3288.c, and extend the rk_board_late_init() with rk3288_board_late_init() to make all the board works fine as before. Signed-off-by:
Kever Yang <kever.yang@rock-chips.com>
-
Kever Yang authored
Move the do_clock CMD to rk3288.c so that we can re-use the common board file later. Signed-off-by:
Kever Yang <kever.yang@rock-chips.com>
-
Kever Yang authored
The veyron_init() should go to its board file veyron.c, and the board_early_init_f() could be the right place. Signed-off-by:
Kever Yang <kever.yang@rock-chips.com>
-
Kever Yang authored
The board_early_init_f() is only used by veyron board now, move it into the board file veyron.c Signed-off-by:
Kever Yang <kever.yang@rock-chips.com>
-
Kever Yang authored
Qos setting and emmc relate SoC setting should go to arch_cpu_init(). Signed-off-by:
Kever Yang <kever.yang@rock-chips.com>
-
Kever Yang authored
Use common board file for board_init() and board_late_init(), for Rockchip SoCs have very similar process. Signed-off-by:
Kever Yang <kever.yang@rock-chips.com>
-
Kever Yang authored
The setting for noc remap should goto arch_cpu_init(). Signed-off-by:
Kever Yang <kever.yang@rock-chips.com>
-
Kever Yang authored
Use common board file for board_init() and board_late_init(), for Rockchip SoCs have very similar process. Signed-off-by:
Kever Yang <kever.yang@rock-chips.com>
-
Kever Yang authored
The SoC one time setting should go to arch_cpu_init() in rk322x.c Signed-off-by:
Kever Yang <kever.yang@rock-chips.com>
-
Kever Yang authored
Use common board file for board_init() and board_late_init(), for Rockchip SoCs have very similar process. Signed-off-by:
Kever Yang <kever.yang@rock-chips.com>
-
Kever Yang authored
Use common board file for board_init() and board_late_init(), for Rockchip SoCs have very similar process. Signed-off-by:
Kever Yang <kever.yang@rock-chips.com>
-
Kever Yang authored
Move dram_init() into rk3036.c so that we can use to common board file later. Signed-off-by:
Kever Yang <kever.yang@rock-chips.com>
-
Kever Yang authored
dram_init_banksize() can be common used by all SoCs, move it into sdram_common.c Signed-off-by:
Kever Yang <kever.yang@rock-chips.com>
-
Kever Yang authored
Add common board file for Rockchip SoCs to avoid too much copy-paste work for different SoCs. This board file in charge for common board_init() and board_late_init() in U-Boot proper. Signed-off-by:
Kever Yang <kever.yang@rock-chips.com>
-
Kever Yang authored
Use "snps,dwc2" for compatible name and and common variable names so that we can share the common code for all SoCs. Signed-off-by:
Kever Yang <kever.yang@rock-chips.com>
-
Kever Yang authored
The fastboot_set_reboot_flag() update a TAG into a register for next boot, use the common macro for the register so that we can re-use the function for different SoCs. Signed-off-by:
Kever Yang <kever.yang@rock-chips.com>
-
Kever Yang authored
Add board_debug_uart_init() to make the debug UART work with correct setting. Signed-off-by:
Kever Yang <kever.yang@rock-chips.com>
-
Kever Yang authored
rk3399 has similar boot flow in SPL with other Rockchip SoCs, migrate to use common spl board file. Signed-off-by:
Kever Yang <kever.yang@rock-chips.com>
-
Kever Yang authored
Add a board_early_init_f() in board_init_f() and move the board specific init code into its own board file. Signed-off-by:
Kever Yang <kever.yang@rock-chips.com>
-
Kever Yang authored
Move boot_devices definition into rk3399.c, so that we can share the common code for board_spl_was_booted_from(). Signed-off-by:
Kever Yang <kever.yang@rock-chips.com>
-
Kever Yang authored
Move spl_board_init() into rk3399.c so that we can re-use the common SPL board file later. Signed-off-by:
Kever Yang <kever.yang@rock-chips.com>
-
Kever Yang authored
SoC setting like DDR secure region and EMMC clock setting should go to arch_cpu_init(). Signed-off-by:
Kever Yang <kever.yang@rock-chips.com>
-
Kever Yang authored
Show the SPL BANNER earlier so that we know already get into SPL. Signed-off-by:
Kever Yang <kever.yang@rock-chips.com>
-
Kever Yang authored
Move the spl_perform_fixups() into rk3399.c so that we can use common spl board file later. Signed-off-by:
Kever Yang <kever.yang@rock-chips.com>
-
Kever Yang authored
The driver need a mapping to get the dts node by boot srouce ID. Signed-off-by:
Kever Yang <kever.yang@rock-chips.com>
-
Kever Yang authored
rk3368 has similar boot flow in SPL with other Rockchip SoCs, migrate to use common spl board file. Signed-off-by:
Kever Yang <kever.yang@rock-chips.com>
-
Kever Yang authored
The driver need a mapping to get the dts node by boot srouce ID. Signed-off-by:
Kever Yang <kever.yang@rock-chips.com>
-
Kever Yang authored
rk3328 has similar boot flow in SPL with other Rockchip SoCs, migrate to use common spl board file. Signed-off-by:
Kever Yang <kever.yang@rock-chips.com>
-
Kever Yang authored
Add the CONFIG_ROCKCHIP_STIMER_BASE so that we can use the stimer init function in tpl.c and spl.c Signed-off-by:
Kever Yang <kever.yang@rock-chips.com>
-
Kever Yang authored
The driver need a mapping to get the dts node by boot srouce ID. Signed-off-by:
Kever Yang <kever.yang@rock-chips.com>
-
Kever Yang authored
"u-boot,spl-boot-order" is more flexible and other rockchip SoCs has convert to use it, migrate to use the new dts property. Signed-off-by:
Kever Yang <kever.yang@rock-chips.com>
-
Kever Yang authored
We are using "u-boot,spl-boot-order" now and re-use the definition from rk3288-u-boot.dtsi, so remove it directly here. Signed-off-by:
Kever Yang <kever.yang@rock-chips.com>
-
Kever Yang authored
rk3288 has similar boot flow in SPL with other Rockchip SoCs, migrate to use common spl board file. Signed-off-by:
Kever Yang <kever.yang@rock-chips.com>
-
Kever Yang authored
Mov edram_init_banksize() into rk3288.c so that we can re-use the common SPL board file later. Signed-off-by:
Kever Yang <kever.yang@rock-chips.com>
-
Kever Yang authored
phycore_init() is use for phycore board only, it should be move back to phycore-rk3288.c Signed-off-by:
Kever Yang <kever.yang@rock-chips.com>
-