Merge branch 'master' of git://git.denx.de/u-boot-fsl-qoriq
[project/bcm63xx/u-boot.git] / arch / powerpc / cpu / mpc85xx / cpu_init.c
index d51616ba22cfeffbd29afca8df93c8d8e1437aec..80bbc1805fbf0cfbd3b251216c15af8c95711db2 100644 (file)
 #include <asm/fsl_law.h>
 #include <asm/fsl_serdes.h>
 #include <asm/fsl_srio.h>
+#ifdef CONFIG_FSL_CORENET
+#include <asm/fsl_portals.h>
+#include <asm/fsl_liodn.h>
+#endif
 #include <fsl_usb.h>
 #include <hwconfig.h>
 #include <linux/compiler.h>
@@ -791,6 +795,13 @@ int cpu_init_r(void)
                spin_table_compat = 1;
 #endif
 
+#ifdef CONFIG_FSL_CORENET
+       set_liodns();
+#ifdef CONFIG_SYS_DPAA_QBMAN
+       setup_portals();
+#endif
+#endif
+
        l2cache_init();
 #if defined(CONFIG_RAMBOOT_PBL)
        disable_cpc_sram();