diff mbox series

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

Message ID 20241015234502.129086-1-marex@denx.de
State Accepted
Commit 4d49c5426f1c4c139c9ee08617f5431e419aa940
Delegated to: Fabio Estevam
Headers show
Series ARM: dts: imx6-dhcom: Remove fdt_high and initrd_high env variables | expand

Commit Message

Marek Vasut Oct. 15, 2024, 11:44 p.m. UTC
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.

Signed-off-by: Marek Vasut <marex@denx.de>
---
Cc: Andreas Geisreiter <ageisreiter@dh-electronics.de>
Cc: Christoph Niedermaier <cniedermaier@dh-electronics.com>
Cc: Fabio Estevam <festevam@denx.de>
Cc: Marek Vasut <marex@denx.de>
Cc: Peng Fan <peng.fan@nxp.com>
Cc: Tim Harvey <tharvey@gateworks.com>
Cc: Tom Rini <trini@konsulko.com>
Cc: u-boot@dh-electronics.com
Cc: u-boot@lists.denx.de
---
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(-)

Comments

Fabio Estevam Oct. 16, 2024, 6:49 p.m. UTC | #1
On Tue, Oct 15, 2024 at 8:45 PM Marek Vasut <marex@denx.de> wrote:
>
> 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.
>
> Signed-off-by: Marek Vasut <marex@denx.de>

Reviewed-by: Fabio Estevam <festevam@gmail.com>
Fabio Estevam Oct. 18, 2024, 12:33 p.m. UTC | #2
On Tue, Oct 15, 2024 at 8:45 PM Marek Vasut <marex@denx.de> wrote:
>
> 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.
>
> Signed-off-by: Marek Vasut <marex@denx.de>

Applied, thanks.
diff mbox series

Patch

diff --git a/include/configs/dh_imx6.h b/include/configs/dh_imx6.h
index 9b6f03f6856..09354936d73 100644
--- a/include/configs/dh_imx6.h
+++ b/include/configs/dh_imx6.h
@@ -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"	\