mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-28 15:40:29 +09:00
imx7ulp: Enable support for cmd blob
Signed-off-by: Franck LENORMAND <franck.lenormand@nxp.com> Signed-off-by: Peng Fan <peng.fan@nxp.com>
This commit is contained in:
parent
3a1d8e3e20
commit
54ae810b4a
@ -1960,8 +1960,8 @@ config CMD_AES
|
|||||||
|
|
||||||
config CMD_BLOB
|
config CMD_BLOB
|
||||||
bool "Enable the 'blob' command"
|
bool "Enable the 'blob' command"
|
||||||
depends on !MX6ULL && !MX6SLL && !MX6SL && !IMX8M && !MX7ULP
|
depends on !MX6ULL && !MX6SLL && !MX6SL && !IMX8M
|
||||||
select IMX_HAB if ARCH_MX6 || ARCH_MX7
|
select IMX_HAB if ARCH_MX6 || ARCH_MX7 || ARCH_MX7ULP
|
||||||
help
|
help
|
||||||
This is used with the Freescale secure boot mechanism.
|
This is used with the Freescale secure boot mechanism.
|
||||||
|
|
||||||
|
@ -9,7 +9,8 @@
|
|||||||
#include <malloc.h>
|
#include <malloc.h>
|
||||||
#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)
|
||||||
#include <fsl_sec.h>
|
#include <fsl_sec.h>
|
||||||
#include <asm/arch/clock.h>
|
#include <asm/arch/clock.h>
|
||||||
#endif
|
#endif
|
||||||
@ -78,7 +79,8 @@ static int do_blob(struct cmd_tbl *cmdtp, int flag, int argc,
|
|||||||
src_ptr = (uint8_t *)(uintptr_t)src_addr;
|
src_ptr = (uint8_t *)(uintptr_t)src_addr;
|
||||||
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)
|
||||||
|
|
||||||
hab_caam_clock_enable(1);
|
hab_caam_clock_enable(1);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user