Commit 78a1f0387685042d63b33f45ba6d35d2841d6f2b

Authored by Franck LENORMAND
Committed by Ye Li
1 parent a7d862eed3

MLK-18043 4/4: imx7ulp: Enable support for cmd blob

Signed-off-by: Franck LENORMAND <franck.lenormand@nxp.com>
(cherry picked from commit 03cb71cd22ff6ab1e2005a4bcb183c65f49b6e4e)
(cherry picked from commit 5d797db35da7fa3f7971df8811b6a1e800786ced)
(cherry picked from commit dd2e4b027122aa6724985f23319bebd89dfc1f39)

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

... ... @@ -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 && !MX7ULP
1822   - select IMX_HAB if ARCH_MX6 || ARCH_MX7
  1821 + depends on !MX6ULL && !MX6SLL && !MX6SL && !IMX8M
  1822 + select IMX_HAB if ARCH_MX6 || ARCH_MX7 || ARCH_MX7ULP
1823 1823 help
1824 1824 This is used with the Freescale secure boot mechanism.
1825 1825  
... ... @@ -9,7 +9,8 @@
9 9 #include <malloc.h>
10 10 #include <asm/byteorder.h>
11 11 #include <linux/compiler.h>
12   -#if defined(CONFIG_ARCH_MX6) || defined(CONFIG_ARCH_MX7)
  12 +#if defined(CONFIG_ARCH_MX6) || defined(CONFIG_ARCH_MX7) || \
  13 + defined(CONFIG_ARCH_MX7ULP)
13 14 #include <fsl_sec.h>
14 15 #include <asm/arch/clock.h>
15 16 #endif
... ... @@ -77,7 +78,8 @@
77 78 src_ptr = (uint8_t *)(uintptr_t)src_addr;
78 79 dst_ptr = (uint8_t *)(uintptr_t)dst_addr;
79 80  
80   -#if defined(CONFIG_ARCH_MX6) || defined(CONFIG_ARCH_MX7)
  81 +#if defined(CONFIG_ARCH_MX6) || defined(CONFIG_ARCH_MX7) || \
  82 + defined(CONFIG_ARCH_MX7ULP)
81 83  
82 84 hab_caam_clock_enable(1);
83 85