]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: imx: add secure boot fuse details for imx6 SoC
authorAdrian Alonso <aalonso@freescale.com>
Mon, 12 Oct 2015 18:48:12 +0000 (13:48 -0500)
committerStefano Babic <sbabic@denx.de>
Fri, 30 Oct 2015 14:22:36 +0000 (15:22 +0100)
Add secure boot fuse details (location) bank = 0, word = 6;
for imx6 SoC platforms.

Signed-off-by: Adrian Alonso <aalonso@freescale.com>
arch/arm/cpu/armv7/mx6/soc.c

index 282302b1fc15a1224db191608106dec7f8f59596..d545021259fd993b2a2d2ffb53ea6ec3f7c1b288 100644 (file)
@@ -15,6 +15,7 @@
 #include <asm/arch/sys_proto.h>
 #include <asm/imx-common/boot_mode.h>
 #include <asm/imx-common/dma.h>
+#include <asm/imx-common/hab.h>
 #include <stdbool.h>
 #include <asm/arch/mxc_hdmi.h>
 #include <asm/arch/crm_regs.h>
@@ -48,6 +49,13 @@ U_BOOT_DEVICE(imx6_thermal) = {
 };
 #endif
 
+#if defined(CONFIG_SECURE_BOOT)
+struct imx_sec_config_fuse_t const imx_sec_config_fuse = {
+       .bank = 0,
+       .word = 6,
+};
+#endif
+
 u32 get_nr_cpus(void)
 {
        struct scu_regs *scu = (struct scu_regs *)SCU_BASE_ADDR;