diff options
author | Adrian Alonso <aalonso@freescale.com> | 2015-10-12 13:48:11 -0500 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2015-10-30 15:22:36 +0100 |
commit | f68c61a3da855a1a88a0d7dc0a4dd4f8498365c3 (patch) | |
tree | f5f5839ac702d416e37bcc0b2b396e20a4ec914b | |
parent | 6d846c726b300fcb4e5b9228709e6752459e7553 (diff) | |
download | u-boot-imx-f68c61a3da855a1a88a0d7dc0a4dd4f8498365c3.zip u-boot-imx-f68c61a3da855a1a88a0d7dc0a4dd4f8498365c3.tar.gz u-boot-imx-f68c61a3da855a1a88a0d7dc0a4dd4f8498365c3.tar.bz2 |
imx: hab: add secure boot fuse details
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>
-rw-r--r-- | arch/arm/include/asm/imx-common/hab.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/include/asm/imx-common/hab.h b/arch/arm/include/asm/imx-common/hab.h index af77d45..dab6789 100644 --- a/arch/arm/include/asm/imx-common/hab.h +++ b/arch/arm/include/asm/imx-common/hab.h @@ -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*); |