Commit 6566041c authored by Simon Glass's avatar Simon Glass
Browse files

powerpc: ppc4xx: Move CANYONLANDS/GLACIER/ARCHES to Kconfig



Move these options to Kconfig and remove them from the CONFIG files.
Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
parent 0bca284b
...@@ -9,4 +9,24 @@ config SYS_VENDOR ...@@ -9,4 +9,24 @@ config SYS_VENDOR
config SYS_CONFIG_NAME config SYS_CONFIG_NAME
default "canyonlands" default "canyonlands"
choice BOARD_TYPE
prompt "Select which board to build for"
config CANYONLANDS
bool "Glacier"
help
Select this to build for the Canyonlands 460EX board.
config GLACIER
bool "Glacier"
help
Select this to build for the Glacier 460GT board.
config ARCHES
bool "Arches"
help
Select this to build for the Arches dual 460GT board.
endchoice
endif endif
CONFIG_SYS_EXTRA_OPTIONS="ARCHES"
CONFIG_PPC=y CONFIG_PPC=y
CONFIG_4xx=y CONFIG_4xx=y
CONFIG_TARGET_CANYONLANDS=y CONFIG_TARGET_CANYONLANDS=y
CONFIG_ARCHES=y
CONFIG_SYS_EXTRA_OPTIONS="CANYONLANDS"
CONFIG_PPC=y CONFIG_PPC=y
CONFIG_4xx=y CONFIG_4xx=y
CONFIG_TARGET_CANYONLANDS=y CONFIG_TARGET_CANYONLANDS=y
CONFIG_CANYONLANDS=y
CONFIG_SYS_EXTRA_OPTIONS="GLACIER"
CONFIG_PPC=y CONFIG_PPC=y
CONFIG_4xx=y CONFIG_4xx=y
CONFIG_TARGET_CANYONLANDS=y CONFIG_TARGET_CANYONLANDS=y
CONFIG_GLACIER=y
...@@ -11,6 +11,8 @@ ...@@ -11,6 +11,8 @@
#ifndef __CONFIG_H #ifndef __CONFIG_H
#define __CONFIG_H #define __CONFIG_H
#include <linux/kconfig.h>
/*----------------------------------------------------------------------- /*-----------------------------------------------------------------------
* High Level Configuration Options * High Level Configuration Options
*----------------------------------------------------------------------*/ *----------------------------------------------------------------------*/
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment