From edf7dbba69252c1db9e8981153bac6bb4b760516 Mon Sep 17 00:00:00 2001 From: Daniel Schwierzeck Date: Sun, 26 Oct 2014 14:14:07 +0100 Subject: [PATCH] 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 --- board/dbau1x00/Kconfig | 18 ++++++++++++++++++ configs/dbau1100_defconfig | 2 +- configs/dbau1500_defconfig | 2 +- configs/dbau1550_defconfig | 2 +- configs/dbau1550_el_defconfig | 2 +- 5 files changed, 22 insertions(+), 4 deletions(-) diff --git a/board/dbau1x00/Kconfig b/board/dbau1x00/Kconfig index 3e3cb77352..1286e4509f 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 db6f98ea00..aac9f032b0 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 d2fbff9b38..d96de13ff9 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 31423919db..a2dfe18c78 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 514f227627..767326f6d4 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 -- 2.30.2