1 menu "MIPS architecture"
8 default "mips32" if CPU_MIPS32_R1 || CPU_MIPS32_R2
9 default "mips64" if CPU_MIPS64_R1 || CPU_MIPS64_R2
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 SUPPORTS_BIG_ENDIAN
27 select SUPPORTS_LITTLE_ENDIAN
28 select SUPPORTS_CPU_MIPS32_R1
29 select SUPPORTS_CPU_MIPS32_R2
31 select MIPS_L1_CACHE_SHIFT_6
35 select SUPPORTS_BIG_ENDIAN
36 select SUPPORTS_CPU_MIPS32_R1
37 select SUPPORTS_CPU_MIPS32_R2
38 select SYS_MIPS_CACHE_INIT_RAM_LOAD
40 config TARGET_DBAU1X00
41 bool "Support dbau1x00"
42 select SUPPORTS_BIG_ENDIAN
43 select SUPPORTS_LITTLE_ENDIAN
44 select SUPPORTS_CPU_MIPS32_R1
45 select SUPPORTS_CPU_MIPS32_R2
46 select SYS_MIPS_CACHE_INIT_RAM_LOAD
51 select SUPPORTS_LITTLE_ENDIAN
52 select SUPPORTS_CPU_MIPS32_R1
53 select SUPPORTS_CPU_MIPS32_R2
54 select SYS_MIPS_CACHE_INIT_RAM_LOAD
59 source "board/dbau1x00/Kconfig"
60 source "board/imgtec/malta/Kconfig"
61 source "board/micronas/vct/Kconfig"
62 source "board/pb1x00/Kconfig"
63 source "board/qemu-mips/Kconfig"
68 prompt "Endianness selection"
70 Some MIPS boards can be configured for either little or big endian
71 byte order. These modes require different U-Boot images. In general there
72 is one preferred byteorder for a particular system but some systems are
73 just as commonly used in the one or the other endianness.
77 depends on SUPPORTS_BIG_ENDIAN
79 config SYS_LITTLE_ENDIAN
81 depends on SUPPORTS_LITTLE_ENDIAN
86 prompt "CPU selection"
90 bool "MIPS32 Release 1"
91 depends on SUPPORTS_CPU_MIPS32_R1
94 Choose this option to build an U-Boot for release 1 or later of the
98 bool "MIPS32 Release 2"
99 depends on SUPPORTS_CPU_MIPS32_R2
102 Choose this option to build an U-Boot for release 2 or later of the
106 bool "MIPS64 Release 1"
107 depends on SUPPORTS_CPU_MIPS64_R1
110 Choose this option to build a kernel for release 1 or later of the
114 bool "MIPS64 Release 2"
115 depends on SUPPORTS_CPU_MIPS64_R2
118 Choose this option to build a kernel for release 2 or later of the
123 menu "OS boot interface"
125 config MIPS_BOOT_CMDLINE_LEGACY
126 bool "Hand over legacy command line to Linux kernel"
129 Enable this option if you want U-Boot to hand over the Yamon-style
130 command line to the kernel. All bootargs will be prepared as argc/argv
131 compatible list. The argument count (argc) is stored in register $a0.
132 The address of the argument list (argv) is stored in register $a1.
134 config MIPS_BOOT_ENV_LEGACY
135 bool "Hand over legacy environment to Linux kernel"
138 Enable this option if you want U-Boot to hand over the Yamon-style
139 environment to the kernel. Information like memory size, initrd
140 address and size will be prepared as zero-terminated key/value list.
141 The address of the enviroment is stored in register $a2.
144 bool "Hand over a flattened device tree to Linux kernel"
147 Enable this option if you want U-Boot to hand over a flattened
148 device tree to the kernel. According to UHI register $a0 will be set
149 to -2 and the FDT address is stored in $a1.
153 config SUPPORTS_BIG_ENDIAN
156 config SUPPORTS_LITTLE_ENDIAN
159 config SUPPORTS_CPU_MIPS32_R1
162 config SUPPORTS_CPU_MIPS32_R2
165 config SUPPORTS_CPU_MIPS64_R1
168 config SUPPORTS_CPU_MIPS64_R2
173 default y if CPU_MIPS32_R1 || CPU_MIPS32_R2
177 default y if CPU_MIPS64_R1 || CPU_MIPS64_R2
182 config MIPS_TUNE_14KC
185 config MIPS_TUNE_24KC
197 config SYS_MIPS_CACHE_INIT_RAM_LOAD
200 config MIPS_L1_CACHE_SHIFT_4
203 config MIPS_L1_CACHE_SHIFT_5
206 config MIPS_L1_CACHE_SHIFT_6
209 config MIPS_L1_CACHE_SHIFT_7
212 config MIPS_L1_CACHE_SHIFT
214 default "7" if MIPS_L1_CACHE_SHIFT_7
215 default "6" if MIPS_L1_CACHE_SHIFT_6
216 default "5" if MIPS_L1_CACHE_SHIFT_5
217 default "4" if MIPS_L1_CACHE_SHIFT_4