summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorMateus Lima Alves <[email protected]>2026-01-26 13:05:19 -0300
committerPeng Fan <[email protected]>2026-01-28 14:26:50 +0800
commit424b324165ea0343598c5a8b52591ea504dcde52 (patch)
tree17dd60dfc7012fdeefe4c63bda6b64a108b4bccf /board
parent431f1ce46bbffff0db8f03437a34400b11b30175 (diff)
armv7: Add CPLD support via IFC to the ls1021a-iot board.
This patch adds CPLD support via IFC to the ls1021a-iot board. Signed-off-by: Mateus Lima Alves <[email protected]>
Diffstat (limited to 'board')
-rw-r--r--board/freescale/ls1021aiot/ls1021aiot.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/board/freescale/ls1021aiot/ls1021aiot.c b/board/freescale/ls1021aiot/ls1021aiot.c
index 4eff0a3fee0..52a3c3abdb4 100644
--- a/board/freescale/ls1021aiot/ls1021aiot.c
+++ b/board/freescale/ls1021aiot/ls1021aiot.c
@@ -21,6 +21,7 @@
#include <asm/sections.h>
#include <fsl_csu.h>
#include <fsl_immap.h>
+#include <fsl_ifc.h>
#include <netdev.h>
#include <fsl_mdio.h>
#include <tsec.h>
@@ -120,6 +121,10 @@ int board_early_init_f(void)
#endif
+#ifdef CONFIG_FSL_IFC
+ init_early_memctl_regs();
+#endif
+
arch_soc_init();
return 0;