Skip to content
Snippets Groups Projects
Commit 39338a30 authored by Ilya Ledvich's avatar Ilya Ledvich Committed by Tom Rini
Browse files

compulab: eeprom: enable any i2c driver


Make the common eeprom library available for any I2C driver.

Signed-off-by: default avatarIlya Ledvich <ilya@compulab.co.il>
Signed-off-by: default avatarIgor Grinberg <grinberg@compulab.co.il>
parent 1c8c36f5
No related branches found
No related tags found
No related merge requests found
...@@ -6,5 +6,5 @@ ...@@ -6,5 +6,5 @@
# SPDX-License-Identifier: GPL-2.0+ # 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 obj-$(CONFIG_LCD) += omap3_display.o
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
#ifndef _EEPROM_ #ifndef _EEPROM_
#define _EEPROM_ #define _EEPROM_
#ifdef CONFIG_SYS_I2C_OMAP34XX #ifdef CONFIG_SYS_I2C
int cl_eeprom_read_mac_addr(uchar *buf); int cl_eeprom_read_mac_addr(uchar *buf);
u32 cl_eeprom_get_board_rev(void); u32 cl_eeprom_get_board_rev(void);
#else #else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment