Skip to content

Commit edf7dbb

Browse files
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 <[email protected]>
1 parent aa45f75 commit edf7dbb

File tree

5 files changed

+22
-4
lines changed

5 files changed

+22
-4
lines changed

board/dbau1x00/Kconfig

+18
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,22 @@ config SYS_SOC
99
config SYS_CONFIG_NAME
1010
default "dbau1x00"
1111

12+
menu "dbau1x00 board options"
13+
14+
choice
15+
prompt "Select au1x00 SoC type"
16+
17+
config DBAU1100
18+
bool "Select AU1100"
19+
20+
config DBAU1500
21+
bool "Select AU1500"
22+
23+
config DBAU1550
24+
bool "Select AU1550"
25+
26+
endchoice
27+
28+
endmenu
29+
1230
endif

configs/dbau1100_defconfig

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
CONFIG_SYS_EXTRA_OPTIONS="DBAU1100"
21
CONFIG_MIPS=y
32
CONFIG_TARGET_DBAU1X00=y
43
CONFIG_SYS_BIG_ENDIAN=y
4+
CONFIG_DBAU1100=y

configs/dbau1500_defconfig

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
CONFIG_SYS_EXTRA_OPTIONS="DBAU1500"
21
CONFIG_MIPS=y
32
CONFIG_TARGET_DBAU1X00=y
43
CONFIG_SYS_BIG_ENDIAN=y
4+
CONFIG_DBAU1500=y

configs/dbau1550_defconfig

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
CONFIG_SYS_EXTRA_OPTIONS="DBAU1550"
21
CONFIG_MIPS=y
32
CONFIG_TARGET_DBAU1X00=y
43
CONFIG_SYS_BIG_ENDIAN=y
4+
CONFIG_DBAU1550=y

configs/dbau1550_el_defconfig

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
CONFIG_SYS_EXTRA_OPTIONS="DBAU1550"
21
CONFIG_MIPS=y
32
CONFIG_TARGET_DBAU1X00=y
43
CONFIG_SYS_LITTLE_ENDIAN=y
4+
CONFIG_DBAU1550=y

0 commit comments

Comments
 (0)