]> git.sur5r.net Git - u-boot/commitdiff
armv8: SECURE_BOOT: Enable chain of trust on LS1012A platform
authorVinitha Pillai-B57223 <vinitha.pillai@nxp.com>
Thu, 23 Mar 2017 08:18:19 +0000 (13:48 +0530)
committerYork Sun <york.sun@nxp.com>
Mon, 17 Apr 2017 16:03:30 +0000 (09:03 -0700)
Define bootscript and its header addresses for QSPI target
Also add PPA header address in Kconfig

Signed-off-by: Vinitha Pillai <vinitha.pillai@nxp.com>
Signed-off-by: Sumit Garg <sumit.garg@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>
arch/arm/cpu/armv8/fsl-layerscape/Kconfig
arch/arm/include/asm/arch-fsl-layerscape/config.h
arch/arm/include/asm/fsl_secure_boot.h

index f19c1be85ab41e7332364ce184da931e2dc2bca1..9fb76f00ed8dfdb45f794a89a33586b6e5470541 100644 (file)
@@ -177,6 +177,7 @@ config SYS_LS_PPA_ESBC_ADDR
        depends on FSL_LS_PPA && CHAIN_OF_TRUST
        default 0x600c0000 if SYS_LS_PPA_FW_IN_XIP && ARCH_LS1043A
        default 0x40740000 if SYS_LS_PPA_FW_IN_XIP && ARCH_LS1046A
+       default 0x40480000 if SYS_LS_PPA_FW_IN_XIP && ARCH_LS1012A
        default 0x580c40000 if SYS_LS_PPA_FW_IN_XIP && FSL_LSCH3
        help
          If the PPA header firmware locate at XIP flash, such as NOR or
index 1f22afd9e6eec641136d5169f22901df75f7fcee..4db11b646e0d3afd62fcd28b288a7ba0fedf771d 100644 (file)
 #elif defined(CONFIG_ARCH_LS1012A)
 #define GICD_BASE              0x01401000
 #define GICC_BASE              0x01402000
-
+#define CONFIG_SYS_FSL_SFP_VER_3_2
+#define CONFIG_SYS_FSL_SEC_MON_BE
+#define CONFIG_SYS_FSL_SFP_BE
+#define CONFIG_SYS_FSL_SRK_LE
+#define CONFIG_KEY_REVOCATION
+#define CONFIG_SYS_FSL_MAX_NUM_OF_SEC           1
 #define CONFIG_SYS_DDR_BLOCK1_SIZE     ((phys_size_t)2 << 30)
 #define CONFIG_MAX_MEM_MAPPED          CONFIG_SYS_DDR_BLOCK1_SIZE
 
index cbf92fbb7bdaef1875a15fff44ffa35bacf56624..558dc62cc7710a7e117ac72c5eb603fa400a8e41 100644 (file)
@@ -95,6 +95,9 @@
 #ifdef CONFIG_ARCH_LS1046A
 #define CONFIG_BS_HDR_ADDR_DEVICE      0x40780000
 #define CONFIG_BS_ADDR_DEVICE          0x40800000
+#elif defined(CONFIG_ARCH_LS1012A)
+#define CONFIG_BS_HDR_ADDR_DEVICE      0x400c0000
+#define CONFIG_BS_ADDR_DEVICE          0x40060000
 #else
 #error "Platform not supported"
 #endif