summaryrefslogtreecommitdiff
path: root/include/configs/lacie_kw.h
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2021-08-18 00:59:45 +0300
committerTom Rini <trini@konsulko.com>2021-08-30 21:10:06 +0300
commit88cd7d0ea961ca11b1eeaaea8b7811573b103abb (patch)
tree752b270004b880f8c0bdb8785d900b49384b3216 /include/configs/lacie_kw.h
parentc18afbe0ab4638b421c9eb5c5a89ee451a2ca127 (diff)
downloadu-boot-88cd7d0ea961ca11b1eeaaea8b7811573b103abb.tar.xz
Convert CONFIG_SYS_I2C_EEPROM_ADDR et al to Kconfig
- Rename usages of CONFIG_SYS_DEF_EEPROM_ADDR to CONFIG_SYS_I2C_EEPROM_ADDR based on current usage. - Convert CONFIG_SYS_I2C_EEPROM_ADDR, CONFIG_SYS_I2C_EEPROM_ADDR_LEN, CONFIG_SYS_I2C_EEPROM_BUS, CONFIG_CONFIG_SYS_EEPROM_SIZE CONFIG_SYS_EEPROM_PAGE_WRITE_BITS and CONFIG_SYS_EEPROM_PAGE_WRITE_DELAY_MS to Kconfig. We move these symbols around a bit and add appropriate dependencies to them. In some cases, we now add a correct default value as well. Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'include/configs/lacie_kw.h')
-rw-r--r--include/configs/lacie_kw.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/configs/lacie_kw.h b/include/configs/lacie_kw.h
index 88f784f1f0..d39d650492 100644
--- a/include/configs/lacie_kw.h
+++ b/include/configs/lacie_kw.h
@@ -99,9 +99,6 @@
*/
#ifdef CONFIG_CMD_I2C
/* I2C EEPROM HT24LC04 (512B - 32 pages of 16 Bytes) */
-#define CONFIG_SYS_I2C_EEPROM_ADDR 0x50
-#define CONFIG_SYS_EEPROM_PAGE_WRITE_BITS 4 /* 16-byte page size */
-#define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 1 /* 8-bit device address */
#if defined(CONFIG_NET2BIG_V2)
#define CONFIG_SYS_I2C_G762_ADDR 0x3e
#endif