1 menu "MIPS architecture"
8 default "mips32" if CPU_MIPS32
9 default "mips64" if CPU_MIPS64
12 prompt "Target select"
15 config TARGET_QEMU_MIPS
16 bool "Support qemu-mips"
17 select SUPPORTS_BIG_ENDIAN
18 select SUPPORTS_LITTLE_ENDIAN
19 select SUPPORTS_CPU_MIPS32_R1
20 select SUPPORTS_CPU_MIPS32_R2
21 select SUPPORTS_CPU_MIPS64_R1
22 select SUPPORTS_CPU_MIPS64_R2
28 select DYNAMIC_IO_PORT_BASE
33 select SUPPORTS_BIG_ENDIAN
34 select SUPPORTS_LITTLE_ENDIAN
35 select SUPPORTS_CPU_MIPS32_R1
36 select SUPPORTS_CPU_MIPS32_R2
37 select SUPPORTS_CPU_MIPS32_R6
38 select SUPPORTS_CPU_MIPS64_R1
39 select SUPPORTS_CPU_MIPS64_R2
40 select SUPPORTS_CPU_MIPS64_R6
42 select MIPS_L1_CACHE_SHIFT_6
46 select SUPPORTS_BIG_ENDIAN
47 select SUPPORTS_CPU_MIPS32_R1
48 select SUPPORTS_CPU_MIPS32_R2
49 select SYS_MIPS_CACHE_INIT_RAM_LOAD
51 config TARGET_DBAU1X00
52 bool "Support dbau1x00"
53 select SUPPORTS_BIG_ENDIAN
54 select SUPPORTS_LITTLE_ENDIAN
55 select SUPPORTS_CPU_MIPS32_R1
56 select SUPPORTS_CPU_MIPS32_R2
57 select SYS_MIPS_CACHE_INIT_RAM_LOAD
62 select SUPPORTS_LITTLE_ENDIAN
63 select SUPPORTS_CPU_MIPS32_R1
64 select SUPPORTS_CPU_MIPS32_R2
65 select SYS_MIPS_CACHE_INIT_RAM_LOAD
69 bool "Support QCA/Atheros ath79"
74 bool "Support Microchip PIC32"
84 select MIPS_L1_CACHE_SHIFT_6
86 select SUPPORTS_BIG_ENDIAN
87 select SUPPORTS_LITTLE_ENDIAN
88 select SUPPORTS_CPU_MIPS32_R1
89 select SUPPORTS_CPU_MIPS32_R2
90 select SUPPORTS_CPU_MIPS32_R6
91 select SUPPORTS_CPU_MIPS64_R1
92 select SUPPORTS_CPU_MIPS64_R2
93 select SUPPORTS_CPU_MIPS64_R6
96 bool "Support Imagination Xilfpga"
102 select SUPPORTS_LITTLE_ENDIAN
103 select SUPPORTS_CPU_MIPS32_R1
104 select SUPPORTS_CPU_MIPS32_R2
105 select MIPS_L1_CACHE_SHIFT_4
107 This supports IMGTEC MIPSfpga platform
111 source "board/dbau1x00/Kconfig"
112 source "board/imgtec/boston/Kconfig"
113 source "board/imgtec/malta/Kconfig"
114 source "board/imgtec/xilfpga/Kconfig"
115 source "board/micronas/vct/Kconfig"
116 source "board/pb1x00/Kconfig"
117 source "board/qemu-mips/Kconfig"
118 source "arch/mips/mach-ath79/Kconfig"
119 source "arch/mips/mach-pic32/Kconfig"
124 prompt "Endianness selection"
126 Some MIPS boards can be configured for either little or big endian
127 byte order. These modes require different U-Boot images. In general there
128 is one preferred byteorder for a particular system but some systems are
129 just as commonly used in the one or the other endianness.
131 config SYS_BIG_ENDIAN
133 depends on SUPPORTS_BIG_ENDIAN
135 config SYS_LITTLE_ENDIAN
137 depends on SUPPORTS_LITTLE_ENDIAN
142 prompt "CPU selection"
143 default CPU_MIPS32_R2
146 bool "MIPS32 Release 1"
147 depends on SUPPORTS_CPU_MIPS32_R1
150 Choose this option to build an U-Boot for release 1 through 5 of the
154 bool "MIPS32 Release 2"
155 depends on SUPPORTS_CPU_MIPS32_R2
158 Choose this option to build an U-Boot for release 2 through 5 of the
162 bool "MIPS32 Release 6"
163 depends on SUPPORTS_CPU_MIPS32_R6
166 Choose this option to build an U-Boot for release 6 or later of the
170 bool "MIPS64 Release 1"
171 depends on SUPPORTS_CPU_MIPS64_R1
174 Choose this option to build a kernel for release 1 through 5 of the
178 bool "MIPS64 Release 2"
179 depends on SUPPORTS_CPU_MIPS64_R2
182 Choose this option to build a kernel for release 2 through 5 of the
186 bool "MIPS64 Release 6"
187 depends on SUPPORTS_CPU_MIPS64_R6
190 Choose this option to build a kernel for release 6 or later of the
195 menu "OS boot interface"
197 config MIPS_BOOT_CMDLINE_LEGACY
198 bool "Hand over legacy command line to Linux kernel"
201 Enable this option if you want U-Boot to hand over the Yamon-style
202 command line to the kernel. All bootargs will be prepared as argc/argv
203 compatible list. The argument count (argc) is stored in register $a0.
204 The address of the argument list (argv) is stored in register $a1.
206 config MIPS_BOOT_ENV_LEGACY
207 bool "Hand over legacy environment to Linux kernel"
210 Enable this option if you want U-Boot to hand over the Yamon-style
211 environment to the kernel. Information like memory size, initrd
212 address and size will be prepared as zero-terminated key/value list.
213 The address of the environment is stored in register $a2.
216 bool "Hand over a flattened device tree to Linux kernel"
219 Enable this option if you want U-Boot to hand over a flattened
220 device tree to the kernel. According to UHI register $a0 will be set
221 to -2 and the FDT address is stored in $a1.
225 config SUPPORTS_BIG_ENDIAN
228 config SUPPORTS_LITTLE_ENDIAN
231 config SUPPORTS_CPU_MIPS32_R1
234 config SUPPORTS_CPU_MIPS32_R2
237 config SUPPORTS_CPU_MIPS32_R6
240 config SUPPORTS_CPU_MIPS64_R1
243 config SUPPORTS_CPU_MIPS64_R2
246 config SUPPORTS_CPU_MIPS64_R6
251 default y if CPU_MIPS32_R1 || CPU_MIPS32_R2 || CPU_MIPS32_R6
255 default y if CPU_MIPS64_R1 || CPU_MIPS64_R2 || CPU_MIPS64_R6
260 config MIPS_TUNE_14KC
263 config MIPS_TUNE_24KC
266 config MIPS_TUNE_34KC
269 config MIPS_TUNE_74KC
281 config SYS_MIPS_CACHE_INIT_RAM_LOAD
284 config SYS_DCACHE_SIZE
288 The total size of the L1 Dcache, if known at compile time.
290 config SYS_DCACHE_LINE_SIZE
294 The size of L1 Dcache lines, if known at compile time.
296 config SYS_ICACHE_SIZE
300 The total size of the L1 ICache, if known at compile time.
302 config SYS_ICACHE_LINE_SIZE
306 The size of L1 Icache lines, if known at compile time.
308 config SYS_CACHE_SIZE_AUTO
309 def_bool y if SYS_DCACHE_SIZE = 0 && SYS_ICACHE_SIZE = 0 && \
310 SYS_DCACHE_LINE_SIZE = 0 && SYS_ICACHE_LINE_SIZE = 0
312 Select this (or let it be auto-selected by not defining any cache
313 sizes) in order to allow U-Boot to automatically detect the sizes
314 of caches at runtime. This has a small cost in code size & runtime
315 so if you know the cache configuration for your system at compile
316 time it would be beneficial to configure it.
318 config MIPS_L1_CACHE_SHIFT_4
321 config MIPS_L1_CACHE_SHIFT_5
324 config MIPS_L1_CACHE_SHIFT_6
327 config MIPS_L1_CACHE_SHIFT_7
330 config MIPS_L1_CACHE_SHIFT
332 default "7" if MIPS_L1_CACHE_SHIFT_7
333 default "6" if MIPS_L1_CACHE_SHIFT_6
334 default "5" if MIPS_L1_CACHE_SHIFT_5
335 default "4" if MIPS_L1_CACHE_SHIFT_4
341 Select this if your system includes an L2 cache and you want U-Boot
342 to initialise & maintain it.
344 config DYNAMIC_IO_PORT_BASE
350 Select this if your system contains a MIPS Coherence Manager and you
351 wish U-Boot to configure it or make use of it to retrieve system
352 information such as cache configuration.
358 The physical base address at which to map the MIPS Coherence Manager
359 Global Configuration Registers (GCRs). This should be set such that
360 the GCRs occupy a region of the physical address space which is
361 otherwise unused, or at minimum that software doesn't need to access.