Convert CONFIG_BOARD_TYPES to Kconfig
This converts the following to Kconfig: CONFIG_BOARD_TYPES Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Lukasz Majewski <lukma@denx.de> Acked-by: Alexey Brodkin <abrodkin@synopsys.com> Reviewed-by: Minkyu Kang <mk7.kang@samsung.com>
This commit is contained in:
parent
97276a91db
commit
bed44f499f
@ -656,6 +656,14 @@ config BOUNCE_BUFFER
|
||||
A second possible use of bounce buffers is their ability to
|
||||
provide aligned buffers for DMA operations.
|
||||
|
||||
config BOARD_TYPES
|
||||
bool "Call get_board_type() to get and display the board type"
|
||||
help
|
||||
If this option is enabled, checkboard() will call get_board_type()
|
||||
to get a string containing the board type and this will be
|
||||
displayed immediately after the model is shown on the console
|
||||
early in boot.
|
||||
|
||||
menu "Start-up hooks"
|
||||
|
||||
config ARCH_EARLY_INIT_R
|
||||
|
@ -8,6 +8,7 @@ CONFIG_DEBUG_UART=y
|
||||
CONFIG_BOOTDELAY=3
|
||||
CONFIG_USE_BOOTARGS=y
|
||||
CONFIG_BOOTARGS="console=ttyS3,115200n8"
|
||||
CONFIG_BOARD_TYPES=y
|
||||
CONFIG_BOARD_EARLY_INIT_F=y
|
||||
CONFIG_HUSH_PARSER=y
|
||||
CONFIG_SYS_PROMPT="AXS# "
|
||||
|
@ -8,6 +8,7 @@ CONFIG_DEBUG_UART=y
|
||||
CONFIG_BOOTDELAY=3
|
||||
CONFIG_USE_BOOTARGS=y
|
||||
CONFIG_BOOTARGS="console=ttyS3,115200n8"
|
||||
CONFIG_BOARD_TYPES=y
|
||||
CONFIG_BOARD_EARLY_INIT_F=y
|
||||
CONFIG_HUSH_PARSER=y
|
||||
CONFIG_SYS_PROMPT="AXS# "
|
||||
|
@ -2,6 +2,7 @@ CONFIG_ARM=y
|
||||
CONFIG_ARCH_EXYNOS=y
|
||||
CONFIG_SYS_TEXT_BASE=0x43E00000
|
||||
CONFIG_ARCH_EXYNOS5=y
|
||||
CONFIG_BOARD_TYPES=y
|
||||
CONFIG_IDENT_STRING=" for ODROID-XU3/XU4/HC1/HC2"
|
||||
CONFIG_DISTRO_DEFAULTS=y
|
||||
CONFIG_NR_DRAM_BANKS=8
|
||||
|
@ -3,6 +3,7 @@ CONFIG_ARCH_EXYNOS=y
|
||||
CONFIG_SYS_TEXT_BASE=0x43e00000
|
||||
CONFIG_ARCH_EXYNOS4=y
|
||||
CONFIG_TARGET_ODROID=y
|
||||
CONFIG_BOARD_TYPES=y
|
||||
CONFIG_DISTRO_DEFAULTS=y
|
||||
CONFIG_NR_DRAM_BANKS=8
|
||||
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
|
||||
|
@ -31,11 +31,6 @@
|
||||
#define CONFIG_SYS_BOOTM_LEN SZ_128M
|
||||
#define CONFIG_SYS_LOAD_ADDR 0x82000000
|
||||
|
||||
/*
|
||||
* This board might be of different versions so handle it
|
||||
*/
|
||||
#define CONFIG_BOARD_TYPES
|
||||
|
||||
/*
|
||||
* NAND Flash configuration
|
||||
*/
|
||||
|
@ -32,11 +32,6 @@
|
||||
#define CONFIG_SYS_BOOTM_LEN SZ_128M
|
||||
#define CONFIG_SYS_LOAD_ADDR 0x82000000
|
||||
|
||||
/*
|
||||
* This board might be of different versions so handle it
|
||||
*/
|
||||
#define CONFIG_BOARD_TYPES
|
||||
|
||||
/*
|
||||
* UART configuration
|
||||
*/
|
||||
|
@ -186,7 +186,6 @@
|
||||
* TODO: Add Odroid X support
|
||||
*/
|
||||
#define CONFIG_MISC_COMMON
|
||||
#define CONFIG_BOARD_TYPES
|
||||
|
||||
#undef CONFIG_REVISION_TAG
|
||||
|
||||
|
@ -87,7 +87,6 @@
|
||||
/* Set soc_rev, soc_id, board_rev, boardname, fdtfile */
|
||||
#define CONFIG_ODROID_REV_AIN 9
|
||||
#define CONFIG_REVISION_TAG
|
||||
#define CONFIG_BOARD_TYPES
|
||||
|
||||
#undef CONFIG_SYS_BOARD
|
||||
#define CONFIG_SYS_BOARD "odroid"
|
||||
|
@ -129,7 +129,6 @@ CONFIG_BOARD_POSTCLK_INIT
|
||||
CONFIG_BOARD_REVISION_TAG
|
||||
CONFIG_BOARD_SIZE_LIMIT
|
||||
CONFIG_BOARD_TAURUS
|
||||
CONFIG_BOARD_TYPES
|
||||
CONFIG_BOOGER
|
||||
CONFIG_BOOTBLOCK
|
||||
CONFIG_BOOTFILE
|
||||
|
Loading…
Reference in New Issue
Block a user