I managed to solve this issue by studying the changes made in this commit https://source.codeaurora.org/external/imx/uboot-imx/commit/?id=41a325b1e324160b6be96ff54083b655a292...
For my target HW called prototype (based on imx8mn) I had to make these changes:
diff --git a/arch/arm/mach-imx/imx8m/Kconfig b/arch/arm/mach-imx/imx8m/Kconfig
index 9a733ae0d4..0460349dce 100644
--- a/arch/arm/mach-imx/imx8m/Kconfig
+++ b/arch/arm/mach-imx/imx8m/Kconfig
@@ -253,6 +253,10 @@ config TARGET_PROTOTYPE
select IMX8MN
select SUPPORT_SPL
select IMX8M_LPDDR4
+ select FSL_CAAM
+ select FSL_BLOB
+ select MISC
+ select SPL_CRYPTO_SUPPORT if SPL
config TARGET_PHYCORE_IMX8MM
bool "PHYTEC PHYCORE i.MX8MM"diff --git a/board/freescale/prototype/spl.c b/board/freescale/prototype/spl.c
index b5c7f2ad3f..95a904842b 100644
--- a/board/freescale/prototype/spl.c
+++ b/board/freescale/prototype/spl.c
@@ -219,6 +219,14 @@ int power_init_board(void)
void spl_board_init(void)
{
+ struct udevice *dev;
+ uclass_find_first_device(UCLASS_MISC, &dev);
+
+ for (; dev; uclass_find_next_device(&dev)) {
+ if (device_probe(dev))
+ continue;
+ }
+
puts("Normal Boot\n");
}You probably need to make the same changes to the compulab Kconfig target and spl.c