[PATCH] arm: mediatek: merge board Kconfigs into mach-mediatek
Tom Rini
trini at konsulko.com
Thu Jul 29 02:46:17 CEST 2021
On Mon, Jul 19, 2021 at 01:07:02PM +0200, Guillaume La Roque wrote:
> On MediaTek boards we cannot override the SYS_BOARD / SYS_CONFIG_NAME
> variables from defconfig.
> This is because in board/mediatek/mtXXXX/Kconfig this value was override
> by default due to the if CONFIG_TARGET_MTXXXX condition.
>
> Merge all the Kconfigs to the mach-medatek/Kconfig.
>
> This way:
> - we only define SYS_{SOC,VENDOR} once
> - all board definitions are in a single place, simplifying the build logic.
>
> Signed-off-by: Guillaume La Roque <glaroque at baylibre.com>
> ---
> arch/arm/mach-mediatek/Kconfig | 42 +++++++++++++++++++++++-----
> arch/mips/mach-mtmips/Kconfig | 3 ++
> arch/mips/mach-mtmips/mt7620/Kconfig | 8 +++++-
> arch/mips/mach-mtmips/mt7628/Kconfig | 11 +++++++-
> board/mediatek/mt7620/Kconfig | 12 --------
> board/mediatek/mt7622/Kconfig | 17 -----------
> board/mediatek/mt7623/Kconfig | 13 ---------
> board/mediatek/mt7628/Kconfig | 12 --------
> board/mediatek/mt7629/Kconfig | 17 -----------
> board/mediatek/mt8183/Kconfig | 13 ---------
> board/mediatek/mt8512/Kconfig | 14 ----------
> board/mediatek/mt8516/Kconfig | 13 ---------
> board/mediatek/mt8518/Kconfig | 14 ----------
> 13 files changed, 55 insertions(+), 134 deletions(-)
> delete mode 100644 board/mediatek/mt7620/Kconfig
> delete mode 100644 board/mediatek/mt7622/Kconfig
> delete mode 100644 board/mediatek/mt7623/Kconfig
> delete mode 100644 board/mediatek/mt7628/Kconfig
> delete mode 100644 board/mediatek/mt7629/Kconfig
> delete mode 100644 board/mediatek/mt8183/Kconfig
> delete mode 100644 board/mediatek/mt8512/Kconfig
> delete mode 100644 board/mediatek/mt8516/Kconfig
> delete mode 100644 board/mediatek/mt8518/Kconfig
This breaks:
gardena-smart-gateway-mt7688 linkit-smart-7688 vocore2
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210728/6b9873d7/attachment.sig>
More information about the U-Boot
mailing list