controlcenterdc: Migrate CUSTOMER_BOARD_SUPPORT to Kconfig
authorTom Rini <trini@konsulko.com>
Wed, 30 Mar 2022 22:07:24 +0000 (18:07 -0400)
committerTom Rini <trini@konsulko.com>
Fri, 8 Apr 2022 14:46:22 +0000 (10:46 -0400)
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@gdsys.cc>
Cc: Stefan Roese <sr@denx.de>
Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Stefan Roese <sr@denx.de>
arch/arm/mach-mvebu/Kconfig
include/configs/controlcenterdc.h

index e17a55a..21d9db2 100644 (file)
@@ -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"
index a7d922c..b499d70 100644 (file)
@@ -8,11 +8,6 @@
 #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
  * U-Boot into it.