ixp4xx: Break out mv88e6060 DSA switch to package
authorLinus Walleij <linus.walleij@linaro.org>
Fri, 27 Dec 2024 23:13:37 +0000 (00:13 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 4 Jan 2025 18:27:05 +0000 (19:27 +0100)
commite80b7a63f18120620a534db598dd0d96df38a5e1
treeecac062c34c6e151ff3246e4bdf4b7d2c5b29530
parent3d0ed57b16bf093f9ca94436b4710da48393b746
ixp4xx: Break out mv88e6060 DSA switch to package

Just one of the devices uses the Marvell MV88E6060 DSA
switch so break this out from the generic kernel config
and into a package selected only by that single device
and probed at boot instead.

The big win is from being able to drop the dsa_core
(~600KB) kernel module out of the common kernel on
devices with no DSA switch.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
(cherry picked from commit 2456a2fd7f72d6afcee4ac9c2eccb312d0b1d36d)
package/kernel/linux/modules/netdevices.mk
target/linux/ixp4xx/config-6.6
target/linux/ixp4xx/image/Makefile