summaryrefslogtreecommitdiff
path: root/configs/M5235EVB_defconfig
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2021-08-18 23:12:35 -0400
committerTom Rini <trini@konsulko.com>2021-08-30 14:10:07 -0400
commit6d5d0c955e2ca035481bc133d453fccd065b80e8 (patch)
tree74a4128f164f3dde64286dd295bf3cfcf41a1689 /configs/M5235EVB_defconfig
parent6aa075432e4251782ae31f9336c8382b98a17153 (diff)
downloadu-boot-6d5d0c955e2ca035481bc133d453fccd065b80e8.tar.gz
i2c: fsl_i2c: Migrate to Kconfig
- As there are no boards that use different values for speed / slave on different buses, use a single option. - Switch to using the common SYS_I2C_SPEED / SYS_I2C_SLAVE options. - Introduce _HAS_ options for additional buses as only the first one is common to all users. - Convert all remaining symbols to Kconfig. Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'configs/M5235EVB_defconfig')
-rw-r--r--configs/M5235EVB_defconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/configs/M5235EVB_defconfig b/configs/M5235EVB_defconfig
index 0979a9f1dd..d589e42559 100644
--- a/configs/M5235EVB_defconfig
+++ b/configs/M5235EVB_defconfig
@@ -23,6 +23,10 @@ CONFIG_ENV_IS_IN_FLASH=y
CONFIG_ENV_ADDR=0xFFE04000
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
CONFIG_SYS_I2C_LEGACY=y
+CONFIG_SYS_I2C_FSL=y
+CONFIG_SYS_FSL_I2C_OFFSET=0x300
+CONFIG_SYS_I2C_SLAVE=0x7F
+CONFIG_SYS_I2C_SPEED=80000
CONFIG_MTD_NOR_FLASH=y
CONFIG_FLASH_CFI_DRIVER=y
CONFIG_SYS_FLASH_PROTECTION=y