Commit 704eb656fa3db1cb6b02182b87ef9c59674166f7
Committed by
Ye Li
1 parent
e880f881aa
Exists in
smarc_8mq-imx_v2020.04_5.4.24_2.1.0
and in
3 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) (cherry picked from commit bac8ed98778c93ef43ce9093efa3b9999d650576) (cherry picked from commit 2542f195b484dcd09bbf72406c7951bee06b52a5)
Showing 2 changed files with 4 additions and 4 deletions Side-by-side Diff
cmd/Kconfig
... | ... | @@ -1818,8 +1818,8 @@ |
1818 | 1818 | |
1819 | 1819 | config CMD_BLOB |
1820 | 1820 | bool "Enable the 'blob' command" |
1821 | - depends on !MX6ULL && !MX6SLL && !MX6SL && !IMX8M | |
1822 | - select IMX_HAB if ARCH_MX6 || ARCH_MX7 || ARCH_MX7ULP | |
1821 | + depends on !MX6ULL && !MX6SLL && !MX6SL | |
1822 | + select IMX_HAB if ARCH_MX6 || ARCH_MX7 || ARCH_MX7ULP || ARCH_IMX8M | |
1823 | 1823 | help |
1824 | 1824 | This is used with the Freescale secure boot mechanism. |
1825 | 1825 |
cmd/blob.c
... | ... | @@ -10,7 +10,7 @@ |
10 | 10 | #include <asm/byteorder.h> |
11 | 11 | #include <linux/compiler.h> |
12 | 12 | #if defined(CONFIG_ARCH_MX6) || defined(CONFIG_ARCH_MX7) || \ |
13 | - defined(CONFIG_ARCH_MX7ULP) | |
13 | + defined(CONFIG_ARCH_MX7ULP) || defined(CONFIG_ARCH_IMX8M) | |
14 | 14 | #include <fsl_sec.h> |
15 | 15 | #include <asm/arch/clock.h> |
16 | 16 | #endif |
... | ... | @@ -79,7 +79,7 @@ |
79 | 79 | dst_ptr = (uint8_t *)(uintptr_t)dst_addr; |
80 | 80 | |
81 | 81 | #if defined(CONFIG_ARCH_MX6) || defined(CONFIG_ARCH_MX7) || \ |
82 | - defined(CONFIG_ARCH_MX7ULP) | |
82 | + defined(CONFIG_ARCH_MX7ULP) || defined(CONFIG_ARCH_IMX8M) | |
83 | 83 | |
84 | 84 | hab_caam_clock_enable(1); |
85 | 85 |