summaryrefslogtreecommitdiff
path: root/target/linux/config/Config.in.ethernet
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2018-01-13 21:07:10 +0100
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2018-02-03 16:27:56 +0000
commit1f032e95500d0e2ec60381e4ed3a5fde698427c7 (patch)
treefc9c22aaf2036a787f147da40d9bc74e23756f7c /target/linux/config/Config.in.ethernet
parentdaed5353981450089919ebf451e15d7726519644 (diff)
csky: add better qemu support
Diffstat (limited to 'target/linux/config/Config.in.ethernet')
-rw-r--r--target/linux/config/Config.in.ethernet17
1 files changed, 15 insertions, 2 deletions
diff --git a/target/linux/config/Config.in.ethernet b/target/linux/config/Config.in.ethernet
index 761bf6192..76656e14e 100644
--- a/target/linux/config/Config.in.ethernet
+++ b/target/linux/config/Config.in.ethernet
@@ -106,6 +106,9 @@ config ADK_KERNEL_NETDEV_1000
config ADK_KERNEL_VIA_RHINE_MMIO
bool
+config ADK_KERNEL_DWMAC_GENERIC
+ bool
+
config ADK_KERNEL_DWMAC_SUNXI
bool
@@ -455,11 +458,21 @@ config ADK_KERNEL_STMMAC_ETH
bool "Stmicro MAC ethernet driver"
select ADK_KERNEL_NET_VENDOR_STMICRO
select ADK_KERNEL_STMMAC_PLATFORM
- select ADK_KERNEL_DWMAC_SUNXI
+ select ADK_KERNEL_DWMAC_SUNXI if ADK_TARGET_SYSTEM_BANANA_PRO \
+ || ADK_TARGET_SYSTEM_ORANGE_PI0
+ select ADK_KERNEL_DWMAC_GENERIC if ADK_TARGET_SYSTEM_QEMU_CSKY_CK610
+ select ADK_KERNEL_DWMAC_GENERIC if ADK_TARGET_SYSTEM_QEMU_CSKY_CK807
+ select ADK_KERNEL_DWMAC_GENERIC if ADK_TARGET_SYSTEM_QEMU_CSKY_CK810
depends on ADK_TARGET_SYSTEM_BANANA_PRO \
- || ADK_TARGET_SYSTEM_ORANGE_PI0
+ || ADK_TARGET_SYSTEM_ORANGE_PI0 \
+ || ADK_TARGET_SYSTEM_QEMU_CSKY_CK610 \
+ || ADK_TARGET_SYSTEM_QEMU_CSKY_CK807 \
+ || ADK_TARGET_SYSTEM_QEMU_CSKY_CK810
default y if ADK_TARGET_SYSTEM_BANANA_PRO
default y if ADK_TARGET_SYSTEM_ORANGE_PI0
+ default y if ADK_TARGET_SYSTEM_QEMU_CSKY_CK610
+ default y if ADK_TARGET_SYSTEM_QEMU_CSKY_CK807
+ default y if ADK_TARGET_SYSTEM_QEMU_CSKY_CK810
default n
config ADK_KERNEL_ETHOC