Skip to contentSkip to conversation

ARM: dts: imx6-dhcom: Remove fdt_high and initrd_high env variables

PATCH Applied Marek Vasut 2 participants 3 messages Oct 15, 2024 – Oct 18, 2024 Arm i.MX and Layerscape

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: imx6-dhcom: Remove fdt_high and initrd_high env variables

Remove both "fdt_high" and "initrd_high" environment variables in favor of "bootm_size" to safely contain a kernel, device tree and initrd for relocation inside of 256 MiB region of DRAM.

---
Cc: Andreas Geisreiter <[email protected]>
Cc: Christoph Niedermaier <[email protected]>
Cc: Fabio Estevam <[email protected]>
Cc: Marek Vasut <[email protected]>
Cc: Peng Fan <[email protected]>
Cc: Tim Harvey <[email protected]>
Cc: Tom Rini <[email protected]>
Cc: [email protected]
Cc: [email protected]
---
NOTE: If mainline Linux does not boot, this is the prime suspect.

      Non-8-byte aligned DT address is then a dead giveaway:
      Booting using the fdt blob at 0x126d6bac
                                             ^
---
 include/configs/dh_imx6.h | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
include/configs/dh_imx6.h +1 -2
index 9b6f03f6856..09354936d73 100644
@@ -36,10 +36,9 @@
 #endif
 
 #define CFG_EXTRA_ENV_SETTINGS	\
+	"bootm_size=0x10000000\0"	\
 	"console=ttymxc0,115200\0"	\
 	"fdt_addr=0x18000000\0"		\
-	"fdt_high=0xffffffff\0"		\
-	"initrd_high=0xffffffff\0"	\
 	"kernel_addr_r=0x10008000\0"	\
 	"fdt_addr_r=0x13000000\0"	\
 	"ramdisk_addr_r=0x18000000\0"	\
Signature · 1 line
2.45.2