diff mbox series

[1/2] arm64: ls1028a: remove fdt_high environment variable

Message ID 20200219090222.8224-1-andy.tang@nxp.com
State Accepted
Commit 395b52127a8d46f890217eaaeab4ed54f65478a0
Headers show
Series [1/2] arm64: ls1028a: remove fdt_high environment variable | expand

Commit Message

Andy Tang Feb. 19, 2020, 9:02 a.m. UTC
Setting fdt_high and initrd_high to 0xffffffffffffffff leads to
various difficulty to resolve bugs.
Remove them and use bootm_size instead to safely contain a kernel,
device tree and initrd for relocation.

Signed-off-by: Yuantian Tang <andy.tang at nxp.com>
---
 include/configs/ls1028a_common.h | 3 +--
 include/configs/ls1028aqds.h     | 2 --
 2 files changed, 1 insertion(+), 4 deletions(-)

Comments

Priyanka Jain (OSS) March 30, 2020, 10:25 a.m. UTC | #1
>-----Original Message-----
>From: U-Boot <u-boot-bounces at lists.denx.de> On Behalf Of Yuantian Tang
>Sent: Wednesday, February 19, 2020 2:32 PM
>To: Priyanka Singh <priyanka.singh at nxp.com>
>Cc: u-boot at lists.denx.de; Andy Tang <andy.tang at nxp.com>
>Subject: [PATCH 1/2] arm64: ls1028a: remove fdt_high environment variable
>
>Setting fdt_high and initrd_high to 0xffffffffffffffff leads to various difficulty to
>resolve bugs.
>Remove them and use bootm_size instead to safely contain a kernel, device
>tree and initrd for relocation.
>
>Signed-off-by: Yuantian Tang <andy.tang at nxp.com>
>---
Applied to u-boot-fsl-qoriq. Waiting upstream

Thanks
Priyanka
diff mbox series

Patch

diff --git a/include/configs/ls1028a_common.h b/include/configs/ls1028a_common.h
index 05b8cf00ee..1c7680c234 100644
--- a/include/configs/ls1028a_common.h
+++ b/include/configs/ls1028a_common.h
@@ -79,8 +79,7 @@ 
 	"hwconfig=fsl_ddr:bank_intlv=auto\0"	\
 	"ramdisk_addr=0x800000\0"		\
 	"ramdisk_size=0x2000000\0"		\
-	"fdt_high=0xffffffffffffffff\0"		\
-	"initrd_high=0xffffffffffffffff\0"	\
+	"bootm_size=0x10000000\0"		\
 	"fdt_addr=0x00f00000\0"                 \
 	"kernel_addr=0x01000000\0"              \
 	"scriptaddr=0x80000000\0"               \
diff --git a/include/configs/ls1028aqds.h b/include/configs/ls1028aqds.h
index 982df07bb0..fca0a3af19 100644
--- a/include/configs/ls1028aqds.h
+++ b/include/configs/ls1028aqds.h
@@ -90,8 +90,6 @@ 
 	"hwconfig=fsl_ddr:bank_intlv=auto\0" \
 	"ramdisk_addr=0x800000\0" \
 	"ramdisk_size=0x2000000\0" \
-	"fdt_high=0xffffffffffffffff\0" \
-	"initrd_high=0xffffffffffffffff\0" \
 	"fdt_addr=0x00f00000\0" \
 	"kernel_addr=0x01000000\0" \
 	"scriptaddr=0x80000000\0" \