summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Schwierzeck <daniel.schwierzeck@gmail.com>2014-10-26 14:14:07 +0100
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>2014-11-01 18:18:05 +0100
commitedf7dbba69252c1db9e8981153bac6bb4b760516 (patch)
tree3ed3f75c010a42f267f5a11e7c18c9c6e4e90cf3
parentaa45f75eaf8165731ce1d810d9a4cfb84cf3ffff (diff)
downloadu-boot-imx-edf7dbba69252c1db9e8981153bac6bb4b760516.zip
u-boot-imx-edf7dbba69252c1db9e8981153bac6bb4b760516.tar.gz
u-boot-imx-edf7dbba69252c1db9e8981153bac6bb4b760516.tar.bz2
MIPS: kconfig: add options for dbau1x00 board variant select
The dbau1x00 board can be built with various variants which are configured via CONFIG_SYS_EXTRA_OPTIONS. This is deprecated. Thus add new Kconfig options for those board variants. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
-rw-r--r--board/dbau1x00/Kconfig18
-rw-r--r--configs/dbau1100_defconfig2
-rw-r--r--configs/dbau1500_defconfig2
-rw-r--r--configs/dbau1550_defconfig2
-rw-r--r--configs/dbau1550_el_defconfig2
5 files changed, 22 insertions, 4 deletions
diff --git a/board/dbau1x00/Kconfig b/board/dbau1x00/Kconfig
index 3e3cb77..1286e45 100644
--- a/board/dbau1x00/Kconfig
+++ b/board/dbau1x00/Kconfig
@@ -9,4 +9,22 @@ config SYS_SOC
config SYS_CONFIG_NAME
default "dbau1x00"
+menu "dbau1x00 board options"
+
+choice
+ prompt "Select au1x00 SoC type"
+
+config DBAU1100
+ bool "Select AU1100"
+
+config DBAU1500
+ bool "Select AU1500"
+
+config DBAU1550
+ bool "Select AU1550"
+
+endchoice
+
+endmenu
+
endif
diff --git a/configs/dbau1100_defconfig b/configs/dbau1100_defconfig
index db6f98e..aac9f03 100644
--- a/configs/dbau1100_defconfig
+++ b/configs/dbau1100_defconfig
@@ -1,4 +1,4 @@
-CONFIG_SYS_EXTRA_OPTIONS="DBAU1100"
CONFIG_MIPS=y
CONFIG_TARGET_DBAU1X00=y
CONFIG_SYS_BIG_ENDIAN=y
+CONFIG_DBAU1100=y
diff --git a/configs/dbau1500_defconfig b/configs/dbau1500_defconfig
index d2fbff9..d96de13 100644
--- a/configs/dbau1500_defconfig
+++ b/configs/dbau1500_defconfig
@@ -1,4 +1,4 @@
-CONFIG_SYS_EXTRA_OPTIONS="DBAU1500"
CONFIG_MIPS=y
CONFIG_TARGET_DBAU1X00=y
CONFIG_SYS_BIG_ENDIAN=y
+CONFIG_DBAU1500=y
diff --git a/configs/dbau1550_defconfig b/configs/dbau1550_defconfig
index 3142391..a2dfe18 100644
--- a/configs/dbau1550_defconfig
+++ b/configs/dbau1550_defconfig
@@ -1,4 +1,4 @@
-CONFIG_SYS_EXTRA_OPTIONS="DBAU1550"
CONFIG_MIPS=y
CONFIG_TARGET_DBAU1X00=y
CONFIG_SYS_BIG_ENDIAN=y
+CONFIG_DBAU1550=y
diff --git a/configs/dbau1550_el_defconfig b/configs/dbau1550_el_defconfig
index 514f227..767326f 100644
--- a/configs/dbau1550_el_defconfig
+++ b/configs/dbau1550_el_defconfig
@@ -1,4 +1,4 @@
-CONFIG_SYS_EXTRA_OPTIONS="DBAU1550"
CONFIG_MIPS=y
CONFIG_TARGET_DBAU1X00=y
CONFIG_SYS_LITTLE_ENDIAN=y
+CONFIG_DBAU1550=y