]> git.sur5r.net Git - u-boot/commitdiff
imx: hab: add secure boot fuse details
authorAdrian Alonso <aalonso@freescale.com>
Mon, 12 Oct 2015 18:48:11 +0000 (13:48 -0500)
committerStefano Babic <sbabic@denx.de>
Fri, 30 Oct 2015 14:22:36 +0000 (15:22 +0100)
Add secure boot fuse helper struct to abstract the way
to find out secure boot settings per SoC iMX family

Signed-off-by: Adrian Alonso <aalonso@freescale.com>
arch/arm/include/asm/imx-common/hab.h

index af77d45b6c2e91f08c4ab2c845fc93da548e03f7..dab6789b1012bc832f87a314279a1f3dd98ddbc3 100644 (file)
@@ -85,6 +85,15 @@ enum hab_context {
        HAB_CTX_MAX
 };
 
+struct imx_sec_config_fuse_t {
+       int bank;
+       int word;
+};
+
+#if defined(CONFIG_SECURE_BOOT)
+extern struct imx_sec_config_fuse_t const imx_sec_config_fuse;
+#endif
+
 /*Function prototype description*/
 typedef enum hab_status hab_rvt_report_event_t(enum hab_status, uint32_t,
                uint8_t* , size_t*);