diff options
author | Tom Rini <trini@konsulko.com> | 2021-07-28 18:51:16 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-07-28 18:51:16 -0400 |
commit | bbcacdf4cd23f2e5deb9ef916096c956c955243d (patch) | |
tree | 3065b9346139a0f30bc3f9e77f1ee27e8fba3fdd /cmd/eeprom.c | |
parent | 22ecb12132a2de80a08654f139ff978176034c38 (diff) | |
parent | 537892065ac1428a48193d4b0fa7bf827e8d0d44 (diff) |
Merge branch '2021-07-28-build-improvements'
- Assorted Makefile cleanups
- A few code / build cleanups
Diffstat (limited to 'cmd/eeprom.c')
-rw-r--r-- | cmd/eeprom.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/eeprom.c b/cmd/eeprom.c index b3fd37c827..efd6f3ac03 100644 --- a/cmd/eeprom.c +++ b/cmd/eeprom.c @@ -75,7 +75,7 @@ void eeprom_init(int bus) /* I2C EEPROM */ #if CONFIG_IS_ENABLED(DM_I2C) eeprom_i2c_bus = bus; -#elif defined(CONFIG_SYS_I2C) +#elif defined(CONFIG_SYS_I2C_LEGACY) if (bus >= 0) i2c_set_bus_num(bus); i2c_init(CONFIG_SYS_I2C_SPEED, CONFIG_SYS_I2C_SLAVE); |