]> git.baikalelectronics.ru Git - uboot.git/commitdiff
Convert CONFIG_BOARD_COMMON to Kconfig
authorTom Rini <trini@konsulko.com>
Wed, 23 Feb 2022 17:28:17 +0000 (12:28 -0500)
committerTom Rini <trini@konsulko.com>
Thu, 3 Mar 2022 21:51:19 +0000 (16:51 -0500)
This converts the following to Kconfig:
   CONFIG_BOARD_COMMON

Signed-off-by: Tom Rini <trini@konsulko.com>
12 files changed:
arch/arm/mach-exynos/Kconfig
include/configs/espresso7420.h
include/configs/exynos4-common.h
include/configs/exynos5-dt-common.h
include/configs/exynos78x0-common.h
include/configs/odroid_xu3.h
include/configs/smdk5250.h
include/configs/smdk5420.h
include/configs/smdkv310.h
include/configs/snow.h
include/configs/spring.h
scripts/config_whitelist.txt

index 6087d93c71a4611eb1393809048e39040ed2c021..f73dbbb507d148e6e35fc9c1441adf8dc3a05565 100644 (file)
@@ -1,5 +1,9 @@
 if ARCH_EXYNOS
 
+config BOARD_COMMON
+       def_bool y
+       depends on !TARGET_SMDKV310 && !TARGET_ARNDALE
+
 choice
        prompt "EXYNOS architecture type select"
        optional
index 2495db93f8d422b5bd85cd3c61ddd25fa5fd6381..d936b7f09fcd99866cca6c4f98912e0c9b825a18 100644 (file)
@@ -10,8 +10,6 @@
 
 #include <configs/exynos7420-common.h>
 
-#define CONFIG_BOARD_COMMON
-
 #define CONFIG_ESPRESSO7420
 
 #define CONFIG_SYS_SDRAM_BASE          0x40000000
index 52dcf7a3bc429b57dc3043a2617cb9d355992158..4202c6261262bb86fea0d54679257a49ab13af0c 100644 (file)
@@ -12,8 +12,6 @@
 
 #include "exynos-common.h"
 
-#define CONFIG_BOARD_COMMON
-
 /* SD/MMC configuration */
 #define CONFIG_MMC_DEFAULT_DEV 0
 
index 00b67787d9e6e7f9f46a3077656cf76dd3deb27a..bcbdfa7ae35a68fc7c69005c759e2a42bfb6b59e 100644 (file)
@@ -21,8 +21,6 @@
 #define FLASH_SIZE             (4 << 20)
 #define CONFIG_SPI_BOOTING
 
-#define CONFIG_BOARD_COMMON
-
 /* Display */
 #ifdef CONFIG_LCD
 #define CONFIG_EXYNOS_FB
index 8d3449f028c31dffa48cf9c90d5337b20d01787e..6b1df63dc32f51e139e371922940b998dd5e2fd1 100644 (file)
@@ -36,8 +36,6 @@
 #define CONFIG_SYS_BAUDRATE_TABLE \
        {9600, 19200, 38400, 57600, 115200, 230400, 460800, 921600}
 
-#define CONFIG_BOARD_COMMON
-
 #define CONFIG_SYS_SDRAM_BASE          0x40000000
 #define CONFIG_SYS_INIT_SP_ADDR                (CONFIG_SYS_TEXT_BASE + SZ_2M - GENERATED_GBL_DATA_SIZE)
 /* DRAM Memory Banks */
index a4825982a898c0c8d1de6b9ae4f191a2be5a0c44..616f25eafd3ece39483bf0d89fa4d1640989ee92 100644 (file)
@@ -10,8 +10,6 @@
 #include <configs/exynos5420-common.h>
 #include <configs/exynos5-common.h>
 
-#define CONFIG_BOARD_COMMON
-
 #define CONFIG_SYS_SDRAM_BASE          0x40000000
 
 #define TZPC_BASE_OFFSET               0x10000
index d7e86f2f7644cd330bfbd837b2a1d1aa9daa0358..1ea3b650cd26835b471fb7115511fc5170472b95 100644 (file)
@@ -15,6 +15,4 @@
 #undef CONFIG_EXYNOS_FB
 #undef CONFIG_EXYNOS_DP
 
-#define CONFIG_BOARD_COMMON
-
 #endif /* __CONFIG_SMDK_H */
index 38691b63dafec7e2f44357dcd44a29a1250c0bf3..f26995d5c1c917e9837b641d32b64219c41dea99 100644 (file)
@@ -15,8 +15,6 @@
 #undef CONFIG_EXYNOS_FB
 #undef CONFIG_EXYNOS_DP
 
-#define CONFIG_BOARD_COMMON
-
 #define CONFIG_SMDK5420                        /* which is in a SMDK5420 */
 
 #define CONFIG_SYS_SDRAM_BASE  0x20000000
index 32196a5aef946bc8deeaa550aac8df7c08d10c6f..84b8537e54dfef5ca5dded0365ca92404a7dc3f3 100644 (file)
@@ -10,7 +10,6 @@
 
 #include "exynos4-common.h"
 
-#undef CONFIG_BOARD_COMMON
 #undef CONFIG_USB_GADGET_DWC2_OTG_PHY
 
 /* High Level Configuration Options */
index c082b2d82d86b029cd5da66a2f37cad550c3aec8..00d9b4d41673c281eaba72035b12d440edd2fc5c 100644 (file)
@@ -15,6 +15,4 @@
 #include <configs/exynos5-dt-common.h>
 #include <configs/exynos5-common.h>
 
-#define CONFIG_BOARD_COMMON
-
 #endif /* __CONFIG_SNOW_H */
index 0b052453a51c03a358e7b567f412c4764e227281..2f0a5807be0d58a6e7f15ae7a966d9e98e8497d5 100644 (file)
@@ -10,6 +10,4 @@
 #include <configs/exynos5-dt-common.h>
 #include <configs/exynos5-common.h>
 
-#define CONFIG_BOARD_COMMON
-
 #endif /* __CONFIG_SPRING_H */
index a6bc234f51ed4d09c60bd8bb050b7ba6f8736eb9..1e78d266aed4a2f6e3a424351515c7dd06f30363 100644 (file)
@@ -37,7 +37,6 @@ CONFIG_BL2_OFFSET
 CONFIG_BL2_SIZE
 CONFIG_BOARDDIR
 CONFIG_BOARDNAME
-CONFIG_BOARD_COMMON
 CONFIG_BOARD_ECC_SUPPORT
 CONFIG_BOARD_NAME
 CONFIG_BOARD_POSTCLK_INIT