[PATCH 14/25] controlcenterdc: Migrate CUSTOMER_BOARD_SUPPORT to Kconfig
Stefan Roese
sr at denx.de
Thu Mar 31 11:00:40 CEST 2022
On 3/31/22 00:07, Tom Rini wrote:
> This symbol is only possibly useful on some mvebu platforms, so move the
> symbol there and select it for the only current user.
>
> Cc: Mario Six <mario.six at gdsys.cc>
> Cc: Stefan Roese <sr at denx.de>
> Signed-off-by: Tom Rini <trini at konsulko.com>
Reviewed-by: Stefan Roese <sr at denx.de>
Thanks,
Stefan
> ---
> arch/arm/mach-mvebu/Kconfig | 4 ++++
> include/configs/controlcenterdc.h | 5 -----
> 2 files changed, 4 insertions(+), 5 deletions(-)
>
> diff --git a/arch/arm/mach-mvebu/Kconfig b/arch/arm/mach-mvebu/Kconfig
> index e17a55a44261..21d9db2638d6 100644
> --- a/arch/arm/mach-mvebu/Kconfig
> +++ b/arch/arm/mach-mvebu/Kconfig
> @@ -90,6 +90,9 @@ config 88F6820
> bool
> select ARMADA_38X
>
> +config CUSTOMER_BOARD_SUPPORT
> + bool
> +
> choice
> prompt "Armada XP/375/38x/3700/7K/8K board select"
> optional
> @@ -173,6 +176,7 @@ config TARGET_THEADORABLE
> config TARGET_CONTROLCENTERDC
> bool "Support CONTROLCENTERDC"
> select 88F6820
> + select CUSTOMER_BOARD_SUPPORT
>
> config TARGET_X530
> bool "Support Allied Telesis x530"
> diff --git a/include/configs/controlcenterdc.h b/include/configs/controlcenterdc.h
> index a7d922c3a237..b499d7085fd4 100644
> --- a/include/configs/controlcenterdc.h
> +++ b/include/configs/controlcenterdc.h
> @@ -7,11 +7,6 @@
> #ifndef _CONFIG_CONTROLCENTERDC_H
> #define _CONFIG_CONTROLCENTERDC_H
>
> -/*
> - * High Level Configuration Options (easy to change)
> - */
> -#define CONFIG_CUSTOMER_BOARD_SUPPORT
> -
> /*
> * TEXT_BASE needs to be below 16MiB, since this area is scrubbed
> * for DDR ECC byte filling in the SPL before loading the main
Viele Grüße,
Stefan Roese
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: sr at denx.de
More information about the U-Boot
mailing list