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
26 select DYNAMIC_IO_PORT_BASE
27 select SUPPORTS_BIG_ENDIAN
28 select SUPPORTS_LITTLE_ENDIAN
29 select SUPPORTS_CPU_MIPS32_R1
30 select SUPPORTS_CPU_MIPS32_R2
32 select MIPS_L1_CACHE_SHIFT_6
36 select SUPPORTS_BIG_ENDIAN
37 select SUPPORTS_CPU_MIPS32_R1
38 select SUPPORTS_CPU_MIPS32_R2
39 select SYS_MIPS_CACHE_INIT_RAM_LOAD
41 config TARGET_DBAU1X00
42 bool "Support dbau1x00"
43 select SUPPORTS_BIG_ENDIAN
44 select SUPPORTS_LITTLE_ENDIAN
45 select SUPPORTS_CPU_MIPS32_R1
46 select SUPPORTS_CPU_MIPS32_R2
47 select SYS_MIPS_CACHE_INIT_RAM_LOAD
52 select SUPPORTS_LITTLE_ENDIAN
53 select SUPPORTS_CPU_MIPS32_R1
54 select SUPPORTS_CPU_MIPS32_R2
55 select SYS_MIPS_CACHE_INIT_RAM_LOAD
59 bool "Support QCA/Atheros ath79"
64 bool "Support Microchip PIC32"
70 source "board/dbau1x00/Kconfig"
71 source "board/imgtec/malta/Kconfig"
72 source "board/micronas/vct/Kconfig"
73 source "board/pb1x00/Kconfig"
74 source "board/qemu-mips/Kconfig"
75 source "arch/mips/mach-ath79/Kconfig"
76 source "arch/mips/mach-pic32/Kconfig"
81 prompt "Endianness selection"
83 Some MIPS boards can be configured for either little or big endian
84 byte order. These modes require different U-Boot images. In general there
85 is one preferred byteorder for a particular system but some systems are
86 just as commonly used in the one or the other endianness.
90 depends on SUPPORTS_BIG_ENDIAN
92 config SYS_LITTLE_ENDIAN
94 depends on SUPPORTS_LITTLE_ENDIAN
99 prompt "CPU selection"
100 default CPU_MIPS32_R2
103 bool "MIPS32 Release 1"
104 depends on SUPPORTS_CPU_MIPS32_R1
107 Choose this option to build an U-Boot for release 1 through 5 of the
111 bool "MIPS32 Release 2"
112 depends on SUPPORTS_CPU_MIPS32_R2
115 Choose this option to build an U-Boot for release 2 through 5 of the
119 bool "MIPS32 Release 6"
120 depends on SUPPORTS_CPU_MIPS32_R6
123 Choose this option to build an U-Boot for release 6 or later of the
127 bool "MIPS64 Release 1"
128 depends on SUPPORTS_CPU_MIPS64_R1
131 Choose this option to build a kernel for release 1 through 5 of the
135 bool "MIPS64 Release 2"
136 depends on SUPPORTS_CPU_MIPS64_R2
139 Choose this option to build a kernel for release 2 through 5 of the
143 bool "MIPS64 Release 6"
144 depends on SUPPORTS_CPU_MIPS64_R6
147 Choose this option to build a kernel for release 6 or later of the
152 menu "OS boot interface"
154 config MIPS_BOOT_CMDLINE_LEGACY
155 bool "Hand over legacy command line to Linux kernel"
158 Enable this option if you want U-Boot to hand over the Yamon-style
159 command line to the kernel. All bootargs will be prepared as argc/argv
160 compatible list. The argument count (argc) is stored in register $a0.
161 The address of the argument list (argv) is stored in register $a1.
163 config MIPS_BOOT_ENV_LEGACY
164 bool "Hand over legacy environment to Linux kernel"
167 Enable this option if you want U-Boot to hand over the Yamon-style
168 environment to the kernel. Information like memory size, initrd
169 address and size will be prepared as zero-terminated key/value list.
170 The address of the environment is stored in register $a2.
173 bool "Hand over a flattened device tree to Linux kernel"
176 Enable this option if you want U-Boot to hand over a flattened
177 device tree to the kernel. According to UHI register $a0 will be set
178 to -2 and the FDT address is stored in $a1.
182 config SUPPORTS_BIG_ENDIAN
185 config SUPPORTS_LITTLE_ENDIAN
188 config SUPPORTS_CPU_MIPS32_R1
191 config SUPPORTS_CPU_MIPS32_R2
194 config SUPPORTS_CPU_MIPS32_R6
197 config SUPPORTS_CPU_MIPS64_R1
200 config SUPPORTS_CPU_MIPS64_R2
203 config SUPPORTS_CPU_MIPS64_R6
208 default y if CPU_MIPS32_R1 || CPU_MIPS32_R2 || CPU_MIPS32_R6
212 default y if CPU_MIPS64_R1 || CPU_MIPS64_R2 || CPU_MIPS64_R6
217 config MIPS_TUNE_14KC
220 config MIPS_TUNE_24KC
223 config MIPS_TUNE_74KC
235 config SYS_MIPS_CACHE_INIT_RAM_LOAD
238 config MIPS_L1_CACHE_SHIFT_4
241 config MIPS_L1_CACHE_SHIFT_5
244 config MIPS_L1_CACHE_SHIFT_6
247 config MIPS_L1_CACHE_SHIFT_7
250 config MIPS_L1_CACHE_SHIFT
252 default "7" if MIPS_L1_CACHE_SHIFT_7
253 default "6" if MIPS_L1_CACHE_SHIFT_6
254 default "5" if MIPS_L1_CACHE_SHIFT_5
255 default "4" if MIPS_L1_CACHE_SHIFT_4
258 config DYNAMIC_IO_PORT_BASE