]>
Commit | Line | Data |
---|---|---|
dd84058d MY |
1 | menu "MIPS architecture" |
2 | depends on MIPS | |
3 | ||
4 | config SYS_ARCH | |
dd84058d MY |
5 | default "mips" |
6 | ||
b9863b6d DS |
7 | config SYS_CPU |
8 | default "mips32" if CPU_MIPS32_R1 || CPU_MIPS32_R2 | |
9 | default "mips64" if CPU_MIPS64_R1 || CPU_MIPS64_R2 | |
10 | ||
7bfd5ee1 MY |
11 | config USE_PRIVATE_LIBGCC |
12 | default y | |
13 | ||
dd84058d MY |
14 | choice |
15 | prompt "Target select" | |
16 | ||
17 | config TARGET_QEMU_MIPS | |
18 | bool "Support qemu-mips" | |
0e1dc345 DS |
19 | select SUPPORTS_BIG_ENDIAN |
20 | select SUPPORTS_LITTLE_ENDIAN | |
02611cbb DS |
21 | select SUPPORTS_CPU_MIPS32_R1 |
22 | select SUPPORTS_CPU_MIPS32_R2 | |
aa45f75e DS |
23 | select SUPPORTS_CPU_MIPS64_R1 |
24 | select SUPPORTS_CPU_MIPS64_R2 | |
dd84058d MY |
25 | |
26 | config TARGET_MALTA | |
27 | bool "Support malta" | |
0e1dc345 DS |
28 | select SUPPORTS_BIG_ENDIAN |
29 | select SUPPORTS_LITTLE_ENDIAN | |
02611cbb DS |
30 | select SUPPORTS_CPU_MIPS32_R1 |
31 | select SUPPORTS_CPU_MIPS32_R2 | |
9d638eea | 32 | select SWAP_IO_SPACE |
dd84058d MY |
33 | |
34 | config TARGET_VCT | |
35 | bool "Support vct" | |
0e1dc345 | 36 | select SUPPORTS_BIG_ENDIAN |
02611cbb DS |
37 | select SUPPORTS_CPU_MIPS32_R1 |
38 | select SUPPORTS_CPU_MIPS32_R2 | |
dd84058d MY |
39 | |
40 | config TARGET_DBAU1X00 | |
41 | bool "Support dbau1x00" | |
0e1dc345 DS |
42 | select SUPPORTS_BIG_ENDIAN |
43 | select SUPPORTS_LITTLE_ENDIAN | |
02611cbb DS |
44 | select SUPPORTS_CPU_MIPS32_R1 |
45 | select SUPPORTS_CPU_MIPS32_R2 | |
dd84058d MY |
46 | |
47 | config TARGET_PB1X00 | |
48 | bool "Support pb1x00" | |
0e1dc345 | 49 | select SUPPORTS_LITTLE_ENDIAN |
02611cbb DS |
50 | select SUPPORTS_CPU_MIPS32_R1 |
51 | select SUPPORTS_CPU_MIPS32_R2 | |
dd84058d | 52 | |
dd84058d MY |
53 | |
54 | endchoice | |
55 | ||
56 | source "board/dbau1x00/Kconfig" | |
57 | source "board/imgtec/malta/Kconfig" | |
58 | source "board/micronas/vct/Kconfig" | |
59 | source "board/pb1x00/Kconfig" | |
60 | source "board/qemu-mips/Kconfig" | |
61 | ||
0e1dc345 DS |
62 | if MIPS |
63 | ||
64 | choice | |
65 | prompt "Endianness selection" | |
66 | help | |
67 | Some MIPS boards can be configured for either little or big endian | |
68 | byte order. These modes require different U-Boot images. In general there | |
69 | is one preferred byteorder for a particular system but some systems are | |
70 | just as commonly used in the one or the other endianness. | |
71 | ||
72 | config SYS_BIG_ENDIAN | |
73 | bool "Big endian" | |
74 | depends on SUPPORTS_BIG_ENDIAN | |
75 | ||
76 | config SYS_LITTLE_ENDIAN | |
77 | bool "Little endian" | |
78 | depends on SUPPORTS_LITTLE_ENDIAN | |
79 | ||
80 | endchoice | |
81 | ||
02611cbb DS |
82 | choice |
83 | prompt "CPU selection" | |
84 | default CPU_MIPS32_R2 | |
85 | ||
86 | config CPU_MIPS32_R1 | |
87 | bool "MIPS32 Release 1" | |
88 | depends on SUPPORTS_CPU_MIPS32_R1 | |
89 | select 32BIT | |
90 | help | |
91 | Choose this option to build an U-Boot for release 1 or later of the | |
92 | MIPS32 architecture. | |
93 | ||
94 | config CPU_MIPS32_R2 | |
95 | bool "MIPS32 Release 2" | |
96 | depends on SUPPORTS_CPU_MIPS32_R2 | |
97 | select 32BIT | |
98 | help | |
99 | Choose this option to build an U-Boot for release 2 or later of the | |
100 | MIPS32 architecture. | |
101 | ||
102 | config CPU_MIPS64_R1 | |
103 | bool "MIPS64 Release 1" | |
104 | depends on SUPPORTS_CPU_MIPS64_R1 | |
105 | select 64BIT | |
106 | help | |
107 | Choose this option to build a kernel for release 1 or later of the | |
108 | MIPS64 architecture. | |
109 | ||
110 | config CPU_MIPS64_R2 | |
111 | bool "MIPS64 Release 2" | |
112 | depends on SUPPORTS_CPU_MIPS64_R2 | |
113 | select 64BIT | |
114 | help | |
115 | Choose this option to build a kernel for release 2 or later of the | |
116 | MIPS64 architecture. | |
117 | ||
118 | endchoice | |
119 | ||
25fc664f DS |
120 | menu "OS boot interface" |
121 | ||
122 | config MIPS_BOOT_CMDLINE_LEGACY | |
123 | bool "Hand over legacy command line to Linux kernel" | |
124 | default y | |
125 | help | |
126 | Enable this option if you want U-Boot to hand over the Yamon-style | |
127 | command line to the kernel. All bootargs will be prepared as argc/argv | |
128 | compatible list. The argument count (argc) is stored in register $a0. | |
129 | The address of the argument list (argv) is stored in register $a1. | |
130 | ||
ca65e585 DS |
131 | config MIPS_BOOT_ENV_LEGACY |
132 | bool "Hand over legacy environment to Linux kernel" | |
133 | default y | |
134 | help | |
135 | Enable this option if you want U-Boot to hand over the Yamon-style | |
136 | environment to the kernel. Information like memory size, initrd | |
137 | address and size will be prepared as zero-terminated key/value list. | |
138 | The address of the enviroment is stored in register $a2. | |
139 | ||
5002d8cc DS |
140 | config MIPS_BOOT_FDT |
141 | bool "Hand over a flattened device tree to Linux kernel (INCOMPLETE)" | |
142 | default n | |
143 | help | |
144 | Enable this option if you want U-Boot to hand over a flattened | |
145 | device tree to the kernel. | |
146 | ||
147 | Note: the final hand over to the kernel is not yet implemented. After | |
148 | the community agreed on the MIPS boot interface for device trees, | |
149 | the corresponding code will be added. | |
150 | ||
25fc664f DS |
151 | endmenu |
152 | ||
0e1dc345 DS |
153 | config SUPPORTS_BIG_ENDIAN |
154 | bool | |
155 | ||
156 | config SUPPORTS_LITTLE_ENDIAN | |
157 | bool | |
158 | ||
02611cbb DS |
159 | config SUPPORTS_CPU_MIPS32_R1 |
160 | bool | |
161 | ||
162 | config SUPPORTS_CPU_MIPS32_R2 | |
163 | bool | |
164 | ||
165 | config SUPPORTS_CPU_MIPS64_R1 | |
166 | bool | |
167 | ||
168 | config SUPPORTS_CPU_MIPS64_R2 | |
169 | bool | |
170 | ||
c57dafb5 DS |
171 | config CPU_MIPS32 |
172 | bool | |
173 | default y if CPU_MIPS32_R1 || CPU_MIPS32_R2 | |
174 | ||
175 | config CPU_MIPS64 | |
176 | bool | |
177 | default y if CPU_MIPS64_R1 || CPU_MIPS64_R2 | |
178 | ||
02611cbb DS |
179 | config 32BIT |
180 | bool | |
181 | ||
182 | config 64BIT | |
183 | bool | |
184 | ||
9d638eea DS |
185 | config SWAP_IO_SPACE |
186 | bool | |
187 | ||
0e1dc345 DS |
188 | endif |
189 | ||
dd84058d | 190 | endmenu |