]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
riscv: sifive: fu740: kconfig: Enable support for Opencores I2C controller
authorZong Li <zong.li@sifive.com>
Wed, 30 Jun 2021 15:23:46 +0000 (23:23 +0800)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Tue, 6 Jul 2021 12:24:25 +0000 (20:24 +0800)
Enable the Opencores I2C controller on FU740

Signed-off-by: Zong Li <zong.li@sifive.com>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
arch/riscv/cpu/fu740/Kconfig
board/sifive/unmatched/Kconfig

index 3a5f6e47f5f7c3781b1302fea1251d95d3f21e9d..1dc052ba31b37fd426915b94dbdc5df5eddf95f9 100644 (file)
@@ -35,3 +35,5 @@ config SIFIVE_FU740
        imply SIFIVE_OTP
        imply DM_PWM
        imply PWM_SIFIVE
+       imply DM_I2C
+       imply SYS_I2C_OCORES
index 88b5883cae7c85c06c18781ee59410dcc894fcc1..fb2c1fbb58a299c999eb123f1c28a8a23f624299 100644 (file)
@@ -47,5 +47,6 @@ config BOARD_SPECIFIC_OPTIONS # dummy
        imply PHY_MSCC
        imply SYSRESET
        imply SYSRESET_GPIO
+       imply CMD_I2C
 
 endif