Re: [PATCH] arm: mediatek: split config into separate options for the board and SoC

2024-07-04 Thread Leith Bade
Hi Weijie, > I have a better example for reference: > arch/mips/mach-mtmips > > ARCH_MTMIPS is defined for the entire MediaTek MIPS platform, same as > ARCH_MEDIATEK. > > The mtmips then defined its SoC families: > SOC_MT7620, SOC_MT7621 and SOC_MT7628 > > Each SoC has its own folder and Kconfig,

[PATCH] arm: mediatek: split config into separate options for the board and SoC

2024-07-03 Thread Leith Bade
The current MediaTek Kconfig layout prevents the addition of new board targets that require the existing SoC drivers. By making the SoC drivers depend on new CONFIG_MT variables, it becomes possible to select these drivers when adding new boards to the board selection list. The existing TARGET

Re: [PATCH] arm: mediatek: split config into separate options for the board and SoC

2024-07-03 Thread 高惟杰
Hi Leith, I have a better example for reference: arch/mips/mach-mtmips ARCH_MTMIPS is defined for the entire MediaTek MIPS platform, same as ARCH_MEDIATEK. The mtmips then defined its SoC families: SOC_MT7620, SOC_MT7621 and SOC_MT7628 Each SoC has its own folder and Kconfig, e.g.: arch/mips/ma