[U-Boot] [PATCH] powerpc: mpc85xx: Do not build errata command in SPL

Marek Vasut marex at denx.de
Tue Jul 5 20:38:33 CEST 2016


On 07/05/2016 08:37 PM, Marek Vasut wrote:
> The errata command is useless in SPL, so don't build it. This fixes
> multiple build failures on PowerPC.
>
> Signed-off-by: Marek Vasut <marex at denx.de>
> Cc: York Sun <york.sun at nxp.com>
> Fixes: 92623672f9d3 ("fsl: usb: make errata function common for PPC and ARM")

Since 2016.07 is very close and I don't see any other real solution, 
applied.

> ---
>  arch/powerpc/cpu/mpc85xx/Makefile | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/arch/powerpc/cpu/mpc85xx/Makefile b/arch/powerpc/cpu/mpc85xx/Makefile
> index 65c26c0..f4c4fe2 100644
> --- a/arch/powerpc/cpu/mpc85xx/Makefile
> +++ b/arch/powerpc/cpu/mpc85xx/Makefile
> @@ -26,7 +26,9 @@ else
>
>  obj-$(CONFIG_MP)	+= release.o
>
> +ifndef CONFIG_SPL_BUILD
>  obj-$(CONFIG_CMD_ERRATA) += cmd_errata.o
> +endif
>  obj-$(CONFIG_CPM2)	+= commproc.o
>
>  obj-$(CONFIG_CPM2)	+= ether_fcc.o
>


-- 
Best regards,
Marek Vasut


More information about the U-Boot mailing list