mirror of
https://git.yoctoproject.org/meta-arm
synced 2026-06-06 14:50:03 +00:00
arm-bsp/linux: Enabling lan9115 Ethernet for corstone700-mps3
This commit enables lan9115 Ethernet in the v5.6 kernel as a machine feature. Change-Id: Ib8e724a64b24db3048a2b12973824bba9f3eecc4 Signed-off-by: Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
This commit is contained in:
committed by
Jon Mason
parent
d789b0373a
commit
64131db424
@@ -4,4 +4,9 @@
|
||||
|
||||
require conf/machine/include/corstone700.inc
|
||||
|
||||
# default feature used: eth_lan9115
|
||||
# add the following line to local.conf to disable the feature:
|
||||
# MACHINE_FEATURES_remove = "eth_lan9115"
|
||||
MACHINE_FEATURES += "eth_lan9115"
|
||||
|
||||
TFA_TARGET_PLATFORM = "fpga"
|
||||
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
define KFEATURE_DESCRIPTION "Ethernet feature using lan9115"
|
||||
|
||||
kconf hardware pnp.cfg
|
||||
kconf hardware lan9115.cfg
|
||||
+1
@@ -0,0 +1 @@
|
||||
CONFIG_SMSC911X=y
|
||||
@@ -52,3 +52,11 @@ KERNEL_FEATURES_append_corstone700-fvp = " \
|
||||
bsp/arm-platforms/corstone700/eth_lan91c111.scc', \
|
||||
'bsp/arm-platforms/corstone700/xip_cmdline.cfg', \
|
||||
d)}"
|
||||
|
||||
KERNEL_FEATURES_append_corstone700-mps3 = " \
|
||||
${@bb.utils.contains('MACHINE_FEATURES', \
|
||||
'eth_lan9115', \
|
||||
'bsp/arm-platforms/corstone700/xip_dhcp_cmdline.cfg \
|
||||
bsp/arm-platforms/corstone700/eth_lan9115.scc', \
|
||||
'bsp/arm-platforms/corstone700/xip_cmdline.cfg', \
|
||||
d)}"
|
||||
|
||||
Reference in New Issue
Block a user