[Add support HAL of ethernet switch gsw mode]
[Description]
Add support HAL of ethernet switch gsw mode
1. add swtich tool BB files
2. use DISTRO_FEATURES "switch_gsw_mode" to change dts
3. modify hostapd-init.sh to add eth1 to brlan0 in gsw mode
[Release-log]
diff --git a/conf/machine/filogic.conf b/conf/machine/filogic.conf
index 0822fd2..d0d01d1 100644
--- a/conf/machine/filogic.conf
+++ b/conf/machine/filogic.conf
@@ -11,6 +11,12 @@
SOC_FAMILY = "mediatek"
+MACHINEOVERRIDES .="${@bb.utils.contains('DISTRO_FEATURES','switch_gsw_mode',':gsw','',d)}"
+
+KERNEL_DEVICETREE_gsw = " \
+ mediatek/mt7986a-2500wan-gsw-spim-nand-rfb.dtb \
+ mediatek/mt7986b-2500wan-gsw-spim-nand-rfb.dtb \
+ "
KERNEL_DEVICETREE ?= " \
mediatek/mt7986a-spim-nand-rfb.dtb \
mediatek/mt7986b-spim-nand-rfb.dtb \