
On Wed, Aug 28, 2024 at 11:02:20AM +0100, Oliver Gaskell wrote:
Moves common options between all SC5xx series boards to the ARCH_SC5XX option instead of duplicating them.
Also, it was possible to select multiple of the SoC support options. Given a U-Boot binary can only support a single platform, this moves the SoC selection to a `choice`, making them mutually exclusive.
Signed-off-by: Oliver Gaskell Oliver.Gaskell@analog.com
arch/arm/Kconfig | 8 ++++++++ arch/arm/mach-sc5xx/Kconfig | 31 +++++++++++-------------------- 2 files changed, 19 insertions(+), 20 deletions(-)
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index ba0359fed5..69decaa591 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -1868,6 +1868,14 @@ config TARGET_LS1046AFRWY
config ARCH_SC5XX bool "Analog Devices SC5XX-processor family"
- select SPL
- select SUPPORT_SPL
- select PANIC_HANG
- select DM
- select SPL_DM
- select DM_SERIAL
- select TIMER
- select ADI_SC5XX_TIMER
This should be sorted. It's not required but it makes adding more things later easier. And yes, there's many unsorted examples. This applies throughout the series.