summaryrefslogtreecommitdiffstats
path: root/board/freescale/ls1043aqds
diff options
context:
space:
mode:
authorLaurentiu Tudor <laurentiu.tudor@nxp.com>2018-08-27 17:33:59 +0300
committerYork Sun <york.sun@nxp.com>2018-09-27 08:58:15 -0700
commitdc29a4c1773f7cebacb91dd076bc4293eb065d48 (patch)
tree45b16fb02acf1b674b8feeb1cced01181ee72f1e /board/freescale/ls1043aqds
parent21310793566471758afb24ffb2ad9590f5773670 (diff)
downloadu-boot-dc29a4c1773f7cebacb91dd076bc4293eb065d48.tar.gz
u-boot-dc29a4c1773f7cebacb91dd076bc4293eb065d48.tar.xz
u-boot-dc29a4c1773f7cebacb91dd076bc4293eb065d48.zip
armv8: ls1043a: add icid setup support
Reuse the existing ICID setup code done for LS1046A smmu enablement and add the equivalent setup for LS1043A chips. Signed-off-by: Laurentiu Tudor <laurentiu.tudor@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com>
Diffstat (limited to 'board/freescale/ls1043aqds')
-rw-r--r--board/freescale/ls1043aqds/ls1043aqds.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/board/freescale/ls1043aqds/ls1043aqds.c b/board/freescale/ls1043aqds/ls1043aqds.c
index 4fba57242b..44cc509b53 100644
--- a/board/freescale/ls1043aqds/ls1043aqds.c
+++ b/board/freescale/ls1043aqds/ls1043aqds.c
@@ -14,6 +14,7 @@
#include <asm/arch/fdt.h>
#include <asm/arch/mmu.h>
#include <asm/arch/soc.h>
+#include <asm/arch-fsl-layerscape/fsl_icid.h>
#include <ahci.h>
#include <hwconfig.h>
#include <mmc.h>
@@ -353,6 +354,8 @@ int ft_board_setup(void *blob, bd_t *bd)
fdt_fixup_board_enet(blob);
#endif
+ fdt_fixup_icid(blob);
+
reg = QIXIS_READ(brdcfg[0]);
reg = (reg & QIXIS_LBMAP_MASK) >> QIXIS_LBMAP_SHIFT;