From 8230925049c164908f3936428e73e240830752f5 Mon Sep 17 00:00:00 2001 From: Nikita Kiryanov Date: Thu, 12 Jan 2012 03:26:30 +0000 Subject: 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 Signed-off-by: Igor Grinberg --- board/cm_t35/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'board/cm_t35/Makefile') diff --git a/board/cm_t35/Makefile b/board/cm_t35/Makefile index 27693f07ac..894fa097e1 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)) -- cgit v1.2.1