summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
Diffstat (limited to 'target')
-rw-r--r--target/linux/config/Config.in.ethernet8
-rw-r--r--target/or1k/kernel/qemu-or1k1
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