[U-Boot] [PATCH 2/2] armv8/fsl-layerscape: fdt: add fixup for fman

Scott Wood scott.wood at nxp.com
Thu Jan 21 20:20:03 CET 2016


On 01/21/2016 01:09 AM, Gong Qianyu wrote:
> 1.Add fixup for fman clock.
> 2.Add fdt_fixup_fman_firmware() to insert the Fman ucode firmware into
> the device tree.
> 
> Signed-off-by: Gong Qianyu <Qianyu.Gong at nxp.com>
> ---
>  arch/arm/cpu/armv8/fsl-layerscape/fdt.c | 121 ++++++++++++++++++++++++++++++++
>  1 file changed, 121 insertions(+)
> 
> diff --git a/arch/arm/cpu/armv8/fsl-layerscape/fdt.c b/arch/arm/cpu/armv8/fsl-layerscape/fdt.c
> index 2a3e621..c93aa18 100644
> --- a/arch/arm/cpu/armv8/fsl-layerscape/fdt.c
> +++ b/arch/arm/cpu/armv8/fsl-layerscape/fdt.c
> @@ -19,6 +19,7 @@
>  #ifdef CONFIG_MP
>  #include <asm/arch/mp.h>
>  #endif
> +#include "../../../../../drivers/qe/qe.h"         /* For struct qe_firmware */

Move the header to include/ if it's not private to drivers/qe.

Better yet, don't duplicate these fixups.  Move the existing code out of
arch/powerpc.

-Scott



More information about the U-Boot mailing list