From: Marek Vasut Date: Tue, 5 Jul 2016 15:40:27 +0000 (+0200) Subject: powerpc: mpc85xx: Do not build errata command in SPL X-Git-Url: http://git.dujemihanovic.xyz/login.html?a=commitdiff_plain;h=12c67d7522d77c5aa5ee1e5ec4147b569ccb7666;p=u-boot.git powerpc: mpc85xx: Do not build errata command in SPL The errata command is useless in SPL, so don't build it. This fixes multiple build failures on PowerPC. Signed-off-by: Marek Vasut Cc: York Sun Fixes: 92623672f9d3 ("fsl: usb: make errata function common for PPC and ARM") --- diff --git a/arch/powerpc/cpu/mpc85xx/Makefile b/arch/powerpc/cpu/mpc85xx/Makefile index 65c26c093c..f4c4fe2602 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