summaryrefslogtreecommitdiff
path: root/arch/arm/mach-imx/mx7ulp
diff options
context:
space:
mode:
authorStefano Babic <sbabic@denx.de>2019-09-20 08:47:53 +0200
committerStefano Babic <sbabic@denx.de>2019-10-08 16:36:37 +0200
commitd714a75fd4dcfb0eb8b7e1dd29f43e07113cec0b (patch)
tree87e607fbc00efbc80e47cc89f0798c268df7a772 /arch/arm/mach-imx/mx7ulp
parentc115cd154c1da885299e461cda93c9fc4edc952d (diff)
downloadu-boot-d714a75fd4dcfb0eb8b7e1dd29f43e07113cec0b.tar.gz
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 'arch/arm/mach-imx/mx7ulp')
-rw-r--r--arch/arm/mach-imx/mx7ulp/clock.c2
-rw-r--r--arch/arm/mach-imx/mx7ulp/soc.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-imx/mx7ulp/clock.c b/arch/arm/mach-imx/mx7ulp/clock.c
index 7bf83170eb..d3365dd411 100644
--- a/arch/arm/mach-imx/mx7ulp/clock.c
+++ b/arch/arm/mach-imx/mx7ulp/clock.c
@@ -314,7 +314,7 @@ void clock_init(void)
enable_usboh3_clk(1);
}
-#ifdef CONFIG_SECURE_BOOT
+#ifdef CONFIG_IMX_HAB
void hab_caam_clock_enable(unsigned char enable)
{
if (enable)
diff --git a/arch/arm/mach-imx/mx7ulp/soc.c b/arch/arm/mach-imx/mx7ulp/soc.c
index 6c53aa106e..127fcfeea1 100644
--- a/arch/arm/mach-imx/mx7ulp/soc.c
+++ b/arch/arm/mach-imx/mx7ulp/soc.c
@@ -11,7 +11,7 @@
static char *get_reset_cause(char *);
-#if defined(CONFIG_SECURE_BOOT)
+#if defined(CONFIG_IMX_HAB)
struct imx_sec_config_fuse_t const imx_sec_config_fuse = {
.bank = 29,
.word = 6,