diff options
author | Nikita Kiryanov <nikita@compulab.co.il> | 2012-01-12 03:26:30 +0000 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2012-01-16 08:40:11 +0100 |
commit | 8230925049c164908f3936428e73e240830752f5 (patch) | |
tree | a42928547b35e8b5be44704117ce48aec7e7ab34 /include/configs/cm_t35.h | |
parent | ce15ec9f695c5ee7023c3e256ee67a2538496c46 (diff) | |
download | u-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/cm_t35.h')
-rw-r--r-- | include/configs/cm_t35.h | 3 |
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 |