kirkwood: switch from swconfig to dsa
authorPawel Dembicki <paweldembicki@gmail.com>
Mon, 20 Apr 2020 08:06:36 +0000 (10:06 +0200)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Tue, 28 Apr 2020 14:49:31 +0000 (16:49 +0200)
commit4fd7e539e4f90128bdd7cb71c729a4b32f5de86e
tree74caf584970ce1d8c1b5c6604e2c228d3a97faea
parent4b3b8ec81cd1965d0bd548fa31db491295b83354
kirkwood: switch from swconfig to dsa

This patch removes support for swconfig and switches to dsa driver.

swconfig and switch drivers are removed. DSA driver is enabled and
configuration is adjusted.

In kirkwood only two devices have switches: Linksys EA3500 and EA4500.

WAN MAC configuration in 02_network is required because otherwise WAN
would have the same MAC address as lan interfaces. In swconfig solution
the WAN address was assigned in u-Boot to eth1. Now, as eth1 is disabled
and wan is part of the switch, we have to set it manually.

Compile tested: EA3500, EA4500
Run tested: EA4500

Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
[minor commit title/message adjustments, remove swconfig package
for devices]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
target/linux/kirkwood/base-files/etc/board.d/02_network
target/linux/kirkwood/config-5.4
target/linux/kirkwood/files-5.4/arch/arm/boot/dts/kirkwood-linksys-audi.dts
target/linux/kirkwood/image/Makefile
target/linux/kirkwood/patches-5.4/105-ea4500.patch
target/linux/kirkwood/profiles/00-default.mk