diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2015-10-09 05:30:07 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2015-10-09 05:30:22 +0200 |
commit | 667293e32df92383ab56292c5b27eea1ee680ece (patch) | |
tree | 0253e71e842e03ea890974210681178f1294577f | |
parent | 43f376e1c0001857d9f61f8b0a62b8d74ed24500 (diff) |
add ethernet driver support for qemu-system-or32
-rw-r--r-- | target/linux/config/Config.in.ethernet | 8 | ||||
-rw-r--r-- | target/or1k/kernel/qemu-or1k | 1 |
2 files changed, 9 insertions, 0 deletions
diff --git a/target/linux/config/Config.in.ethernet b/target/linux/config/Config.in.ethernet index d36a696a2..674a9dfc0 100644 --- a/target/linux/config/Config.in.ethernet +++ b/target/linux/config/Config.in.ethernet @@ -348,4 +348,12 @@ config ADK_KERNEL_STMMAC_ETH default y if ADK_TARGET_SYSTEM_BANANA_PRO default n +config ADK_KERNEL_ETHOC + bool "OpenCore ethernet driver" + select ADK_KERNEL_PHYLIB + select ADK_KERNEL_MII + depends on ADK_TARGET_SYSTEM_QEMU_OR1K + default y if ADK_TARGET_SYSTEM_QEMU_OR1K + default n + endmenu diff --git a/target/or1k/kernel/qemu-or1k b/target/or1k/kernel/qemu-or1k index 2996530f4..9cdac3406 100644 --- a/target/or1k/kernel/qemu-or1k +++ b/target/or1k/kernel/qemu-or1k @@ -9,3 +9,4 @@ CONFIG_OPENRISC_HAVE_INST_LWA_SWA=y CONFIG_IRQCHIP=y CONFIG_OR1K_PIC=y CONFIG_SLOB=y +CONFIG_MICREL_PHY=y |