1 From feb5ac0bc029c8199bc29ab5b2ddf66eaa533843 Mon Sep 17 00:00:00 2001
2 From: Zong Li <zong.li@sifive.com>
3 Date: Wed, 30 Jun 2021 23:23:46 +0800
4 Subject: [PATCH 04/16] riscv: sifive: fu740: kconfig: Enable support for
5 Opencores I2C controller
7 Enable the Opencores I2C controller on FU740
9 Signed-off-by: Zong Li <zong.li@sifive.com>
10 Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
12 arch/riscv/cpu/fu740/Kconfig | 2 ++
13 board/sifive/unmatched/Kconfig | 1 +
14 2 files changed, 3 insertions(+)
16 diff --git a/arch/riscv/cpu/fu740/Kconfig b/arch/riscv/cpu/fu740/Kconfig
17 index 3a5f6e4..1dc052b 100644
18 --- a/arch/riscv/cpu/fu740/Kconfig
19 +++ b/arch/riscv/cpu/fu740/Kconfig
20 @@ -35,3 +35,5 @@ config SIFIVE_FU740
25 + imply SYS_I2C_OCORES
26 diff --git a/board/sifive/unmatched/Kconfig b/board/sifive/unmatched/Kconfig
27 index 88b5883..fb2c1fb 100644
28 --- a/board/sifive/unmatched/Kconfig
29 +++ b/board/sifive/unmatched/Kconfig
30 @@ -47,5 +47,6 @@ config BOARD_SPECIFIC_OPTIONS # dummy