Commit bac8ed98778c93ef43ce9093efa3b9999d650576

Authored by Aymen Sghaier
Committed by Ye Li
1 parent 79e90af14a

MLK-18044-3: 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>
(cherry picked from commit 895669394f6aae633abf6ea3f327d6093562edde)

Showing 2 changed files with 4 additions and 4 deletions Side-by-side Diff

... ... @@ -1297,8 +1297,8 @@
1297 1297  
1298 1298 config CMD_BLOB
1299 1299 bool "Enable the 'blob' command"
1300   - depends on !MX6ULL && !MX6SLL && !MX6SL && !IMX8M
1301   - select SECURE_BOOT if ARCH_MX6 || ARCH_MX7 || ARCH_MX7ULP
  1300 + depends on !MX6ULL && !MX6SLL && !MX6SL
  1301 + select SECURE_BOOT if ARCH_MX6 || ARCH_MX7 || ARCH_MX7ULP || ARCH_IMX8M
1302 1302 help
1303 1303 This is used with the Freescale secure boot mechanism.
1304 1304  
... ... @@ -12,7 +12,7 @@
12 12 #include <asm/byteorder.h>
13 13 #include <linux/compiler.h>
14 14 #if defined(CONFIG_ARCH_MX6) || defined(CONFIG_ARCH_MX7) || \
15   - defined(CONFIG_ARCH_MX7ULP)
  15 + defined(CONFIG_ARCH_MX7ULP) || defined(CONFIG_ARCH_IMX8M)
16 16 #include <fsl_sec.h>
17 17 #include <asm/arch/clock.h>
18 18 #endif
... ... @@ -83,7 +83,7 @@
83 83 dst_ptr = (uint8_t *)(uintptr_t)dst_addr;
84 84  
85 85 #if defined(CONFIG_ARCH_MX6) || defined(CONFIG_ARCH_MX7) || \
86   - defined(CONFIG_ARCH_MX7ULP)
  86 + defined(CONFIG_ARCH_MX7ULP) || defined(CONFIG_ARCH_IMX8M)
87 87  
88 88 hab_caam_clock_enable(1);
89 89