diff options
author | Tom Rini <trini@konsulko.com> | 2021-08-18 23:12:35 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-08-30 14:10:07 -0400 |
commit | 6d5d0c955e2ca035481bc133d453fccd065b80e8 (patch) | |
tree | 74a4128f164f3dde64286dd295bf3cfcf41a1689 /configs/P1010RDB-PB_SDCARD_defconfig | |
parent | 6aa075432e4251782ae31f9336c8382b98a17153 (diff) | |
download | u-boot-6d5d0c955e2ca035481bc133d453fccd065b80e8.tar.gz u-boot-6d5d0c955e2ca035481bc133d453fccd065b80e8.tar.bz2 u-boot-6d5d0c955e2ca035481bc133d453fccd065b80e8.zip |
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/P1010RDB-PB_SDCARD_defconfig')
-rw-r--r-- | configs/P1010RDB-PB_SDCARD_defconfig | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/configs/P1010RDB-PB_SDCARD_defconfig b/configs/P1010RDB-PB_SDCARD_defconfig index ba6ca0a8a0..a6da3e87f1 100644 --- a/configs/P1010RDB-PB_SDCARD_defconfig +++ b/configs/P1010RDB-PB_SDCARD_defconfig @@ -48,6 +48,10 @@ CONFIG_DM=y CONFIG_FSL_CAAM=y CONFIG_DM_I2C=y CONFIG_SPL_SYS_I2C_LEGACY=y +CONFIG_SYS_I2C_FSL=y +CONFIG_SYS_FSL_I2C_OFFSET=0x3000 +CONFIG_SYS_FSL_HAS_I2C2_OFFSET=y +CONFIG_SYS_FSL_I2C2_OFFSET=0x3100 CONFIG_SYS_I2C_EEPROM_ADDR=0x57 CONFIG_FSL_ESDHC=y CONFIG_MTD=y |