summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUdit Agarwal <udit.agarwal@nxp.com>2017-01-06 15:58:56 +0530
committerYork Sun <york.sun@nxp.com>2017-01-18 09:28:34 -0800
commit39199356e9ff3db2cd7851a0e29840f1972fb959 (patch)
tree649b821407c59069d61b092d184215ba8eb247ae
parentcda000f3c3815f1fa5cfd64cec2ca8adfff5d437 (diff)
downloadu-boot-imx-39199356e9ff3db2cd7851a0e29840f1972fb959.zip
u-boot-imx-39199356e9ff3db2cd7851a0e29840f1972fb959.tar.gz
u-boot-imx-39199356e9ff3db2cd7851a0e29840f1972fb959.tar.bz2
SECURE_BOOT: Update bootscript and its hdr addresses
Update bootscript and its hdr addresses for Layerscape Chasis 3 based platforms instead of individual SoCs. Signed-off-by: Sumit Garg <sumit.garg@nxp.com> Signed-off-by: Udit Agarwal <udit.agarwal@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com>
-rw-r--r--arch/arm/include/asm/fsl_secure_boot.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/arm/include/asm/fsl_secure_boot.h b/arch/arm/include/asm/fsl_secure_boot.h
index 4525287..f920215 100644
--- a/arch/arm/include/asm/fsl_secure_boot.h
+++ b/arch/arm/include/asm/fsl_secure_boot.h
@@ -80,18 +80,18 @@
/* Copying Bootscript and Header to DDR from NOR for LS2 and for rest, from
* Non-XIP Memory (Nand/SD)*/
-#if defined(CONFIG_SYS_RAMBOOT) || defined(CONFIG_LS2080A) || \
+#if defined(CONFIG_SYS_RAMBOOT) || defined(CONFIG_FSL_LSCH3) || \
defined(CONFIG_SD_BOOT)
#define CONFIG_BOOTSCRIPT_COPY_RAM
#endif
/* The address needs to be modified according to NOR, NAND, SD and
* DDR memory map
*/
-#ifdef CONFIG_LS2080A
-#define CONFIG_BS_HDR_ADDR_DEVICE 0x583920000
-#define CONFIG_BS_ADDR_DEVICE 0x583900000
-#define CONFIG_BS_HDR_ADDR_RAM 0xa3920000
-#define CONFIG_BS_ADDR_RAM 0xa3900000
+#ifdef CONFIG_FSL_LSCH3
+#define CONFIG_BS_HDR_ADDR_DEVICE 0x580d00000
+#define CONFIG_BS_ADDR_DEVICE 0x580e00000
+#define CONFIG_BS_HDR_ADDR_RAM 0xa0d00000
+#define CONFIG_BS_ADDR_RAM 0xa0e00000
#define CONFIG_BS_HDR_SIZE 0x00002000
#define CONFIG_BS_SIZE 0x00001000
#else