diff options
author | Pragnesh Patel <pragnesh.patel@sifive.com> | 2020-11-14 14:42:35 +0530 |
---|---|---|
committer | Heiko Schocher <hs@denx.de> | 2020-11-28 08:30:41 +0100 |
commit | f517e5fe98598d933e050b4005af6d745820bdb1 (patch) | |
tree | a079fefce4afd221ff730fea973526800b134a3f | |
parent | b2d4cbe6d47a7685c66517edd265a78dfc8b9c98 (diff) | |
download | u-boot-f517e5fe98598d933e050b4005af6d745820bdb1.tar.gz |
riscv: sifive/fu540: kconfig: Enable support for Opencores I2C controller
Enable support for SiFive FU540 Opencores I2C master controller.
Signed-off-by: Pragnesh Patel <pragnesh.patel@sifive.com>
Reviewed-by: Rick Chen <rick@andestech.com>
-rw-r--r-- | arch/riscv/cpu/fu540/Kconfig | 2 | ||||
-rw-r--r-- | board/sifive/fu540/Kconfig | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/arch/riscv/cpu/fu540/Kconfig b/arch/riscv/cpu/fu540/Kconfig index ac3f183342..61bd5c426e 100644 --- a/arch/riscv/cpu/fu540/Kconfig +++ b/arch/riscv/cpu/fu540/Kconfig @@ -35,6 +35,8 @@ config SIFIVE_FU540 imply SIFIVE_OTP imply DM_PWM imply PWM_SIFIVE + imply DM_I2C + imply SYS_I2C_OCORES if ENV_IS_IN_SPI_FLASH diff --git a/board/sifive/fu540/Kconfig b/board/sifive/fu540/Kconfig index e70d1e53f9..64fdbd44b4 100644 --- a/board/sifive/fu540/Kconfig +++ b/board/sifive/fu540/Kconfig @@ -47,5 +47,6 @@ config BOARD_SPECIFIC_OPTIONS # dummy imply SPI_FLASH_ISSI imply SYSRESET imply SYSRESET_GPIO + imply CMD_I2C endif |