]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
compulab: eeprom: enable any i2c driver
authorIlya Ledvich <ilya@compulab.co.il>
Wed, 16 Apr 2014 10:48:26 +0000 (13:48 +0300)
committerTom Rini <trini@ti.com>
Fri, 23 May 2014 23:40:39 +0000 (19:40 -0400)
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>
board/compulab/common/Makefile
board/compulab/common/eeprom.h

index 6d7d06815cdb8c8b770113c0e511f2597139b636..4044ac9d626185d584fc99726117d68aa3a1c0eb 100644 (file)
@@ -6,5 +6,5 @@
 # SPDX-License-Identifier:     GPL-2.0+
 #
 
-obj-$(CONFIG_SYS_I2C_OMAP34XX) += eeprom.o
+obj-$(CONFIG_SYS_I2C) += eeprom.o
 obj-$(CONFIG_LCD) += omap3_display.o
index e87162930d8549a20c5c35ee87396f89dbd9eae0..85d5bf03d69171c81f57dcaee0e05f7af509399d 100644 (file)
@@ -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