]> git.sur5r.net Git - u-boot/commitdiff
armv8/fsl-layerscape: fdt: add fixup for Fman ucode
authorQianyu Gong <qianyu.gong@nxp.com>
Thu, 18 Feb 2016 05:02:02 +0000 (13:02 +0800)
committerYork Sun <york.sun@nxp.com>
Wed, 24 Feb 2016 16:51:14 +0000 (08:51 -0800)
Add fdt fixup to insert Fman firmware into the device tree.

Signed-off-by: Gong Qianyu <Qianyu.Gong@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>
arch/arm/cpu/armv8/fsl-layerscape/fdt.c

index 4e4861d107a0a11f14ca3a4dda73ad551adac6e7..9c18fd7a16f3be2bc8e38b82d6a02c10e12cd2ed 100644 (file)
@@ -14,6 +14,9 @@
 #ifdef CONFIG_FSL_ESDHC
 #include <fsl_esdhc.h>
 #endif
+#ifdef CONFIG_SYS_DPAA_FMAN
+#include <fsl_fman.h>
+#endif
 #ifdef CONFIG_MP
 #include <asm/arch/mp.h>
 #endif
@@ -204,4 +207,8 @@ void ft_cpu_setup(void *blob, bd_t *bd)
 #ifdef CONFIG_FSL_LSCH3
        fdt_fixup_smmu(blob);
 #endif
+
+#ifdef CONFIG_SYS_DPAA_FMAN
+       fdt_fixup_fman_firmware(blob);
+#endif
 }