summaryrefslogtreecommitdiff
path: root/board/karo/tx25/Makefile
diff options
context:
space:
mode:
authorBenoît Thébaudeau <benoit.thebaudeau@advansee.com>2013-04-11 09:35:51 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2013-04-12 07:55:07 +0200
commitda962b71758d52b38a4ed89380d296ed25920d18 (patch)
tree414567a20230b6476d0c7c316e02abfc403c70f1 /board/karo/tx25/Makefile
parent8b7cd098ddd130c0dc0d8a3820c3c592978aa9d3 (diff)
nand: mxc: Switch NAND SPL to generic SPL
This also fixes support for mx31pdk and tx25, which had been broken by commit e05e5de7fae5bec79617e113916dac6631251156. Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com> Acked-by: Scott Wood <scottwood@freescale.com> Tested-by: Fabio Estevam <fabio.estevam@freescale.com>
Diffstat (limited to 'board/karo/tx25/Makefile')
-rw-r--r--board/karo/tx25/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/board/karo/tx25/Makefile b/board/karo/tx25/Makefile
index 9617fa5288..c26bf36b55 100644
--- a/board/karo/tx25/Makefile
+++ b/board/karo/tx25/Makefile
@@ -25,8 +25,10 @@ include $(TOPDIR)/config.mk
LIB = $(obj)lib$(BOARD).o
-COBJS := tx25.o
+ifdef CONFIG_SPL_BUILD
SOBJS := lowlevel_init.o
+endif
+COBJS := tx25.o
SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
OBJS := $(addprefix $(obj),$(COBJS))