rockchip: Only call binman when TPL available
authorKever Yang <kever.yang@rock-chips.com>
Sun, 18 Dec 2022 12:43:38 +0000 (20:43 +0800)
committerKever Yang <kever.yang@rock-chips.com>
Mon, 19 Dec 2022 02:55:58 +0000 (10:55 +0800)
Rockchip platform use TPL to do the DRAM initialize for all the SoCs,
if TPL is not available, means no available DRAM init program, and the
u-boot-rockchip.bin is not functionable.

Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Change-Id: I2299f1eddce5aa7d5fb1a3fb4d8aeaa995b397fa

arch/arm/dts/rockchip-u-boot.dtsi

index 584f21e..fa094b0 100644 (file)
@@ -11,7 +11,7 @@
        };
 };
 
-#ifdef CONFIG_SPL
+#ifdef CONFIG_TPL
 &binman {
        simple-bin {
                filename = "u-boot-rockchip.bin";