summaryrefslogtreecommitdiffstats
path: root/arch/arm/cpu/armv8
diff options
context:
space:
mode:
authorQianyu Gong <qianyu.gong@nxp.com>2016-02-18 13:02:02 +0800
committerYork Sun <york.sun@nxp.com>2016-02-24 08:51:14 -0800
commit0e52b6fea15641d01ce130efdde251b072fcd221 (patch)
treea4210510ceb90e3cf5726975d47e41805af785b9 /arch/arm/cpu/armv8
parent6fc9535f397bace13324546f070e40979ac03d13 (diff)
downloadblackbird-obmc-uboot-0e52b6fea15641d01ce130efdde251b072fcd221.tar.gz
blackbird-obmc-uboot-0e52b6fea15641d01ce130efdde251b072fcd221.zip
armv8/fsl-layerscape: fdt: add fixup for Fman ucode
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>
Diffstat (limited to 'arch/arm/cpu/armv8')
-rw-r--r--arch/arm/cpu/armv8/fsl-layerscape/fdt.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/cpu/armv8/fsl-layerscape/fdt.c b/arch/arm/cpu/armv8/fsl-layerscape/fdt.c
index 4e4861d107..9c18fd7a16 100644
--- a/arch/arm/cpu/armv8/fsl-layerscape/fdt.c
+++ b/arch/arm/cpu/armv8/fsl-layerscape/fdt.c
@@ -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
}
OpenPOWER on IntegriCloud