immortalwrt/package/boot/uboot-rockchip/patches/110-hack-fix-build-rk356x-idbloader.patch
Tianling Shen 7e2430f784
uboot-rockchip: backport fixes for rkbin
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-02-08 03:28:25 +08:00

26 lines
508 B
Diff

--- a/arch/arm/dts/rockchip-u-boot.dtsi
+++ b/arch/arm/dts/rockchip-u-boot.dtsi
@@ -11,7 +11,7 @@
};
};
-#ifdef CONFIG_TPL
+#if defined(CONFIG_TPL) || defined(CONFIG_ROCKCHIP_RK3566) || defined(CONFIG_ROCKCHIP_RK3568)
&binman {
simple-bin {
filename = "u-boot-rockchip.bin";
@@ -20,12 +20,11 @@
mkimage {
filename = "idbloader.img";
args = "-n", CONFIG_SYS_SOC, "-T", "rksd";
-#ifdef CONFIG_TPL
multiple-data-files;
u-boot-tpl {
};
-#endif
+
u-boot-spl {
};
};