diff options
author | Weijie Gao <weijie.gao@mediatek.com> | 2025-01-10 16:41:13 +0800 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2025-01-23 18:46:42 -0600 |
commit | 626cdca5b68acdc72d2533e2ed2306c06f296725 (patch) | |
tree | f448263582bac3ea52ededba8789c7f07b5c8da2 /arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog.c | |
parent | 3912611cd1a03c45a91c6f3b42b27c2dc6d67cd9 (diff) |
net: mediatek: split ethernet switch code from mtk_eth.c
mtk_eth.c contains not only the ethernet GMAC/DMA driver, but also
some ethernet switch initialization code. As we may add more switch
support in the future, it's better to move them out of mtk_eth.c to
avoid increasing the code complexity.
Since not all switches are supported for a particular board, Kconfig
options are added to allow user to select which switch should be
built into u-boot. If multiple switches are selected, auto-detecting
can also be enabled.
Signed-off-by: Weijie Gao <weijie.gao@mediatek.com>
Diffstat (limited to 'arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog.c')
0 files changed, 0 insertions, 0 deletions