From 28eb01ea61a05be331b6bccd8fa5aac7781c48b9 Mon Sep 17 00:00:00 2001 From: Mario Haustein Date: Wed, 21 Sep 2016 18:50:52 +0200 Subject: refactor I2C support of AVR32 Grasshopper board - I2C can now be enabled in the config menu --- target/linux/config/Config.in.i2c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'target/linux') 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 -- cgit v1.2.3