diff options
author | Aymen Sghaier <aymen.sghaier@nxp.com> | 2021-03-25 17:30:27 +0800 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2021-04-08 09:18:29 +0200 |
commit | 2532429b166246ef82b975435925e2772df3e70b (patch) | |
tree | af5e55fef29d2b1eb9292a7baf7f33801002954a /cmd | |
parent | dde92e2d1501c0f4e7fc04e10b2a9614a1d63e32 (diff) | |
download | u-boot-2532429b166246ef82b975435925e2772df3e70b.tar.gz |
crypto: Add blob command support for i.MX8M platforms
This patch enable blob command for mScale platforms.
Signed-off-by: Aymen Sghaier <aymen.sghaier@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/Kconfig | 4 | ||||
-rw-r--r-- | cmd/blob.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/cmd/Kconfig b/cmd/Kconfig index 10393eea449..c735e81b37a 100644 --- a/cmd/Kconfig +++ b/cmd/Kconfig @@ -1960,8 +1960,8 @@ config CMD_AES config CMD_BLOB bool "Enable the 'blob' command" - depends on !MX6ULL && !MX6SLL && !MX6SL && !IMX8M - select IMX_HAB if ARCH_MX6 || ARCH_MX7 || ARCH_MX7ULP + depends on !MX6ULL && !MX6SLL && !MX6SL + select IMX_HAB if ARCH_MX6 || ARCH_MX7 || ARCH_MX7ULP || ARCH_IMX8M help This is used with the Freescale secure boot mechanism. diff --git a/cmd/blob.c b/cmd/blob.c index 4e244cd126e..887219cc079 100644 --- a/cmd/blob.c +++ b/cmd/blob.c @@ -10,7 +10,7 @@ #include <asm/byteorder.h> #include <linux/compiler.h> #if defined(CONFIG_ARCH_MX6) || defined(CONFIG_ARCH_MX7) || \ - defined(CONFIG_ARCH_MX7ULP) + defined(CONFIG_ARCH_MX7ULP) || defined(CONFIG_ARCH_IMX8M) #include <fsl_sec.h> #include <asm/arch/clock.h> #endif @@ -80,7 +80,7 @@ static int do_blob(struct cmd_tbl *cmdtp, int flag, int argc, dst_ptr = (uint8_t *)(uintptr_t)dst_addr; #if defined(CONFIG_ARCH_MX6) || defined(CONFIG_ARCH_MX7) || \ - defined(CONFIG_ARCH_MX7ULP) + defined(CONFIG_ARCH_MX7ULP) || defined(CONFIG_ARCH_IMX8M) hab_caam_clock_enable(1); |