aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2021-08-17 17:59:41 -0400
committerTom Rini <trini@konsulko.com>2021-08-30 14:10:05 -0400
commitd7d40f614d5e6b6c7369ebd001d3ac191b3e360b (patch)
tree11197522b2f04bab15beff4c9c1b97c7bb69e81f /common
parent433eb4affc497ed9e88e1e758bc3e1f21c6fda4d (diff)
downloadu-boot-d7d40f614d5e6b6c7369ebd001d3ac191b3e360b.zip
u-boot-d7d40f614d5e6b6c7369ebd001d3ac191b3e360b.tar.gz
u-boot-d7d40f614d5e6b6c7369ebd001d3ac191b3e360b.tar.bz2
Convert CONFIG_ID_EEPROM to Kconfig
This converts the following to Kconfig: CONFIG_ID_EEPROM Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'common')
-rw-r--r--common/Kconfig6
-rw-r--r--common/board_r.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/common/Kconfig b/common/Kconfig
index 2ab20a6..4c774a4 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -548,6 +548,12 @@ config MISC_INIT_R
help
Enabling this option calls 'misc_init_r' function
+config ID_EEPROM
+ bool "Enable I2C connected system identifier EEPROM"
+ help
+ A number of different systems and vendors enable a vendor-specified
+ EEPROM that contains various identifying features.
+
config PCI_INIT_R
bool "Enumerate PCI buses during init"
depends on PCI
diff --git a/common/board_r.c b/common/board_r.c
index e3e6248..802a4c6 100644
--- a/common/board_r.c
+++ b/common/board_r.c
@@ -720,7 +720,7 @@ static init_fnc_t init_sequence_r[] = {
#endif
INIT_FUNC_WATCHDOG_RESET
cpu_secondary_init_r,
-#if defined(CONFIG_ID_EEPROM) || defined(CONFIG_SYS_I2C_MAC_OFFSET)
+#if defined(CONFIG_ID_EEPROM)
mac_read_from_eeprom,
#endif
INIT_FUNC_WATCHDOG_RESET