SECURE_BOOT: Update bootscript and its hdr addresses
authorUdit Agarwal <udit.agarwal@nxp.com>
Fri, 6 Jan 2017 10:28:56 +0000 (15:58 +0530)
committerYork Sun <york.sun@nxp.com>
Wed, 18 Jan 2017 17:28:34 +0000 (09:28 -0800)
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>
arch/arm/include/asm/fsl_secure_boot.h

index 4525287f664a08290d9b97cf27fbebefbcbb8228..f920215d015849f850efd34320855090cd405145 100644 (file)
 
 /* 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