summaryrefslogtreecommitdiff
path: root/board/ti/am335x/Makefile
diff options
context:
space:
mode:
authorTom Rini <trini@ti.com>2012-07-31 10:50:01 -0700
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2012-09-01 14:58:13 +0200
commitdb7dd8109cad3ccdea23d2eebafe588f2ab585d6 (patch)
treefd91465a7ca98875dd631f9e787a1bf63b6a42c2 /board/ti/am335x/Makefile
parent726c05d2cfc0f0062cc7a32c0e06ab775b43c04c (diff)
downloadu-boot-imx-db7dd8109cad3ccdea23d2eebafe588f2ab585d6.zip
u-boot-imx-db7dd8109cad3ccdea23d2eebafe588f2ab585d6.tar.gz
u-boot-imx-db7dd8109cad3ccdea23d2eebafe588f2ab585d6.tar.bz2
am33xx: Rework pinmux functions
- Move definition of the EEPROM contents to <asm/arch/sys_proto.h> - Make some defines a little less generic now. - Pinmux must be done by done by SPL now. - Create 3 pinmux functions, uart0, i2c0 and board. - Add pinmux specific to Starter Kit EVM for MMC now. Signed-off-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'board/ti/am335x/Makefile')
-rw-r--r--board/ti/am335x/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/board/ti/am335x/Makefile b/board/ti/am335x/Makefile
index e3609bc..ca50eef 100644
--- a/board/ti/am335x/Makefile
+++ b/board/ti/am335x/Makefile
@@ -18,7 +18,9 @@ include $(TOPDIR)/config.mk
LIB = $(obj)lib$(BOARD).o
+ifdef CONFIG_SPL_BUILD
COBJS := mux.o
+endif
SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
OBJS := $(addprefix $(obj),$(COBJS))