diff options
author | Stefano Babic <sbabic@denx.de> | 2019-09-20 08:47:53 +0200 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2019-10-08 16:36:37 +0200 |
commit | d714a75fd4dcfb0eb8b7e1dd29f43e07113cec0b (patch) | |
tree | 87e607fbc00efbc80e47cc89f0798c268df7a772 /board/warp7 | |
parent | c115cd154c1da885299e461cda93c9fc4edc952d (diff) |
imx: replace CONFIG_SECURE_BOOT with CONFIG_IMX_HAB
CONFIG_SECURE_BOOT is too generic and forbids to use it for cross
architecture purposes. If Secure Boot is required for imx, this means to
enable and use the HAB processor in the soc.
Signed-off-by: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'board/warp7')
-rw-r--r-- | board/warp7/imximage.cfg | 2 | ||||
-rw-r--r-- | board/warp7/warp7.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/board/warp7/imximage.cfg b/board/warp7/imximage.cfg index a6edfdacef..a4c2f677a1 100644 --- a/board/warp7/imximage.cfg +++ b/board/warp7/imximage.cfg @@ -12,7 +12,7 @@ #include <config.h> IMAGE_VERSION 2 -#ifdef CONFIG_SECURE_BOOT +#ifdef CONFIG_IMX_HAB CSF CONFIG_CSF_SIZE #endif diff --git a/board/warp7/warp7.c b/board/warp7/warp7.c index 39ae982257..c423e049cb 100644 --- a/board/warp7/warp7.c +++ b/board/warp7/warp7.c @@ -146,7 +146,7 @@ int board_late_init(void) */ clrsetbits_le16(&wdog->wcr, 0, 0x10); -#ifdef CONFIG_SECURE_BOOT +#ifdef CONFIG_IMX_HAB /* Determine HAB state */ env_set_ulong(HAB_ENABLED_ENVNAME, imx_hab_is_enabled()); #else |