ls102x: Add support for secure boot and enable blob command
authorRuchika Gupta <ruchika.gupta@freescale.com>
Tue, 7 Oct 2014 10:18:47 +0000 (15:48 +0530)
committerYork Sun <yorksun@freescale.com>
Thu, 16 Oct 2014 21:21:26 +0000 (14:21 -0700)
Signed-off-by: Ruchika Gupta <ruchika.gupta@freescale.com>
Reviewed-by: York Sun <yorksun@freescale.com>
board/freescale/ls1021aqds/MAINTAINERS
board/freescale/ls1021atwr/MAINTAINERS
configs/ls1021aqds_nor_SECURE_BOOT_defconfig [new file with mode: 0644]
configs/ls1021atwr_nor_SECURE_BOOT_defconfig [new file with mode: 0644]
include/configs/ls1021aqds.h
include/configs/ls1021atwr.h

index ccf45131b8735da2a8081a6de39ddd1e393a7e54..e30e94471b1d2feb6f3447ed093e606db93ec866 100644 (file)
@@ -5,3 +5,4 @@ F:      board/freescale/ls1021aqds/
 F:     include/configs/ls1021aqds.h
 F:     configs/ls1021aqds_nor_defconfig
 F:     configs/ls1021aqds_ddr4_nor_defconfig
+F:     configs/ls1021aqds_nor_SECURE_BOOT_defconfig
index 4e5bc15a0d6cb61fb43889f270f7f58261688256..8def0e5ac4b8ba0f6f538d40d5b6a2e0fb952d69 100644 (file)
@@ -4,3 +4,4 @@ S:      Maintained
 F:     board/freescale/ls1021atwr/
 F:     include/configs/ls1021atwr.h
 F:     configs/ls1021atwr_nor_defconfig
+F:     configs/ls1021atwr_nor_SECURE_BOOT_defconfig
diff --git a/configs/ls1021aqds_nor_SECURE_BOOT_defconfig b/configs/ls1021aqds_nor_SECURE_BOOT_defconfig
new file mode 100644 (file)
index 0000000..2b47995
--- /dev/null
@@ -0,0 +1,3 @@
+CONFIG_SYS_EXTRA_OPTIONS="SECURE_BOOT"
+CONFIG_ARM=y
+CONFIG_TARGET_LS1021AQDS=y
diff --git a/configs/ls1021atwr_nor_SECURE_BOOT_defconfig b/configs/ls1021atwr_nor_SECURE_BOOT_defconfig
new file mode 100644 (file)
index 0000000..eeeb0d5
--- /dev/null
@@ -0,0 +1,3 @@
+CONFIG_SYS_EXTRA_OPTIONS="SECURE_BOOT"
+CONFIG_ARM=y
+CONFIG_TARGET_LS1021ATWR=y
index 139583fea1fd3ac0b6f7e7f49b87c1671a6addc9..42214262f480fd5ad748a360c2177ce139f8fe9b 100644 (file)
@@ -395,4 +395,8 @@ unsigned long get_board_ddr_clk(void);
 #define CONFIG_CMD_HASH
 #define CONFIG_SHA_HW_ACCEL
 
+#ifdef CONFIG_SECURE_BOOT
+#define CONFIG_CMD_BLOB
+#endif
+
 #endif
index ebe5daef60b405facb7215612c3425fb51c80ace..5868287057399b8c830adfe03124a090493d34d7 100644 (file)
 #define CONFIG_CMD_HASH
 #define CONFIG_SHA_HW_ACCEL
 
+#ifdef CONFIG_SECURE_BOOT
+#define CONFIG_CMD_BLOB
+#endif
+
 #endif