summaryrefslogtreecommitdiff
path: root/target/linux/config
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-09-17 19:45:22 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2015-09-17 19:45:38 +0200
commit13c60d6c3c2989ff18a8964573cf8c5ebc56b57d (patch)
treeaa314e80df2e3bad6223e5fe244905ba090d2d07 /target/linux/config
parentf1fc0a7a49e01b52339a6c2a89efa6144da14461 (diff)
add 4.1.x patches for mikrotik-rb4xx, finetune mini.config, drivers should go into target/linux/config
Diffstat (limited to 'target/linux/config')
-rw-r--r--target/linux/config/Config.in.ethernet33
-rw-r--r--target/linux/config/Config.in.serial4
-rw-r--r--target/linux/config/Config.in.spi21
3 files changed, 49 insertions, 9 deletions
diff --git a/target/linux/config/Config.in.ethernet b/target/linux/config/Config.in.ethernet
index 7d54775a5..d36a696a2 100644
--- a/target/linux/config/Config.in.ethernet
+++ b/target/linux/config/Config.in.ethernet
@@ -8,6 +8,9 @@ config ADK_KERNEL_NET_CADENCE
config ADK_KERNEL_NET_VENDOR_AMD
bool
+config ADK_KERNEL_NET_VENDOR_ATHEROS
+ bool
+
config ADK_KERNEL_NET_VENDOR_IBM
bool
@@ -47,9 +50,15 @@ config ADK_KERNEL_NET_VENDOR_XILINX
config ADK_KERNEL_PHYLIB
bool
+config ADK_KERNEL_GENERIC_PHY
+ bool
+
config ADK_KERNEL_MII
bool
+config ADK_KERNEL_MDIO_BITBANG
+ bool
+
config ADK_KERNEL_ETRAX_HAVE_PHY
bool
@@ -69,6 +78,30 @@ config ADK_KERNEL_AT803X_PHY
tristate
select ADK_KERNEL_PHYLIB
+config ADK_KERNEL_SWCONFIG
+ bool
+
+config ADK_KERNEL_AG71XX_AR8216_SUPPORT
+ bool
+
+config ADK_KERNEL_AR8216_PHY
+ bool
+
+config ADK_KERNEL_AG71XX
+ tristate "AG71XX ethernet driver"
+ select ADK_KERNEL_NET_VENDOR_ATHEROS
+ select ADK_KERNEL_SWCONFIG
+ select ADK_KERNEL_PHYLIB
+ select ADK_KERNEL_GENERIC_PHY
+ select ADK_KERNEL_MDIO_BITBANG
+ select ADK_KERNEL_AR8216_PHY
+ select ADK_KERNEL_AG71XX_AR8216_SUPPORT
+ depends on ADK_TARGET_SYSTEM_MIKROTIK_RB4XX
+ default y if ADK_TARGET_SYSTEM_MIKROTIK_RB4XX
+ default n
+ help
+ Atheros AG71XX ethernet driver
+
config ADK_KERNEL_FEC
tristate "FEC ethernet driver"
select ADK_KERNEL_NET_VENDOR_FREESCALE
diff --git a/target/linux/config/Config.in.serial b/target/linux/config/Config.in.serial
index c3c6c21ce..d7090cbf4 100644
--- a/target/linux/config/Config.in.serial
+++ b/target/linux/config/Config.in.serial
@@ -43,7 +43,8 @@ config ADK_KERNEL_SERIAL_8250
|| ADK_TARGET_SYSTEM_QEMU_OR1K \
|| ADK_TARGET_SYSTEM_QEMU_PPC_BAMBOO \
|| ADK_TARGET_SYSTEM_IBM_X40 \
- || ADK_TARGET_SYSTEM_MIKROTIK_RB532
+ || ADK_TARGET_SYSTEM_MIKROTIK_RB532 \
+ || ADK_TARGET_SYSTEM_MIKROTIK_RB4XX
default y if ADK_TARGET_SYSTEM_XILINX_KINTEX7
default y if ADK_TARGET_SYSTEM_PCENGINES_APU
default y if ADK_TARGET_SYSTEM_PCENGINES_ALIX
@@ -51,6 +52,7 @@ config ADK_KERNEL_SERIAL_8250
default y if ADK_TARGET_SYSTEM_QEMU_PPC_BAMBOO
default y if ADK_TARGET_SYSTEM_IBM_X40
default y if ADK_TARGET_SYSTEM_MIKROTIK_RB532
+ default y if ADK_TARGET_SYSTEM_MIKROTIK_RB4XX
default n
help
Serial driver for 8250 UART chip.
diff --git a/target/linux/config/Config.in.spi b/target/linux/config/Config.in.spi
index e8a6b45bc..42bbd4b54 100644
--- a/target/linux/config/Config.in.spi
+++ b/target/linux/config/Config.in.spi
@@ -13,17 +13,11 @@ config ADK_KERNEL_SPI_MASTER
config ADK_KERNEL_SPI_BITBANG
tristate
-config ADK_KERNEL_SPI_AR71XX
- tristate
- select ADK_KERNEL_SPI
-
-config ADK_KERNEL_SPI_RB4XX
+config ADK_KERNEL_SPI_RB4XX_CPLD
tristate
- select ADK_KERNEL_SPI
-config ADK_KERNEL_SPI_RB4XX_CPLD
+config ADK_KERNEL_SPI_AR71XX
tristate
- select ADK_KERNEL_SPI
config ADK_KERNEL_SPI_PXA2XX
tristate
@@ -51,6 +45,17 @@ config ADK_KERNEL_SPI_IMX
default y if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
default n
+config ADK_KERNEL_SPI_RB4XX
+ tristate "SPI driver for Routerboard 4xx"
+ select ADK_KERNEL_SPI
+ select ADK_KERNEL_SPI_MASTER
+ select ADK_KERNEL_SPI_BITBANG
+ select ADK_KERNEL_SPI_RB4XX_CPLD
+ select ADK_KERNEL_SPI_AR71XX
+ depends on ADK_TARGET_SYSTEM_MIKROTIK_RB4XX
+ default y if ADK_TARGET_SYSTEM_MIKROTIK_RB4XX
+ default n
+
config ADK_KERNEL_SPI_SPIDEV
tristate "SPI userland driver"
select ADK_KERNEL_SPI