Commit 89566939 authored by Aymen Sghaier's avatar Aymen Sghaier

MLK-18044-3: crypto: Add blob command support for i.MX8M platforms

 This patch enable blob command for mScale platforms.
Signed-off-by: default avatarAymen Sghaier <aymen.sghaier@nxp.com>
parent d02fbc7d
...@@ -743,8 +743,8 @@ menu "Security commands" ...@@ -743,8 +743,8 @@ menu "Security commands"
config CMD_BLOB config CMD_BLOB
bool "Enable the 'blob' command" bool "Enable the 'blob' command"
depends on !MX6ULL && !MX6SLL && !MX6SL && !IMX8M depends on !MX6ULL && !MX6SLL && !MX6SL
select SECURE_BOOT if ARCH_MX6 || ARCH_MX7 || ARCH_MX7ULP select SECURE_BOOT if ARCH_MX6 || ARCH_MX7 || ARCH_MX7ULP || ARCH_IMX8M
help help
This is used with the Freescale secure boot mechanism. This is used with the Freescale secure boot mechanism.
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
#include <asm/byteorder.h> #include <asm/byteorder.h>
#include <linux/compiler.h> #include <linux/compiler.h>
#if defined(CONFIG_ARCH_MX6) || defined(CONFIG_ARCH_MX7) || \ #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 <fsl_sec.h>
#include <asm/arch/clock.h> #include <asm/arch/clock.h>
#endif #endif
...@@ -83,7 +83,7 @@ static int do_blob(cmd_tbl_t *cmdtp, int flag, int argc, char *const argv[]) ...@@ -83,7 +83,7 @@ static int do_blob(cmd_tbl_t *cmdtp, int flag, int argc, char *const argv[])
dst_ptr = (uint8_t *)(uintptr_t)dst_addr; dst_ptr = (uint8_t *)(uintptr_t)dst_addr;
#if defined(CONFIG_ARCH_MX6) || defined(CONFIG_ARCH_MX7) || \ #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); hab_caam_clock_enable(1);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment