summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-imx
diff options
context:
space:
mode:
authorRouven Czerwinski <r.czerwinski@pengutronix.de>2020-05-28 14:56:11 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2020-06-02 08:23:38 +0200
commit2cfe2274f3476784c6441fe06b566238b3b75b75 (patch)
treef098e5649f43c932b1045c355bdcd8d0d95bc920 /arch/arm/mach-imx
parentc10b20dc83ac25b1d81c39eaad4529d9911813b1 (diff)
downloadbarebox-2cfe2274f3476784c6441fe06b566238b3b75b75.tar.gz
barebox-2cfe2274f3476784c6441fe06b566238b3b75b75.tar.xz
ARM: i.MX: enable Master Identifier Unlock
By default the HAB locks the Master Identifier (MID) to preconfigured values. This is not a problem if Linux is running in the secure world, however when running a secure world operating system such as OP-TEE, the MID configuration should be done by the secure world operating system. This causes no regressions for systems using no secure world operating systems, since no MID value indicates that all normal/secure world entities can access the peripherals supporting the MID. Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-imx')
-rw-r--r--arch/arm/mach-imx/include/mach/habv4-imx6-gencsf.h2
-rw-r--r--arch/arm/mach-imx/include/mach/habv4-imx8-gencsf.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-imx/include/mach/habv4-imx6-gencsf.h b/arch/arm/mach-imx/include/mach/habv4-imx6-gencsf.h
index 2961b97b79..17c4d79567 100644
--- a/arch/arm/mach-imx/include/mach/habv4-imx6-gencsf.h
+++ b/arch/arm/mach-imx/include/mach/habv4-imx6-gencsf.h
@@ -29,7 +29,7 @@ hab [Authenticate CSF]
hab [Unlock]
hab Engine = CAAM
-hab Features = RNG
+hab Features = RNG, MID
hab [Install Key]
/* verification key index in key store (0, 2...4) */
diff --git a/arch/arm/mach-imx/include/mach/habv4-imx8-gencsf.h b/arch/arm/mach-imx/include/mach/habv4-imx8-gencsf.h
index 9ed6893988..a3917cc74f 100644
--- a/arch/arm/mach-imx/include/mach/habv4-imx8-gencsf.h
+++ b/arch/arm/mach-imx/include/mach/habv4-imx8-gencsf.h
@@ -29,7 +29,7 @@ hab [Authenticate CSF]
hab [Unlock]
hab Engine = CAAM
-hab Features = RNG
+hab Features = RNG, MID
hab [Install Key]
/* verification key index in key store (0, 2...4) */