mx7dsabresd: add secure boot support
authorAdrian Alonso <aalonso@freescale.com>
Mon, 12 Oct 2015 18:48:16 +0000 (13:48 -0500)
committerStefano Babic <sbabic@denx.de>
Fri, 30 Oct 2015 14:22:37 +0000 (15:22 +0100)
Add secure boot support for mx7dsabresd target board

Signed-off-by: Adrian Alonso <aalonso@freescale.com>
board/freescale/mx7dsabresd/imximage.cfg
include/configs/mx7dsabresd.h

index 91b70ee4c81faade72f64514dc189b3d1bc0790d..76574ff506b472d0e0dd11cbdb1a1f69269d0204 100644 (file)
@@ -22,6 +22,13 @@ IMAGE_VERSION 2
 
 BOOT_FROM      sd
 
+/*
+ * Secure boot support
+ */
+#ifdef CONFIG_SECURE_BOOT
+CSF CONFIG_CSF_SIZE
+#endif
+
 /*
  * Device Configuration Data (DCD)
  *
index f16f9c1271eb214ea76cb0ff10989ae59c106244..eb45d50de14ab6997b232ed99d89553bd42ef2a9 100644 (file)
 #define CONFIG_DBG_MONITOR
 #define PHYS_SDRAM_SIZE                        SZ_1G
 
+/* Uncomment to enable secure boot support */
+/* #define CONFIG_SECURE_BOOT */
+#define CONFIG_CSF_SIZE                        0x4000
+
 /* Network */
 #define CONFIG_CMD_MII
 #define CONFIG_FEC_MXC