summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2016-07-05 17:40:27 +0200
committerMarek Vasut <marex@denx.de>2016-07-05 17:40:28 +0200
commit12c67d7522d77c5aa5ee1e5ec4147b569ccb7666 (patch)
tree32b9220c6d62c9fb4ba5a40ede25362ee21e7fb5 /arch
parente6e188f5623e3db7fcba785f4246d16425dd2104 (diff)
downloadtalos-obmc-uboot-12c67d7522d77c5aa5ee1e5ec4147b569ccb7666.tar.gz
talos-obmc-uboot-12c67d7522d77c5aa5ee1e5ec4147b569ccb7666.zip
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 <marex@denx.de> Cc: York Sun <york.sun@nxp.com> Fixes: 92623672f9d3 ("fsl: usb: make errata function common for PPC and ARM")
Diffstat (limited to 'arch')
-rw-r--r--arch/powerpc/cpu/mpc85xx/Makefile2
1 files changed, 2 insertions, 0 deletions
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
OpenPOWER on IntegriCloud