diff options
author | Ye Li <ye.li@nxp.com> | 2021-03-25 12:30:17 +0300 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2021-04-08 10:18:29 +0300 |
commit | 41b230bf296499982176b60737dccf466e8e8cc5 (patch) | |
tree | dc7e9f33212aa6d5bb06bf9595bb8b803033ca43 /arch/arm/include | |
parent | a30798113c6f5919708cc849798a583d6e5aad53 (diff) | |
download | u-boot-41b230bf296499982176b60737dccf466e8e8cc5.tar.xz |
iMX8M: Add support to enable CONFIG_IMX_HAB
Add some SOC level codes and build configurations to use HAB lib for
CONFIG_IMX_HAB (secure boot), like adding the SEC_CONFIG fuse, enable
fuse driver, CAAM clock function, and add CAAM secure RAM to MMU table.
The FSL_CAAM is temporally not enabled for iMX8M when CONFIG_IMX_HAB is set,
because we don't need the CAAM driver for SPL.
Signed-off-by: Ye Li <ye.li@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Diffstat (limited to 'arch/arm/include')
-rw-r--r-- | arch/arm/include/asm/arch-imx8m/clock.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-imx8m/clock.h b/arch/arm/include/asm/arch-imx8m/clock.h index c545eb82b6..77d9428a18 100644 --- a/arch/arm/include/asm/arch-imx8m/clock.h +++ b/arch/arm/include/asm/arch-imx8m/clock.h @@ -275,3 +275,4 @@ void enable_ocotp_clk(unsigned char enable); int enable_i2c_clk(unsigned char enable, unsigned int i2c_num); int set_clk_enet(enum enet_freq type); int set_clk_eqos(enum enet_freq type); +void hab_caam_clock_enable(unsigned char enable); |