xref: /openbmc/u-boot/arch/mips/Kconfig (revision 02611cbb7ca56d5dc405cf616ea570ae7bce43fa)
1dd84058dSMasahiro Yamadamenu "MIPS architecture"
2dd84058dSMasahiro Yamada	depends on MIPS
3dd84058dSMasahiro Yamada
4dd84058dSMasahiro Yamadaconfig SYS_ARCH
5dd84058dSMasahiro Yamada	default "mips"
6dd84058dSMasahiro Yamada
77bfd5ee1SMasahiro Yamadaconfig USE_PRIVATE_LIBGCC
87bfd5ee1SMasahiro Yamada	default y
97bfd5ee1SMasahiro Yamada
10dd84058dSMasahiro Yamadachoice
11dd84058dSMasahiro Yamada	prompt "Target select"
12dd84058dSMasahiro Yamada
13dd84058dSMasahiro Yamadaconfig TARGET_QEMU_MIPS
14dd84058dSMasahiro Yamada	bool "Support qemu-mips"
150e1dc345SDaniel Schwierzeck	select SUPPORTS_BIG_ENDIAN
160e1dc345SDaniel Schwierzeck	select SUPPORTS_LITTLE_ENDIAN
17*02611cbbSDaniel Schwierzeck	select SUPPORTS_CPU_MIPS32_R1
18*02611cbbSDaniel Schwierzeck	select SUPPORTS_CPU_MIPS32_R2
19dd84058dSMasahiro Yamada
20dd84058dSMasahiro Yamadaconfig TARGET_MALTA
21dd84058dSMasahiro Yamada	bool "Support malta"
220e1dc345SDaniel Schwierzeck	select SUPPORTS_BIG_ENDIAN
230e1dc345SDaniel Schwierzeck	select SUPPORTS_LITTLE_ENDIAN
24*02611cbbSDaniel Schwierzeck	select SUPPORTS_CPU_MIPS32_R1
25*02611cbbSDaniel Schwierzeck	select SUPPORTS_CPU_MIPS32_R2
26dd84058dSMasahiro Yamada
27dd84058dSMasahiro Yamadaconfig TARGET_VCT
28dd84058dSMasahiro Yamada	bool "Support vct"
290e1dc345SDaniel Schwierzeck	select SUPPORTS_BIG_ENDIAN
30*02611cbbSDaniel Schwierzeck	select SUPPORTS_CPU_MIPS32_R1
31*02611cbbSDaniel Schwierzeck	select SUPPORTS_CPU_MIPS32_R2
32dd84058dSMasahiro Yamada
33dd84058dSMasahiro Yamadaconfig TARGET_DBAU1X00
34dd84058dSMasahiro Yamada	bool "Support dbau1x00"
350e1dc345SDaniel Schwierzeck	select SUPPORTS_BIG_ENDIAN
360e1dc345SDaniel Schwierzeck	select SUPPORTS_LITTLE_ENDIAN
37*02611cbbSDaniel Schwierzeck	select SUPPORTS_CPU_MIPS32_R1
38*02611cbbSDaniel Schwierzeck	select SUPPORTS_CPU_MIPS32_R2
39dd84058dSMasahiro Yamada
40dd84058dSMasahiro Yamadaconfig TARGET_PB1X00
41dd84058dSMasahiro Yamada	bool "Support pb1x00"
420e1dc345SDaniel Schwierzeck	select SUPPORTS_LITTLE_ENDIAN
43*02611cbbSDaniel Schwierzeck	select SUPPORTS_CPU_MIPS32_R1
44*02611cbbSDaniel Schwierzeck	select SUPPORTS_CPU_MIPS32_R2
45dd84058dSMasahiro Yamada
46dd84058dSMasahiro Yamadaconfig TARGET_QEMU_MIPS64
47dd84058dSMasahiro Yamada	bool "Support qemu-mips64"
480e1dc345SDaniel Schwierzeck	select SUPPORTS_BIG_ENDIAN
490e1dc345SDaniel Schwierzeck	select SUPPORTS_LITTLE_ENDIAN
50*02611cbbSDaniel Schwierzeck	select SUPPORTS_CPU_MIPS64_R1
51*02611cbbSDaniel Schwierzeck	select SUPPORTS_CPU_MIPS64_R2
52dd84058dSMasahiro Yamada
53dd84058dSMasahiro Yamadaendchoice
54dd84058dSMasahiro Yamada
55dd84058dSMasahiro Yamadasource "board/dbau1x00/Kconfig"
56dd84058dSMasahiro Yamadasource "board/imgtec/malta/Kconfig"
57dd84058dSMasahiro Yamadasource "board/micronas/vct/Kconfig"
58dd84058dSMasahiro Yamadasource "board/pb1x00/Kconfig"
59dd84058dSMasahiro Yamadasource "board/qemu-mips/Kconfig"
60dd84058dSMasahiro Yamada
610e1dc345SDaniel Schwierzeckif MIPS
620e1dc345SDaniel Schwierzeck
630e1dc345SDaniel Schwierzeckchoice
640e1dc345SDaniel Schwierzeck	prompt "Endianness selection"
650e1dc345SDaniel Schwierzeck	help
660e1dc345SDaniel Schwierzeck	  Some MIPS boards can be configured for either little or big endian
670e1dc345SDaniel Schwierzeck	  byte order. These modes require different U-Boot images. In general there
680e1dc345SDaniel Schwierzeck	  is one preferred byteorder for a particular system but some systems are
690e1dc345SDaniel Schwierzeck	  just as commonly used in the one or the other endianness.
700e1dc345SDaniel Schwierzeck
710e1dc345SDaniel Schwierzeckconfig SYS_BIG_ENDIAN
720e1dc345SDaniel Schwierzeck	bool "Big endian"
730e1dc345SDaniel Schwierzeck	depends on SUPPORTS_BIG_ENDIAN
740e1dc345SDaniel Schwierzeck
750e1dc345SDaniel Schwierzeckconfig SYS_LITTLE_ENDIAN
760e1dc345SDaniel Schwierzeck	bool "Little endian"
770e1dc345SDaniel Schwierzeck	depends on SUPPORTS_LITTLE_ENDIAN
780e1dc345SDaniel Schwierzeck
790e1dc345SDaniel Schwierzeckendchoice
800e1dc345SDaniel Schwierzeck
81*02611cbbSDaniel Schwierzeckchoice
82*02611cbbSDaniel Schwierzeck	prompt "CPU selection"
83*02611cbbSDaniel Schwierzeck	default CPU_MIPS32_R2
84*02611cbbSDaniel Schwierzeck
85*02611cbbSDaniel Schwierzeckconfig CPU_MIPS32_R1
86*02611cbbSDaniel Schwierzeck	bool "MIPS32 Release 1"
87*02611cbbSDaniel Schwierzeck	depends on SUPPORTS_CPU_MIPS32_R1
88*02611cbbSDaniel Schwierzeck	select 32BIT
89*02611cbbSDaniel Schwierzeck	help
90*02611cbbSDaniel Schwierzeck	  Choose this option to build an U-Boot for release 1 or later of the
91*02611cbbSDaniel Schwierzeck	  MIPS32 architecture.
92*02611cbbSDaniel Schwierzeck
93*02611cbbSDaniel Schwierzeckconfig CPU_MIPS32_R2
94*02611cbbSDaniel Schwierzeck	bool "MIPS32 Release 2"
95*02611cbbSDaniel Schwierzeck	depends on SUPPORTS_CPU_MIPS32_R2
96*02611cbbSDaniel Schwierzeck	select 32BIT
97*02611cbbSDaniel Schwierzeck	help
98*02611cbbSDaniel Schwierzeck	  Choose this option to build an U-Boot for release 2 or later of the
99*02611cbbSDaniel Schwierzeck	  MIPS32 architecture.
100*02611cbbSDaniel Schwierzeck
101*02611cbbSDaniel Schwierzeckconfig CPU_MIPS64_R1
102*02611cbbSDaniel Schwierzeck	bool "MIPS64 Release 1"
103*02611cbbSDaniel Schwierzeck	depends on SUPPORTS_CPU_MIPS64_R1
104*02611cbbSDaniel Schwierzeck	select 64BIT
105*02611cbbSDaniel Schwierzeck	help
106*02611cbbSDaniel Schwierzeck	  Choose this option to build a kernel for release 1 or later of the
107*02611cbbSDaniel Schwierzeck	  MIPS64 architecture.
108*02611cbbSDaniel Schwierzeck
109*02611cbbSDaniel Schwierzeckconfig CPU_MIPS64_R2
110*02611cbbSDaniel Schwierzeck	bool "MIPS64 Release 2"
111*02611cbbSDaniel Schwierzeck	depends on SUPPORTS_CPU_MIPS64_R2
112*02611cbbSDaniel Schwierzeck	select 64BIT
113*02611cbbSDaniel Schwierzeck	help
114*02611cbbSDaniel Schwierzeck	  Choose this option to build a kernel for release 2 or later of the
115*02611cbbSDaniel Schwierzeck	  MIPS64 architecture.
116*02611cbbSDaniel Schwierzeck
117*02611cbbSDaniel Schwierzeckendchoice
118*02611cbbSDaniel Schwierzeck
1190e1dc345SDaniel Schwierzeckconfig SUPPORTS_BIG_ENDIAN
1200e1dc345SDaniel Schwierzeck	bool
1210e1dc345SDaniel Schwierzeck
1220e1dc345SDaniel Schwierzeckconfig SUPPORTS_LITTLE_ENDIAN
1230e1dc345SDaniel Schwierzeck	bool
1240e1dc345SDaniel Schwierzeck
125*02611cbbSDaniel Schwierzeckconfig SUPPORTS_CPU_MIPS32_R1
126*02611cbbSDaniel Schwierzeck	bool
127*02611cbbSDaniel Schwierzeck
128*02611cbbSDaniel Schwierzeckconfig SUPPORTS_CPU_MIPS32_R2
129*02611cbbSDaniel Schwierzeck	bool
130*02611cbbSDaniel Schwierzeck
131*02611cbbSDaniel Schwierzeckconfig SUPPORTS_CPU_MIPS64_R1
132*02611cbbSDaniel Schwierzeck	bool
133*02611cbbSDaniel Schwierzeck
134*02611cbbSDaniel Schwierzeckconfig SUPPORTS_CPU_MIPS64_R2
135*02611cbbSDaniel Schwierzeck	bool
136*02611cbbSDaniel Schwierzeck
137*02611cbbSDaniel Schwierzeckconfig 32BIT
138*02611cbbSDaniel Schwierzeck	bool
139*02611cbbSDaniel Schwierzeck
140*02611cbbSDaniel Schwierzeckconfig 64BIT
141*02611cbbSDaniel Schwierzeck	bool
142*02611cbbSDaniel Schwierzeck
1430e1dc345SDaniel Schwierzeckendif
1440e1dc345SDaniel Schwierzeck
145dd84058dSMasahiro Yamadaendmenu
146