linux: compile sunxi-emac into kernel for cubieboard2

The network driver needs to be compiled into the kernel for booting from
network over NFS.
This commit is contained in:
Jonathan Liu 2014-02-05 09:10:33 +11:00
parent e6cd6c0ff6
commit e7d8f0c856
2 changed files with 1 additions and 8 deletions

View File

@ -15,11 +15,4 @@ UBOOT_LOADADDRESS = "0x40008000"
SERIAL_CONSOLE = "115200 ttyS0"
MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "\
kernel-module-sunxi-emac \
"
#autoload ethernet module at boot
module_autoload_sunxi_emac = "sunxi_emac"
MACHINE_FEATURES = "screen apm usbgadget usbhost vfat"

View File

@ -1436,7 +1436,7 @@ CONFIG_NET_VENDOR_SMSC=y
# CONFIG_SMSC911X is not set
CONFIG_NET_VENDOR_STMICRO=y
# CONFIG_STMMAC_ETH is not set
CONFIG_SUNXI_EMAC=m
CONFIG_SUNXI_EMAC=y
CONFIG_PHYLIB=y
#