summaryrefslogtreecommitdiff
path: root/board/compulab/common/eeprom.h
diff options
context:
space:
mode:
authorIlya Ledvich <ilya@compulab.co.il>2014-04-16 13:48:26 +0300
committerTom Rini <trini@ti.com>2014-05-23 19:40:39 -0400
commit39338a30fab2ce7d80dfe0d457071573727f499f (patch)
tree040a74e4909171810a425dce707f67aeabab0878 /board/compulab/common/eeprom.h
parent1c8c36f57142a13eb03d783ff763391253d654ab (diff)
downloadu-boot-imx-39338a30fab2ce7d80dfe0d457071573727f499f.zip
u-boot-imx-39338a30fab2ce7d80dfe0d457071573727f499f.tar.gz
u-boot-imx-39338a30fab2ce7d80dfe0d457071573727f499f.tar.bz2
compulab: eeprom: enable any i2c driver
Make the common eeprom library available for any I2C driver. Signed-off-by: Ilya Ledvich <ilya@compulab.co.il> Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
Diffstat (limited to 'board/compulab/common/eeprom.h')
-rw-r--r--board/compulab/common/eeprom.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/compulab/common/eeprom.h b/board/compulab/common/eeprom.h
index e871629..85d5bf0 100644
--- a/board/compulab/common/eeprom.h
+++ b/board/compulab/common/eeprom.h
@@ -10,7 +10,7 @@
#ifndef _EEPROM_
#define _EEPROM_
-#ifdef CONFIG_SYS_I2C_OMAP34XX
+#ifdef CONFIG_SYS_I2C
int cl_eeprom_read_mac_addr(uchar *buf);
u32 cl_eeprom_get_board_rev(void);
#else