summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSaksham Jain <saksham.jain@nxp.com>2016-03-23 16:24:38 +0530
committerYork Sun <york.sun@nxp.com>2016-03-29 08:46:21 -0700
commitbef238cb1e87f36bfbc7495b9eb933d06ce278ec (patch)
treedc385f1d0586f26b8cd4c7f325277d3e979f6bdb
parent3f701cc50a2e329e8437330bdd7316b48bd06cb8 (diff)
downloadu-boot-imx-bef238cb1e87f36bfbc7495b9eb933d06ce278ec.zip
u-boot-imx-bef238cb1e87f36bfbc7495b9eb933d06ce278ec.tar.gz
u-boot-imx-bef238cb1e87f36bfbc7495b9eb933d06ce278ec.tar.bz2
armv8: ls2080: Change env variable "fdt_high"
"fdt_high" env variable was set to 0xcfffffff for secure boot. Change it to 0xa0000000 for LS2080 to be consistent with non-secure boot targets. Signed-off-by: Aneesh Bansal <aneesh.bansal@nxp.com> Signed-off-by: Saksham Jain <saksham.jain@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com>
-rw-r--r--arch/arm/include/asm/fsl_secure_boot.h7
1 files changed, 7 insertions, 0 deletions
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)*/