]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
rockchip: rk322x: update MACRO for back-to-brom
authorKever Yang <kever.yang@rock-chips.com>
Wed, 18 Apr 2018 04:45:33 +0000 (12:45 +0800)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Wed, 25 Apr 2018 20:20:07 +0000 (22:20 +0200)
The MACRO has been update after:
ee14d29 rockchip: back-to-bootrom: split BACK_TO_BOOTROM for TPL/SPL
We need to update the C code for it.

Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
arch/arm/mach-rockchip/rk322x-board-spl.c

index 206abfafcd971249c8c1a511b693ffe0e260ce2f..d3d04465744b9a471a2246f3178e5c44b724ab18 100644 (file)
@@ -95,7 +95,7 @@ void board_init_f(ulong dummy)
 
        /* Disable the ddr secure region setting to make it non-secure */
        rk_clrreg(SGRF_DDR_CON0, 0x4000);
-#if defined(CONFIG_ROCKCHIP_SPL_BACK_TO_BROM) && !defined(CONFIG_SPL_BOARD_INIT)
+#if defined(CONFIG_SPL_ROCKCHIP_BACK_TO_BROM) && !defined(CONFIG_SPL_BOARD_INIT)
        back_to_bootrom(BROM_BOOT_NEXTSTAGE);
 #endif
 }