mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-24 21:54:01 +00:00
Convert CONFIG_BOARD_COMMON to Kconfig
This converts the following to Kconfig: CONFIG_BOARD_COMMON Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
parent
43ea564652
commit
a7e6c6b1be
12 changed files with 4 additions and 20 deletions
|
@ -1,5 +1,9 @@
|
||||||
if ARCH_EXYNOS
|
if ARCH_EXYNOS
|
||||||
|
|
||||||
|
config BOARD_COMMON
|
||||||
|
def_bool y
|
||||||
|
depends on !TARGET_SMDKV310 && !TARGET_ARNDALE
|
||||||
|
|
||||||
choice
|
choice
|
||||||
prompt "EXYNOS architecture type select"
|
prompt "EXYNOS architecture type select"
|
||||||
optional
|
optional
|
||||||
|
|
|
@ -10,8 +10,6 @@
|
||||||
|
|
||||||
#include <configs/exynos7420-common.h>
|
#include <configs/exynos7420-common.h>
|
||||||
|
|
||||||
#define CONFIG_BOARD_COMMON
|
|
||||||
|
|
||||||
#define CONFIG_ESPRESSO7420
|
#define CONFIG_ESPRESSO7420
|
||||||
|
|
||||||
#define CONFIG_SYS_SDRAM_BASE 0x40000000
|
#define CONFIG_SYS_SDRAM_BASE 0x40000000
|
||||||
|
|
|
@ -12,8 +12,6 @@
|
||||||
|
|
||||||
#include "exynos-common.h"
|
#include "exynos-common.h"
|
||||||
|
|
||||||
#define CONFIG_BOARD_COMMON
|
|
||||||
|
|
||||||
/* SD/MMC configuration */
|
/* SD/MMC configuration */
|
||||||
#define CONFIG_MMC_DEFAULT_DEV 0
|
#define CONFIG_MMC_DEFAULT_DEV 0
|
||||||
|
|
||||||
|
|
|
@ -21,8 +21,6 @@
|
||||||
#define FLASH_SIZE (4 << 20)
|
#define FLASH_SIZE (4 << 20)
|
||||||
#define CONFIG_SPI_BOOTING
|
#define CONFIG_SPI_BOOTING
|
||||||
|
|
||||||
#define CONFIG_BOARD_COMMON
|
|
||||||
|
|
||||||
/* Display */
|
/* Display */
|
||||||
#ifdef CONFIG_LCD
|
#ifdef CONFIG_LCD
|
||||||
#define CONFIG_EXYNOS_FB
|
#define CONFIG_EXYNOS_FB
|
||||||
|
|
|
@ -36,8 +36,6 @@
|
||||||
#define CONFIG_SYS_BAUDRATE_TABLE \
|
#define CONFIG_SYS_BAUDRATE_TABLE \
|
||||||
{9600, 19200, 38400, 57600, 115200, 230400, 460800, 921600}
|
{9600, 19200, 38400, 57600, 115200, 230400, 460800, 921600}
|
||||||
|
|
||||||
#define CONFIG_BOARD_COMMON
|
|
||||||
|
|
||||||
#define CONFIG_SYS_SDRAM_BASE 0x40000000
|
#define CONFIG_SYS_SDRAM_BASE 0x40000000
|
||||||
#define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_TEXT_BASE + SZ_2M - GENERATED_GBL_DATA_SIZE)
|
#define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_TEXT_BASE + SZ_2M - GENERATED_GBL_DATA_SIZE)
|
||||||
/* DRAM Memory Banks */
|
/* DRAM Memory Banks */
|
||||||
|
|
|
@ -10,8 +10,6 @@
|
||||||
#include <configs/exynos5420-common.h>
|
#include <configs/exynos5420-common.h>
|
||||||
#include <configs/exynos5-common.h>
|
#include <configs/exynos5-common.h>
|
||||||
|
|
||||||
#define CONFIG_BOARD_COMMON
|
|
||||||
|
|
||||||
#define CONFIG_SYS_SDRAM_BASE 0x40000000
|
#define CONFIG_SYS_SDRAM_BASE 0x40000000
|
||||||
|
|
||||||
#define TZPC_BASE_OFFSET 0x10000
|
#define TZPC_BASE_OFFSET 0x10000
|
||||||
|
|
|
@ -15,6 +15,4 @@
|
||||||
#undef CONFIG_EXYNOS_FB
|
#undef CONFIG_EXYNOS_FB
|
||||||
#undef CONFIG_EXYNOS_DP
|
#undef CONFIG_EXYNOS_DP
|
||||||
|
|
||||||
#define CONFIG_BOARD_COMMON
|
|
||||||
|
|
||||||
#endif /* __CONFIG_SMDK_H */
|
#endif /* __CONFIG_SMDK_H */
|
||||||
|
|
|
@ -15,8 +15,6 @@
|
||||||
#undef CONFIG_EXYNOS_FB
|
#undef CONFIG_EXYNOS_FB
|
||||||
#undef CONFIG_EXYNOS_DP
|
#undef CONFIG_EXYNOS_DP
|
||||||
|
|
||||||
#define CONFIG_BOARD_COMMON
|
|
||||||
|
|
||||||
#define CONFIG_SMDK5420 /* which is in a SMDK5420 */
|
#define CONFIG_SMDK5420 /* which is in a SMDK5420 */
|
||||||
|
|
||||||
#define CONFIG_SYS_SDRAM_BASE 0x20000000
|
#define CONFIG_SYS_SDRAM_BASE 0x20000000
|
||||||
|
|
|
@ -10,7 +10,6 @@
|
||||||
|
|
||||||
#include "exynos4-common.h"
|
#include "exynos4-common.h"
|
||||||
|
|
||||||
#undef CONFIG_BOARD_COMMON
|
|
||||||
#undef CONFIG_USB_GADGET_DWC2_OTG_PHY
|
#undef CONFIG_USB_GADGET_DWC2_OTG_PHY
|
||||||
|
|
||||||
/* High Level Configuration Options */
|
/* High Level Configuration Options */
|
||||||
|
|
|
@ -15,6 +15,4 @@
|
||||||
#include <configs/exynos5-dt-common.h>
|
#include <configs/exynos5-dt-common.h>
|
||||||
#include <configs/exynos5-common.h>
|
#include <configs/exynos5-common.h>
|
||||||
|
|
||||||
#define CONFIG_BOARD_COMMON
|
|
||||||
|
|
||||||
#endif /* __CONFIG_SNOW_H */
|
#endif /* __CONFIG_SNOW_H */
|
||||||
|
|
|
@ -10,6 +10,4 @@
|
||||||
#include <configs/exynos5-dt-common.h>
|
#include <configs/exynos5-dt-common.h>
|
||||||
#include <configs/exynos5-common.h>
|
#include <configs/exynos5-common.h>
|
||||||
|
|
||||||
#define CONFIG_BOARD_COMMON
|
|
||||||
|
|
||||||
#endif /* __CONFIG_SPRING_H */
|
#endif /* __CONFIG_SPRING_H */
|
||||||
|
|
|
@ -37,7 +37,6 @@ CONFIG_BL2_OFFSET
|
||||||
CONFIG_BL2_SIZE
|
CONFIG_BL2_SIZE
|
||||||
CONFIG_BOARDDIR
|
CONFIG_BOARDDIR
|
||||||
CONFIG_BOARDNAME
|
CONFIG_BOARDNAME
|
||||||
CONFIG_BOARD_COMMON
|
|
||||||
CONFIG_BOARD_ECC_SUPPORT
|
CONFIG_BOARD_ECC_SUPPORT
|
||||||
CONFIG_BOARD_NAME
|
CONFIG_BOARD_NAME
|
||||||
CONFIG_BOARD_POSTCLK_INIT
|
CONFIG_BOARD_POSTCLK_INIT
|
||||||
|
|
Loading…
Reference in a new issue