blob: 623ec66a849e141f39d33fa0272f75acda2c73a9 [file] [log] [blame]
Masahiro Yamadadd840582014-07-30 14:08:14 +09001menu "MIPS architecture"
2 depends on MIPS
3
4config SYS_ARCH
Masahiro Yamadadd840582014-07-30 14:08:14 +09005 default "mips"
6
Masahiro Yamada7bfd5ee2014-10-24 01:30:46 +09007config USE_PRIVATE_LIBGCC
8 default y
9
Masahiro Yamadadd840582014-07-30 14:08:14 +090010choice
11 prompt "Target select"
12
13config TARGET_QEMU_MIPS
14 bool "Support qemu-mips"
Daniel Schwierzeck0e1dc342014-10-26 14:14:07 +010015 select SUPPORTS_BIG_ENDIAN
16 select SUPPORTS_LITTLE_ENDIAN
Daniel Schwierzeck02611cb2014-10-26 14:14:07 +010017 select SUPPORTS_CPU_MIPS32_R1
18 select SUPPORTS_CPU_MIPS32_R2
Masahiro Yamadadd840582014-07-30 14:08:14 +090019
20config TARGET_MALTA
21 bool "Support malta"
Daniel Schwierzeck0e1dc342014-10-26 14:14:07 +010022 select SUPPORTS_BIG_ENDIAN
23 select SUPPORTS_LITTLE_ENDIAN
Daniel Schwierzeck02611cb2014-10-26 14:14:07 +010024 select SUPPORTS_CPU_MIPS32_R1
25 select SUPPORTS_CPU_MIPS32_R2
Masahiro Yamadadd840582014-07-30 14:08:14 +090026
27config TARGET_VCT
28 bool "Support vct"
Daniel Schwierzeck0e1dc342014-10-26 14:14:07 +010029 select SUPPORTS_BIG_ENDIAN
Daniel Schwierzeck02611cb2014-10-26 14:14:07 +010030 select SUPPORTS_CPU_MIPS32_R1
31 select SUPPORTS_CPU_MIPS32_R2
Masahiro Yamadadd840582014-07-30 14:08:14 +090032
33config TARGET_DBAU1X00
34 bool "Support dbau1x00"
Daniel Schwierzeck0e1dc342014-10-26 14:14:07 +010035 select SUPPORTS_BIG_ENDIAN
36 select SUPPORTS_LITTLE_ENDIAN
Daniel Schwierzeck02611cb2014-10-26 14:14:07 +010037 select SUPPORTS_CPU_MIPS32_R1
38 select SUPPORTS_CPU_MIPS32_R2
Masahiro Yamadadd840582014-07-30 14:08:14 +090039
40config TARGET_PB1X00
41 bool "Support pb1x00"
Daniel Schwierzeck0e1dc342014-10-26 14:14:07 +010042 select SUPPORTS_LITTLE_ENDIAN
Daniel Schwierzeck02611cb2014-10-26 14:14:07 +010043 select SUPPORTS_CPU_MIPS32_R1
44 select SUPPORTS_CPU_MIPS32_R2
Masahiro Yamadadd840582014-07-30 14:08:14 +090045
46config TARGET_QEMU_MIPS64
47 bool "Support qemu-mips64"
Daniel Schwierzeck0e1dc342014-10-26 14:14:07 +010048 select SUPPORTS_BIG_ENDIAN
49 select SUPPORTS_LITTLE_ENDIAN
Daniel Schwierzeck02611cb2014-10-26 14:14:07 +010050 select SUPPORTS_CPU_MIPS64_R1
51 select SUPPORTS_CPU_MIPS64_R2
Masahiro Yamadadd840582014-07-30 14:08:14 +090052
53endchoice
54
55source "board/dbau1x00/Kconfig"
56source "board/imgtec/malta/Kconfig"
57source "board/micronas/vct/Kconfig"
58source "board/pb1x00/Kconfig"
59source "board/qemu-mips/Kconfig"
60
Daniel Schwierzeck0e1dc342014-10-26 14:14:07 +010061if MIPS
62
63choice
64 prompt "Endianness selection"
65 help
66 Some MIPS boards can be configured for either little or big endian
67 byte order. These modes require different U-Boot images. In general there
68 is one preferred byteorder for a particular system but some systems are
69 just as commonly used in the one or the other endianness.
70
71config SYS_BIG_ENDIAN
72 bool "Big endian"
73 depends on SUPPORTS_BIG_ENDIAN
74
75config SYS_LITTLE_ENDIAN
76 bool "Little endian"
77 depends on SUPPORTS_LITTLE_ENDIAN
78
79endchoice
80
Daniel Schwierzeck02611cb2014-10-26 14:14:07 +010081choice
82 prompt "CPU selection"
83 default CPU_MIPS32_R2
84
85config CPU_MIPS32_R1
86 bool "MIPS32 Release 1"
87 depends on SUPPORTS_CPU_MIPS32_R1
88 select 32BIT
89 help
90 Choose this option to build an U-Boot for release 1 or later of the
91 MIPS32 architecture.
92
93config CPU_MIPS32_R2
94 bool "MIPS32 Release 2"
95 depends on SUPPORTS_CPU_MIPS32_R2
96 select 32BIT
97 help
98 Choose this option to build an U-Boot for release 2 or later of the
99 MIPS32 architecture.
100
101config CPU_MIPS64_R1
102 bool "MIPS64 Release 1"
103 depends on SUPPORTS_CPU_MIPS64_R1
104 select 64BIT
105 help
106 Choose this option to build a kernel for release 1 or later of the
107 MIPS64 architecture.
108
109config CPU_MIPS64_R2
110 bool "MIPS64 Release 2"
111 depends on SUPPORTS_CPU_MIPS64_R2
112 select 64BIT
113 help
114 Choose this option to build a kernel for release 2 or later of the
115 MIPS64 architecture.
116
117endchoice
118
Daniel Schwierzeck0e1dc342014-10-26 14:14:07 +0100119config SUPPORTS_BIG_ENDIAN
120 bool
121
122config SUPPORTS_LITTLE_ENDIAN
123 bool
124
Daniel Schwierzeck02611cb2014-10-26 14:14:07 +0100125config SUPPORTS_CPU_MIPS32_R1
126 bool
127
128config SUPPORTS_CPU_MIPS32_R2
129 bool
130
131config SUPPORTS_CPU_MIPS64_R1
132 bool
133
134config SUPPORTS_CPU_MIPS64_R2
135 bool
136
137config 32BIT
138 bool
139
140config 64BIT
141 bool
142
Daniel Schwierzeck0e1dc342014-10-26 14:14:07 +0100143endif
144
Masahiro Yamadadd840582014-07-30 14:08:14 +0900145endmenu