Skip to contentSkip to conversation

ARM: imx: Enable CAAM on Data Modul i.MX8M Mini/Plus eDM SBC

PATCH In review Marek Vasut 2 participants 3 messages Dec 2, 2023 – Dec 15, 2023 Arm i.MX and Layerscape

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: imx: Enable CAAM on Data Modul i.MX8M Mini/Plus eDM SBC

Enable CAAM in U-Boot to make crypto available early in the boot process.

This has a side-effect that in case an older kernel version contains a broken CAAM initialization timeout code, initialization in bootloader will help that old kernel version function correctly.

---
Cc: "NXP i.MX U-Boot Team" <[email protected]>
Cc: Fabio Estevam <[email protected]>
Cc: Stefano Babic <[email protected]>

---
 configs/imx8mm_data_modul_edm_sbc_defconfig | 1 +
 configs/imx8mp_data_modul_edm_sbc_defconfig | 1 +
 2 files changed, 2 insertions(+)
configs/imx8mm_data_modul_edm_sbc_defconfig +1 -0
index e724607c6ee..06e10869bc1 100644
@@ -157,6 +157,7 @@ CONFIG_SPL_CLK_COMPOSITE_CCF=y
 CONFIG_CLK_COMPOSITE_CCF=y
 CONFIG_SPL_CLK_IMX8MM=y
 CONFIG_CLK_IMX8MM=y
+CONFIG_FSL_CAAM=y
 CONFIG_DFU_TFTP=y
 CONFIG_DFU_TIMEOUT=y
 CONFIG_DFU_MMC=y
configs/imx8mp_data_modul_edm_sbc_defconfig +1 -0
index ae1a48c6812..30f8636f4d5 100644
@@ -164,6 +164,7 @@ CONFIG_SPL_CLK_COMPOSITE_CCF=y
 CONFIG_CLK_COMPOSITE_CCF=y
 CONFIG_SPL_CLK_IMX8MP=y
 CONFIG_CLK_IMX8MP=y
+CONFIG_FSL_CAAM=y
 CONFIG_DFU_TFTP=y
 CONFIG_DFU_TIMEOUT=y
 CONFIG_DFU_MMC=y
Signature · 1 line
2.42.0
reviewer Reviewed-by on v1 1/1
#1 lore raw
Quoted 8 lines · Marek Vasut

Enable CAAM in U-Boot to make crypto available early in the boot process.

This has a side-effect that in case an older kernel version contains a broken CAAM initialization timeout code, initialization in bootloader will help that old kernel version function correctly.

reviewer
#2 lore raw
In reply to Marek Vasut
Quoted 8 lines · Marek Vasut

Enable CAAM in U-Boot to make crypto available early in the boot process.

This has a side-effect that in case an older kernel version contains a broken CAAM initialization timeout code, initialization in bootloader will help that old kernel version function correctly.

Applied to u-boot-imx master, thanks.