Masahiro Yamada | dd84058 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 1 | menu "MIPS architecture" |
| 2 | depends on MIPS |
| 3 | |
| 4 | config SYS_ARCH |
Masahiro Yamada | dd84058 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 5 | default "mips" |
| 6 | |
Daniel Schwierzeck | b9863b6 | 2014-10-26 14:14:07 +0100 | [diff] [blame^] | 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 | |
Masahiro Yamada | 7bfd5ee | 2014-10-24 01:30:46 +0900 | [diff] [blame] | 11 | config USE_PRIVATE_LIBGCC |
| 12 | default y |
| 13 | |
Masahiro Yamada | dd84058 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 14 | choice |
| 15 | prompt "Target select" |
| 16 | |
| 17 | config TARGET_QEMU_MIPS |
| 18 | bool "Support qemu-mips" |
Daniel Schwierzeck | 0e1dc34 | 2014-10-26 14:14:07 +0100 | [diff] [blame] | 19 | select SUPPORTS_BIG_ENDIAN |
| 20 | select SUPPORTS_LITTLE_ENDIAN |
Daniel Schwierzeck | 02611cb | 2014-10-26 14:14:07 +0100 | [diff] [blame] | 21 | select SUPPORTS_CPU_MIPS32_R1 |
| 22 | select SUPPORTS_CPU_MIPS32_R2 |
Masahiro Yamada | dd84058 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 23 | |
| 24 | config TARGET_MALTA |
| 25 | bool "Support malta" |
Daniel Schwierzeck | 0e1dc34 | 2014-10-26 14:14:07 +0100 | [diff] [blame] | 26 | select SUPPORTS_BIG_ENDIAN |
| 27 | select SUPPORTS_LITTLE_ENDIAN |
Daniel Schwierzeck | 02611cb | 2014-10-26 14:14:07 +0100 | [diff] [blame] | 28 | select SUPPORTS_CPU_MIPS32_R1 |
| 29 | select SUPPORTS_CPU_MIPS32_R2 |
Masahiro Yamada | dd84058 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 30 | |
| 31 | config TARGET_VCT |
| 32 | bool "Support vct" |
Daniel Schwierzeck | 0e1dc34 | 2014-10-26 14:14:07 +0100 | [diff] [blame] | 33 | select SUPPORTS_BIG_ENDIAN |
Daniel Schwierzeck | 02611cb | 2014-10-26 14:14:07 +0100 | [diff] [blame] | 34 | select SUPPORTS_CPU_MIPS32_R1 |
| 35 | select SUPPORTS_CPU_MIPS32_R2 |
Masahiro Yamada | dd84058 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 36 | |
| 37 | config TARGET_DBAU1X00 |
| 38 | bool "Support dbau1x00" |
Daniel Schwierzeck | 0e1dc34 | 2014-10-26 14:14:07 +0100 | [diff] [blame] | 39 | select SUPPORTS_BIG_ENDIAN |
| 40 | select SUPPORTS_LITTLE_ENDIAN |
Daniel Schwierzeck | 02611cb | 2014-10-26 14:14:07 +0100 | [diff] [blame] | 41 | select SUPPORTS_CPU_MIPS32_R1 |
| 42 | select SUPPORTS_CPU_MIPS32_R2 |
Masahiro Yamada | dd84058 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 43 | |
| 44 | config TARGET_PB1X00 |
| 45 | bool "Support pb1x00" |
Daniel Schwierzeck | 0e1dc34 | 2014-10-26 14:14:07 +0100 | [diff] [blame] | 46 | select SUPPORTS_LITTLE_ENDIAN |
Daniel Schwierzeck | 02611cb | 2014-10-26 14:14:07 +0100 | [diff] [blame] | 47 | select SUPPORTS_CPU_MIPS32_R1 |
| 48 | select SUPPORTS_CPU_MIPS32_R2 |
Masahiro Yamada | dd84058 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 49 | |
| 50 | config TARGET_QEMU_MIPS64 |
| 51 | bool "Support qemu-mips64" |
Daniel Schwierzeck | 0e1dc34 | 2014-10-26 14:14:07 +0100 | [diff] [blame] | 52 | select SUPPORTS_BIG_ENDIAN |
| 53 | select SUPPORTS_LITTLE_ENDIAN |
Daniel Schwierzeck | 02611cb | 2014-10-26 14:14:07 +0100 | [diff] [blame] | 54 | select SUPPORTS_CPU_MIPS64_R1 |
| 55 | select SUPPORTS_CPU_MIPS64_R2 |
Masahiro Yamada | dd84058 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 56 | |
| 57 | endchoice |
| 58 | |
| 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" |
| 64 | |
Daniel Schwierzeck | 0e1dc34 | 2014-10-26 14:14:07 +0100 | [diff] [blame] | 65 | if MIPS |
| 66 | |
| 67 | choice |
| 68 | prompt "Endianness selection" |
| 69 | help |
| 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. |
| 74 | |
| 75 | config SYS_BIG_ENDIAN |
| 76 | bool "Big endian" |
| 77 | depends on SUPPORTS_BIG_ENDIAN |
| 78 | |
| 79 | config SYS_LITTLE_ENDIAN |
| 80 | bool "Little endian" |
| 81 | depends on SUPPORTS_LITTLE_ENDIAN |
| 82 | |
| 83 | endchoice |
| 84 | |
Daniel Schwierzeck | 02611cb | 2014-10-26 14:14:07 +0100 | [diff] [blame] | 85 | choice |
| 86 | prompt "CPU selection" |
| 87 | default CPU_MIPS32_R2 |
| 88 | |
| 89 | config CPU_MIPS32_R1 |
| 90 | bool "MIPS32 Release 1" |
| 91 | depends on SUPPORTS_CPU_MIPS32_R1 |
| 92 | select 32BIT |
| 93 | help |
| 94 | Choose this option to build an U-Boot for release 1 or later of the |
| 95 | MIPS32 architecture. |
| 96 | |
| 97 | config CPU_MIPS32_R2 |
| 98 | bool "MIPS32 Release 2" |
| 99 | depends on SUPPORTS_CPU_MIPS32_R2 |
| 100 | select 32BIT |
| 101 | help |
| 102 | Choose this option to build an U-Boot for release 2 or later of the |
| 103 | MIPS32 architecture. |
| 104 | |
| 105 | config CPU_MIPS64_R1 |
| 106 | bool "MIPS64 Release 1" |
| 107 | depends on SUPPORTS_CPU_MIPS64_R1 |
| 108 | select 64BIT |
| 109 | help |
| 110 | Choose this option to build a kernel for release 1 or later of the |
| 111 | MIPS64 architecture. |
| 112 | |
| 113 | config CPU_MIPS64_R2 |
| 114 | bool "MIPS64 Release 2" |
| 115 | depends on SUPPORTS_CPU_MIPS64_R2 |
| 116 | select 64BIT |
| 117 | help |
| 118 | Choose this option to build a kernel for release 2 or later of the |
| 119 | MIPS64 architecture. |
| 120 | |
| 121 | endchoice |
| 122 | |
Daniel Schwierzeck | 0e1dc34 | 2014-10-26 14:14:07 +0100 | [diff] [blame] | 123 | config SUPPORTS_BIG_ENDIAN |
| 124 | bool |
| 125 | |
| 126 | config SUPPORTS_LITTLE_ENDIAN |
| 127 | bool |
| 128 | |
Daniel Schwierzeck | 02611cb | 2014-10-26 14:14:07 +0100 | [diff] [blame] | 129 | config SUPPORTS_CPU_MIPS32_R1 |
| 130 | bool |
| 131 | |
| 132 | config SUPPORTS_CPU_MIPS32_R2 |
| 133 | bool |
| 134 | |
| 135 | config SUPPORTS_CPU_MIPS64_R1 |
| 136 | bool |
| 137 | |
| 138 | config SUPPORTS_CPU_MIPS64_R2 |
| 139 | bool |
| 140 | |
| 141 | config 32BIT |
| 142 | bool |
| 143 | |
| 144 | config 64BIT |
| 145 | bool |
| 146 | |
Daniel Schwierzeck | 0e1dc34 | 2014-10-26 14:14:07 +0100 | [diff] [blame] | 147 | endif |
| 148 | |
Masahiro Yamada | dd84058 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 149 | endmenu |