summaryrefslogtreecommitdiff
path: root/target/linux/config/Config.in.i2c
diff options
context:
space:
mode:
authorMario Haustein <mario.haustein@hrz.tu-chemnitz.de>2016-09-21 18:50:52 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-09-22 17:31:23 +0200
commit28eb01ea61a05be331b6bccd8fa5aac7781c48b9 (patch)
treed3835a4b00465a2ca1a9b12a6b7da5fe74676982 /target/linux/config/Config.in.i2c
parent74ed5fab6a9b6330055e98dbd419f8fe84c84633 (diff)
refactor I2C support of AVR32 Grasshopper board
- I2C can now be enabled in the config menu
Diffstat (limited to 'target/linux/config/Config.in.i2c')
-rw-r--r--target/linux/config/Config.in.i2c11
1 files changed, 10 insertions, 1 deletions
diff --git a/target/linux/config/Config.in.i2c b/target/linux/config/Config.in.i2c
index 1c9cc531c..2c7404b69 100644
--- a/target/linux/config/Config.in.i2c
+++ b/target/linux/config/Config.in.i2c
@@ -23,7 +23,6 @@ config ADK_KERNEL_I2C_GPIO
select ADK_KERNEL_I2C_BOARDINFO
select ADK_KERNEL_I2C_ALGOBIT
default y if ADK_TARGET_SYSTEM_LINKSYS_NSLU2
- default y if ADK_TARGET_SYSTEM_GRASSHOPPER
help
config ADK_KERNEL_I2C_BCM2708
@@ -71,5 +70,15 @@ config ADK_KERNEL_SCX200_ACB
default n
help
I2C driver for Geode boards.
+
+config ADK_KERNEL_BOARD_GRASSHOPPER_I2C
+ bool "I2C driver for AVR32 Grasshopper"
+ select ADK_KERNEL_I2C
+ select ADK_KERNEL_I2C_GPIO
+ select ADK_KERNEL_I2C_CHARDEV
+ default y if ADK_TARGET_SYSTEM_GRASSHOPPER
+ default n
+ help
+ I2C driver for Geode boards.
endmenu