[U-Boot] [PATCH v5 07/14] ls2080: Change env variable "fdt_high"
Saksham Jain
saksham.jain at nxp.com
Wed Mar 23 11:54:38 CET 2016
"fdt_high" env variable has been changed to 0xa0000000 for ls2080
during Secure Boot. This env_varible is used to specify the upper limit
to be used for copying flat device tree. This address must be visible
to kernel.
The "fdt_high" value has been set during Secure Boot to same value as
it's default value during non-secure boot.
Signed-off-by: Aneesh Bansal <aneesh.bansal at nxp.com>
Signed-off-by: Saksham Jain <saksham.jain at nxp.com>
---
Changes for v2:
- No changes
Changes for v3:
- No changes
Changes for v4:
- No changes
Changes for v5:
- Cleaned up commit message
arch/arm/include/asm/fsl_secure_boot.h | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/arch/arm/include/asm/fsl_secure_boot.h b/arch/arm/include/asm/fsl_secure_boot.h
index 4d04eea..d576f2e 100644
--- a/arch/arm/include/asm/fsl_secure_boot.h
+++ b/arch/arm/include/asm/fsl_secure_boot.h
@@ -52,10 +52,17 @@
#define CONFIG_ESBC_ADDR_64BIT
#endif
+#if defined(CONFIG_LS2080A) || defined(CONFIG_LS2085A)
+#define CONFIG_EXTRA_ENV \
+ "setenv fdt_high 0xa0000000;" \
+ "setenv initrd_high 0xcfffffff;" \
+ "setenv hwconfig \'fsl_ddr:ctlr_intlv=null,bank_intlv=null\';"
+#else
#define CONFIG_EXTRA_ENV \
"setenv fdt_high 0xcfffffff;" \
"setenv initrd_high 0xcfffffff;" \
"setenv hwconfig \'fsl_ddr:ctlr_intlv=null,bank_intlv=null\';"
+#endif
/* Copying Bootscript and Header to DDR from NOR for LS2 and for rest, from
* Non-XIP Memory (Nand/SD)*/
--
1.8.1.4
More information about the U-Boot
mailing list