diff options
| author | Zong Li <[email protected]> | 2021-06-30 23:23:46 +0800 |
|---|---|---|
| committer | Leo Yu-Chi Liang <[email protected]> | 2021-07-06 20:24:25 +0800 |
| commit | e2172aa83d587a1ee58a8349af65a098d7d27071 (patch) | |
| tree | 5178d2931f1b2779d1d761f609715c7fae748b27 | |
| parent | 946afdf6209e19ce0b233ff938bc111ddbdceadf (diff) | |
riscv: sifive: fu740: kconfig: Enable support for Opencores I2C controller
Enable the Opencores I2C controller on FU740
Signed-off-by: Zong Li <[email protected]>
Reviewed-by: Leo Yu-Chi Liang <[email protected]>
| -rw-r--r-- | arch/riscv/cpu/fu740/Kconfig | 2 | ||||
| -rw-r--r-- | board/sifive/unmatched/Kconfig | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/arch/riscv/cpu/fu740/Kconfig b/arch/riscv/cpu/fu740/Kconfig index 3a5f6e47f5f..1dc052ba31b 100644 --- a/arch/riscv/cpu/fu740/Kconfig +++ b/arch/riscv/cpu/fu740/Kconfig @@ -35,3 +35,5 @@ config SIFIVE_FU740 imply SIFIVE_OTP imply DM_PWM imply PWM_SIFIVE + imply DM_I2C + imply SYS_I2C_OCORES diff --git a/board/sifive/unmatched/Kconfig b/board/sifive/unmatched/Kconfig index 88b5883cae7..fb2c1fbb58a 100644 --- a/board/sifive/unmatched/Kconfig +++ b/board/sifive/unmatched/Kconfig @@ -47,5 +47,6 @@ config BOARD_SPECIFIC_OPTIONS # dummy imply PHY_MSCC imply SYSRESET imply SYSRESET_GPIO + imply CMD_I2C endif |
