Commit bac8ed98778c93ef43ce9093efa3b9999d650576
Committed by
Ye Li
1 parent
79e90af14a
Exists in
smarc_8mm-imx_v2018.03_4.14.98_2.0.0_ga
and in
5 other branches
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
cmd/Kconfig
... | ... | @@ -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 |
cmd/blob.c
... | ... | @@ -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 |
-
mentioned in commit 2542f1
-
mentioned in commit 2542f1
-
mentioned in commit 704eb6
-
mentioned in commit 704eb6
-
mentioned in commit 704eb6
-
mentioned in commit 704eb6
-
mentioned in commit 2f4da7
-
mentioned in commit 2f4da7
-
mentioned in commit 704eb6
-
mentioned in commit 2f4da7
-
mentioned in commit 2f4da7
-
mentioned in commit 2f4da7
-
mentioned in commit 2f4da7