From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gong Qianyu Date: Mon, 25 Jan 2016 19:37:14 +0800 Subject: [U-Boot] [Patch V3 3/3] armv8/fsl-layerscape: fdt: add fixup for Fman ucode In-Reply-To: <1453721834-7772-1-git-send-email-Qianyu.Gong@nxp.com> References: <1453721834-7772-1-git-send-email-Qianyu.Gong@nxp.com> Message-ID: <1453721834-7772-3-git-send-email-Qianyu.Gong@nxp.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Add fdt fixup to insert Fman firmware into the device tree. Signed-off-by: Gong Qianyu --- V3: - Remove fman clock fixup. - Revise commit message too. V2: - Removed the duplicated function. arch/arm/cpu/armv8/fsl-layerscape/fdt.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/cpu/armv8/fsl-layerscape/fdt.c b/arch/arm/cpu/armv8/fsl-layerscape/fdt.c index 4e4861d..9c18fd7 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 #endif +#ifdef CONFIG_SYS_DPAA_FMAN +#include +#endif #ifdef CONFIG_MP #include #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 } -- 2.1.0.27.g96db324