summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVlad Sytchenko <vsytch@google.com>2023-05-31 21:02:42 +0300
committerVlad Sytchenko <vsytch@google.com>2023-05-31 21:02:42 +0300
commit108bc12b57eba2dc7d2f261d96c0e4f9ec9333e0 (patch)
treef12cd9ed29fdb982e9bb902f02e60245e17ae04c
parent584041cd220f492d923bf98a0aa77dd6d39f4fbd (diff)
downloadopenbmc-108bc12b57eba2dc7d2f261d96c0e4f9ec9333e0.tar.xz
meta-nuvoton: Reenable I2C for NPCM7xx
340c15a259 in Nuvoton Linux 5.10 pulled in changes from upstream, one of which renamed the I2C kconfig from I2C_NPCM7XX to I2C_NPCM. Add the new option, but keep the old one for backwards for compatibility with platforms pinned on older kernel version. Change-Id: I006b09d72f8a6a5cbe14751a15cab58fdf315829 Signed-off-by: Vlad Sytchenko <vsytch@google.com>
-rw-r--r--meta-nuvoton/recipes-kernel/linux/linux-nuvoton/defconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-nuvoton/recipes-kernel/linux/linux-nuvoton/defconfig b/meta-nuvoton/recipes-kernel/linux/linux-nuvoton/defconfig
index 06027cd840..d8e3e36dbd 100644
--- a/meta-nuvoton/recipes-kernel/linux/linux-nuvoton/defconfig
+++ b/meta-nuvoton/recipes-kernel/linux/linux-nuvoton/defconfig
@@ -61,6 +61,7 @@ CONFIG_NPCM7XX_KCS_IPMI_BMC=y
CONFIG_HW_RANDOM=y
CONFIG_I2C=y
CONFIG_I2C_CHARDEV=y
+CONFIG_I2C_NPCM=y
CONFIG_I2C_NPCM7XX=y
CONFIG_SPI=y
CONFIG_SPI_NPCM_FIU=y