Ed, This was broken after a USB patch. Sriram Dash is working on a fix.
York -------- Original Message -------- From: Ed Swarthout <ed.swarth...@nxp.com> Sent: Friday, July 1, 2016 07:16 PM To: york sun <york....@nxp.com> Subject: [PATCH] mpc85xx: do not include cmd_errata in SPL_BUILD CC: u-boot@lists.denx.de,Edward L Swarthout <ed.swarth...@nxp.com> Fixes build breaks for T4240QDS_SDCARD and T4240QDS_NAND: arch/powerpc/cpu/mpc85xx/built-in.o: In function `do_errata': /home/swarthou/bsp/stash/u-boot-devel/arch/powerpc/cpu/mpc85xx/cmd_errata.c:299: undefined reference to `has_erratum_a007798' /home/swarthou/bsp/stash/u-boot-devel/arch/powerpc/cpu/mpc85xx/cmd_errata.c:312: undefined reference to `has_erratum_a006261' /home/swarthou/bsp/stash/u-boot-devel/scripts/Makefile.spl:251: recipe for target 'spl/u-boot-spl' failed make[2]: *** [spl/u-boot-spl] Error 1 /home/swarthou/bsp/stash/u-boot-devel/Makefile:1322: recipe for target 'spl/u-boot-spl' failed Signed-off-by: Ed Swarthout <ed.swarth...@nxp.com> --- This applies to denx/master. If there is a reason why cmd_errata is needed in SPL, a different fix would be needed... arch/powerpc/cpu/mpc85xx/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/powerpc/cpu/mpc85xx/Makefile b/arch/powerpc/cpu/mpc85xx/Makefile index 65c26c0..5e7b130 100644 --- a/arch/powerpc/cpu/mpc85xx/Makefile +++ b/arch/powerpc/cpu/mpc85xx/Makefile @@ -14,6 +14,8 @@ ifdef CONFIG_SPL_BUILD ifdef CONFIG_SPL_INIT_MINIMAL MINIMAL=y endif +else +obj-$(CONFIG_CMD_ERRATA) += cmd_errata.o endif extra-y = start.o resetvec.o @@ -26,7 +28,6 @@ else obj-$(CONFIG_MP) += release.o -obj-$(CONFIG_CMD_ERRATA) += cmd_errata.o obj-$(CONFIG_CPM2) += commproc.o obj-$(CONFIG_CPM2) += ether_fcc.o -- 2.5.0 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot