diff options
author | Ye.Li <B37916@freescale.com> | 2014-06-18 15:58:45 +0800 |
---|---|---|
committer | Ye.Li <B37916@freescale.com> | 2014-06-18 16:10:38 +0800 |
commit | aae37d2a29181e98c20058c80769b0f2eb49157f (patch) | |
tree | 6f94cb68146b632af00293a6a26052dfbad3a24c /arch/arm/include/asm/arch-mx6/hab.h | |
parent | a106f8c3feb8172f7ee0cc68be5e17ea0d5684e6 (diff) | |
download | u-boot-imx-aae37d2a29181e98c20058c80769b0f2eb49157f.zip u-boot-imx-aae37d2a29181e98c20058c80769b0f2eb49157f.tar.gz u-boot-imx-aae37d2a29181e98c20058c80769b0f2eb49157f.tar.bz2 |
ENGR00319003 iMX6SX:HAB: Fixed build break when enabling secure boot
When enabling "CONFIG_SECURE_BOOT", the build broken on iMX6SX platform
due to two problems.
1. The imximage tool in v2014 changes the command name of "SECURE_BOOT"
to "CSF". Must update it in imximage.cfg scripts.
2. The iMX6SX uses "CONFIG_ROM_UNIFIED_SECTIONS", but some HAB API
definitions are not defined and cause compile errors.
(HAB_RVT_REPORT_EVENT_NEW, HAB_RVT_REPORT_STATUS_NEW,
HAB_RVT_AUTHENTICATE_IMAGE_NEW, HAB_RVT_ENTRY_NEW, HAB_RVT_EXIT_NEW)
Signed-off-by: Ye.Li <B37916@freescale.com>
Diffstat (limited to 'arch/arm/include/asm/arch-mx6/hab.h')
-rw-r--r-- | arch/arm/include/asm/arch-mx6/hab.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/include/asm/arch-mx6/hab.h b/arch/arm/include/asm/arch-mx6/hab.h index dc0f4ca..2cd402b 100644 --- a/arch/arm/include/asm/arch-mx6/hab.h +++ b/arch/arm/include/asm/arch-mx6/hab.h @@ -70,6 +70,8 @@ typedef void hapi_clock_init_t(void); #define HAB_RVT_ENTRY (*(uint32_t *) 0x00000098) #define HAB_RVT_EXIT (*(uint32_t *) 0x0000009C) +#endif + #define HAB_RVT_REPORT_EVENT_NEW (*(uint32_t *) 0x000000B8) #define HAB_RVT_REPORT_STATUS_NEW (*(uint32_t *) 0x000000BC) #define HAB_RVT_AUTHENTICATE_IMAGE_NEW (*(uint32_t *) 0x000000A8) @@ -78,8 +80,6 @@ typedef void hapi_clock_init_t(void); #define HAB_RVT_CLOCK_INIT ((hapi_clock_init_t *)0x0000024D) -#endif - #define HAB_CID_ROM 0 /**< ROM Caller ID */ #define HAB_CID_UBOOT 1 /**< UBOOT Caller ID*/ /* ----------- end of HAB API updates ------------*/ |