summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--board/freescale/mx6qarm2/imximage.cfg5
-rw-r--r--include/configs/mx6qarm2.h5
2 files changed, 10 insertions, 0 deletions
diff --git a/board/freescale/mx6qarm2/imximage.cfg b/board/freescale/mx6qarm2/imximage.cfg
index 966ba73..2c35658 100644
--- a/board/freescale/mx6qarm2/imximage.cfg
+++ b/board/freescale/mx6qarm2/imximage.cfg
@@ -44,6 +44,11 @@ BOOT_FROM sd
/*PLUGIN plugin-binary-file IRAM_FREE_START_ADDR*/
PLUGIN board/freescale/mx6qarm2/plugin.bin 0x00907000
#else
+
+#ifdef CONFIG_SECURE_BOOT
+SECURE_BOOT
+#endif
+
/*
* Device Configuration Data (DCD)
*
diff --git a/include/configs/mx6qarm2.h b/include/configs/mx6qarm2.h
index 36315f6..c318057 100644
--- a/include/configs/mx6qarm2.h
+++ b/include/configs/mx6qarm2.h
@@ -29,9 +29,14 @@
#define CONFIG_SYS_PL310_BASE 0x00A02000
#define CONFIG_SYS_CACHELINE_SIZE 32
+#define CONFIG_ARCH_MISC_INIT
+
/* uncomment for PLUGIN mode support */
/* #define CONFIG_USE_PLUGIN */
+/* uncomment for SECURE mode support */
+/* #define CONFIG_SECURE_BOOT */
+
#include "mx6_common.h"
#define CONFIG_DISPLAY_CPUINFO