summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Alonso <aalonso@freescale.com>2015-10-12 13:48:16 -0500
committerStefano Babic <sbabic@denx.de>2015-10-30 15:22:37 +0100
commit78e9ca52edaab74ad645d719676ff4c24d2f462c (patch)
tree6e87fe605e95b5b4da4bc3cd6d886e5bc4e3a14e
parentee3899aa6c938f950a66024f1a451f3219ed85ec (diff)
downloadu-boot-imx-78e9ca52edaab74ad645d719676ff4c24d2f462c.zip
u-boot-imx-78e9ca52edaab74ad645d719676ff4c24d2f462c.tar.gz
u-boot-imx-78e9ca52edaab74ad645d719676ff4c24d2f462c.tar.bz2
mx7dsabresd: add secure boot support
Add secure boot support for mx7dsabresd target board Signed-off-by: Adrian Alonso <aalonso@freescale.com>
-rw-r--r--board/freescale/mx7dsabresd/imximage.cfg7
-rw-r--r--include/configs/mx7dsabresd.h4
2 files changed, 11 insertions, 0 deletions
diff --git a/board/freescale/mx7dsabresd/imximage.cfg b/board/freescale/mx7dsabresd/imximage.cfg
index 91b70ee..76574ff 100644
--- a/board/freescale/mx7dsabresd/imximage.cfg
+++ b/board/freescale/mx7dsabresd/imximage.cfg
@@ -23,6 +23,13 @@ IMAGE_VERSION 2
BOOT_FROM sd
/*
+ * Secure boot support
+ */
+#ifdef CONFIG_SECURE_BOOT
+CSF CONFIG_CSF_SIZE
+#endif
+
+/*
* Device Configuration Data (DCD)
*
* Each entry must have the format:
diff --git a/include/configs/mx7dsabresd.h b/include/configs/mx7dsabresd.h
index f16f9c1..eb45d50 100644
--- a/include/configs/mx7dsabresd.h
+++ b/include/configs/mx7dsabresd.h
@@ -14,6 +14,10 @@
#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