[PATCH 13/15] rockchip: Allow including rockchip dtsi on 32-bit machines

Simon Glass sjg at chromium.org
Mon Jun 8 21:20:22 CEST 2020


At present this file supports only 64-bit machines. Add an #ifdef so that
it can be included without problems on 32-bit machines also.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 arch/arm/dts/rockchip-u-boot.dtsi | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/dts/rockchip-u-boot.dtsi b/arch/arm/dts/rockchip-u-boot.dtsi
index a2559e2db0..d2542f2230 100644
--- a/arch/arm/dts/rockchip-u-boot.dtsi
+++ b/arch/arm/dts/rockchip-u-boot.dtsi
@@ -6,6 +6,7 @@
 #include <config.h>
 
 / {
+#ifdef CONFIG_ARM64
 	binman {
 		filename = "u-boot-rockchip.bin";
 		pad-byte = <0xff>;
@@ -18,4 +19,5 @@
 			offset = <CONFIG_SPL_PAD_TO>;
 		};
 	};
+#endif
 };
-- 
2.27.0.278.ge193c7cf3a9-goog



More information about the U-Boot mailing list