sunxi: emac changes - move emac into module - add into profiles where appropriate

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 39200
This commit is contained in:
Zoltan Herpai 2014-01-04 17:33:44 +00:00
parent 9712b2d6fa
commit 815ceabd9d
6 changed files with 17 additions and 5 deletions

View File

@ -375,7 +375,7 @@ CONFIG_SPARSE_IRQ=y
# CONFIG_STAGING is not set # CONFIG_STAGING is not set
CONFIG_STOP_MACHINE=y CONFIG_STOP_MACHINE=y
CONFIG_STRICT_DEVMEM=y CONFIG_STRICT_DEVMEM=y
CONFIG_SUN4I_EMAC=y # CONFIG_SUN4I_EMAC is not set
CONFIG_SUN4I_TIMER=y CONFIG_SUN4I_TIMER=y
CONFIG_SWP_EMULATE=y CONFIG_SWP_EMULATE=y
CONFIG_SYS_SUPPORTS_APM_EMULATION=y CONFIG_SYS_SUPPORTS_APM_EMULATION=y

View File

@ -54,3 +54,15 @@ define KernelPackage/ata-sunxi/description
endef endef
$(eval $(call KernelPackage,ata-sunxi)) $(eval $(call KernelPackage,ata-sunxi))
define KernelPackage/sun4i-emac
SUBMENU:=$(NETWORK_DEVICES_MENU)
TITLE:=AllWinner EMAC Ethernet support
DEPENDS:=@TARGET_sunxi
KCONFIG:=CONFIG_SUN4I_EMAC
FILES:=$(LINUX_DIR)/drivers/net/ethernet/allwinner/sun4i-emac.ko
AUTOLOAD:=$(call AutoProbe,sun4i-emac)
endef
$(eval $(call KernelPackage,sun4i-emac))

View File

@ -8,7 +8,7 @@
define Profile/A20-OLinuXino_MICRO define Profile/A20-OLinuXino_MICRO
NAME:=A20 OLinuXino Micro NAME:=A20 OLinuXino Micro
PACKAGES:=\ PACKAGES:=\
uboot-sunxi-A20-OLinuXino_MICRO kmod-ata-sunxi uboot-sunxi-A20-OLinuXino_MICRO kmod-ata-sunxi kmod-sun4i-emac
endef endef
define Profile/A20-OLinuXino_MICRO/Description define Profile/A20-OLinuXino_MICRO/Description

View File

@ -8,7 +8,7 @@
define Profile/Cubieboard define Profile/Cubieboard
NAME:=Cubieboard NAME:=Cubieboard
PACKAGES:=\ PACKAGES:=\
uboot-sunxi-Cubieboard kmod-ata-sunxi uboot-sunxi-Cubieboard kmod-ata-sunxi kmod-sun4i-emac
endef endef
define Profile/Cubieboard/Description define Profile/Cubieboard/Description

View File

@ -8,7 +8,7 @@
define Profile/Cubieboard2 define Profile/Cubieboard2
NAME:=Cubieboard2 NAME:=Cubieboard2
PACKAGES:=\ PACKAGES:=\
uboot-sunxi-Cubieboard2 kmod-ata-sunxi uboot-sunxi-Cubieboard2 kmod-ata-sunxi kmod-sun4i-emac
endef endef
define Profile/Cubieboard2/Description define Profile/Cubieboard2/Description

View File

@ -8,7 +8,7 @@
define Profile/pcDuino define Profile/pcDuino
NAME:=pcDuino NAME:=pcDuino
PACKAGES:=\ PACKAGES:=\
uboot-sunxi-pcDuino uboot-sunxi-pcDuino kmod-sun4i-emac
endef endef
define Profile/pcDuino/Description define Profile/pcDuino/Description