summaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/mt7621
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2017-01-13 07:14:38 -0800
committerJohn Crispin <john@phrozen.org>2017-01-15 17:43:05 +0100
commit80768ddccd6275d1506badcf57ae31560ca19da2 (patch)
tree0e642e39d95995a55740d5fd4130a4fd97ac6cd1 /target/linux/ramips/mt7621
parent26e4fee6e28d5f5d50a5ce74aa044fa5b3a9db65 (diff)
downloadopenwrt-80768ddccd6275d1506badcf57ae31560ca19da2.tar.gz
openwrt-80768ddccd6275d1506badcf57ae31560ca19da2.tar.bz2
openwrt-80768ddccd6275d1506badcf57ae31560ca19da2.zip
ramips: Add I2C driver to the default kernel config
I made a commit that added the RTC driver to the kernel config with the intent that it would fix hctosys. Unfortunately while the RTC driver is in there, it's connected through I2C, the driver for which comes in module form and is thus loaded late. After this commit, it works fine. Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'target/linux/ramips/mt7621')
-rw-r--r--target/linux/ramips/mt7621/config-4.42
1 files changed, 2 insertions, 0 deletions
diff --git a/target/linux/ramips/mt7621/config-4.4 b/target/linux/ramips/mt7621/config-4.4
index 73c3b39f48..383370b86e 100644
--- a/target/linux/ramips/mt7621/config-4.4
+++ b/target/linux/ramips/mt7621/config-4.4
@@ -115,6 +115,8 @@ CONFIG_HAVE_VIRT_CPU_ACCOUNTING_GEN=y
CONFIG_HIGHMEM=y
CONFIG_HW_HAS_PCI=y
CONFIG_HZ_PERIODIC=y
+CONFIG_I2C=y
+CONFIG_I2C_MT7621=y
# CONFIG_IMG_MDC_DMA is not set
CONFIG_INITRAMFS_SOURCE=""
CONFIG_IRQCHIP=y