summaryrefslogtreecommitdiff
path: root/board/cm_t35/Makefile
diff options
context:
space:
mode:
authorNikita Kiryanov <nikita@compulab.co.il>2012-01-12 03:26:30 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2012-01-16 08:40:11 +0100
commit8230925049c164908f3936428e73e240830752f5 (patch)
treea42928547b35e8b5be44704117ce48aec7e7ab34 /board/cm_t35/Makefile
parentce15ec9f695c5ee7023c3e256ee67a2538496c46 (diff)
downloadu-boot-imx-8230925049c164908f3936428e73e240830752f5.zip
u-boot-imx-8230925049c164908f3936428e73e240830752f5.tar.gz
u-boot-imx-8230925049c164908f3936428e73e240830752f5.tar.bz2
cm-t35: add EEPROM module and pass Linux a serial number
Add board specific EEPROM handling module, read the serial number from the EEPROM and pass it to Linux. Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il> Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
Diffstat (limited to 'board/cm_t35/Makefile')
-rw-r--r--board/cm_t35/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/board/cm_t35/Makefile b/board/cm_t35/Makefile
index 27693f0..894fa09 100644
--- a/board/cm_t35/Makefile
+++ b/board/cm_t35/Makefile
@@ -25,7 +25,9 @@ include $(TOPDIR)/config.mk
LIB = $(obj)lib$(BOARD).o
-COBJS := cm_t35.o leds.o
+COBJS-$(CONFIG_DRIVER_OMAP34XX_I2C) += eeprom.o
+
+COBJS := cm_t35.o leds.o $(COBJS-y)
SRCS := $(COBJS:.o=.c)
OBJS := $(addprefix $(obj),$(COBJS))