summaryrefslogtreecommitdiff
path: root/include/configs
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 /include/configs
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 'include/configs')
-rw-r--r--include/configs/cm_t35.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/configs/cm_t35.h b/include/configs/cm_t35.h
index 61226d5..fe91c10 100644
--- a/include/configs/cm_t35.h
+++ b/include/configs/cm_t35.h
@@ -72,6 +72,7 @@
#define CONFIG_SETUP_MEMORY_TAGS
#define CONFIG_INITRD_TAG
#define CONFIG_REVISION_TAG
+#define CONFIG_SERIAL_TAG
/*
* Size of malloc() pool
@@ -153,6 +154,8 @@
#define CONFIG_SYS_I2C_BUS 0
#define CONFIG_SYS_I2C_BUS_SELECT 1
#define CONFIG_DRIVER_OMAP34XX_I2C
+#define CONFIG_SYS_I2C_EEPROM_ADDR 0x50
+#define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 1
/*
* TWL4030