1dd84058dSMasahiro Yamadamenu "MIPS architecture" 2dd84058dSMasahiro Yamada depends on MIPS 3dd84058dSMasahiro Yamada 4dd84058dSMasahiro Yamadaconfig SYS_ARCH 5dd84058dSMasahiro Yamada default "mips" 6dd84058dSMasahiro Yamada 7b9863b6dSDaniel Schwierzeckconfig SYS_CPU 8b9863b6dSDaniel Schwierzeck default "mips32" if CPU_MIPS32_R1 || CPU_MIPS32_R2 9b9863b6dSDaniel Schwierzeck default "mips64" if CPU_MIPS64_R1 || CPU_MIPS64_R2 10b9863b6dSDaniel Schwierzeck 117bfd5ee1SMasahiro Yamadaconfig USE_PRIVATE_LIBGCC 127bfd5ee1SMasahiro Yamada default y 137bfd5ee1SMasahiro Yamada 14dd84058dSMasahiro Yamadachoice 15dd84058dSMasahiro Yamada prompt "Target select" 16dd84058dSMasahiro Yamada 17dd84058dSMasahiro Yamadaconfig TARGET_QEMU_MIPS 18dd84058dSMasahiro Yamada bool "Support qemu-mips" 190e1dc345SDaniel Schwierzeck select SUPPORTS_BIG_ENDIAN 200e1dc345SDaniel Schwierzeck select SUPPORTS_LITTLE_ENDIAN 2102611cbbSDaniel Schwierzeck select SUPPORTS_CPU_MIPS32_R1 2202611cbbSDaniel Schwierzeck select SUPPORTS_CPU_MIPS32_R2 23*aa45f75eSDaniel Schwierzeck select SUPPORTS_CPU_MIPS64_R1 24*aa45f75eSDaniel Schwierzeck select SUPPORTS_CPU_MIPS64_R2 25dd84058dSMasahiro Yamada 26dd84058dSMasahiro Yamadaconfig TARGET_MALTA 27dd84058dSMasahiro Yamada bool "Support malta" 280e1dc345SDaniel Schwierzeck select SUPPORTS_BIG_ENDIAN 290e1dc345SDaniel Schwierzeck select SUPPORTS_LITTLE_ENDIAN 3002611cbbSDaniel Schwierzeck select SUPPORTS_CPU_MIPS32_R1 3102611cbbSDaniel Schwierzeck select SUPPORTS_CPU_MIPS32_R2 32dd84058dSMasahiro Yamada 33dd84058dSMasahiro Yamadaconfig TARGET_VCT 34dd84058dSMasahiro Yamada bool "Support vct" 350e1dc345SDaniel Schwierzeck select SUPPORTS_BIG_ENDIAN 3602611cbbSDaniel Schwierzeck select SUPPORTS_CPU_MIPS32_R1 3702611cbbSDaniel Schwierzeck select SUPPORTS_CPU_MIPS32_R2 38dd84058dSMasahiro Yamada 39dd84058dSMasahiro Yamadaconfig TARGET_DBAU1X00 40dd84058dSMasahiro Yamada bool "Support dbau1x00" 410e1dc345SDaniel Schwierzeck select SUPPORTS_BIG_ENDIAN 420e1dc345SDaniel Schwierzeck select SUPPORTS_LITTLE_ENDIAN 4302611cbbSDaniel Schwierzeck select SUPPORTS_CPU_MIPS32_R1 4402611cbbSDaniel Schwierzeck select SUPPORTS_CPU_MIPS32_R2 45dd84058dSMasahiro Yamada 46dd84058dSMasahiro Yamadaconfig TARGET_PB1X00 47dd84058dSMasahiro Yamada bool "Support pb1x00" 480e1dc345SDaniel Schwierzeck select SUPPORTS_LITTLE_ENDIAN 4902611cbbSDaniel Schwierzeck select SUPPORTS_CPU_MIPS32_R1 5002611cbbSDaniel Schwierzeck select SUPPORTS_CPU_MIPS32_R2 51dd84058dSMasahiro Yamada 52dd84058dSMasahiro Yamada 53dd84058dSMasahiro Yamadaendchoice 54dd84058dSMasahiro Yamada 55dd84058dSMasahiro Yamadasource "board/dbau1x00/Kconfig" 56dd84058dSMasahiro Yamadasource "board/imgtec/malta/Kconfig" 57dd84058dSMasahiro Yamadasource "board/micronas/vct/Kconfig" 58dd84058dSMasahiro Yamadasource "board/pb1x00/Kconfig" 59dd84058dSMasahiro Yamadasource "board/qemu-mips/Kconfig" 60dd84058dSMasahiro Yamada 610e1dc345SDaniel Schwierzeckif MIPS 620e1dc345SDaniel Schwierzeck 630e1dc345SDaniel Schwierzeckchoice 640e1dc345SDaniel Schwierzeck prompt "Endianness selection" 650e1dc345SDaniel Schwierzeck help 660e1dc345SDaniel Schwierzeck Some MIPS boards can be configured for either little or big endian 670e1dc345SDaniel Schwierzeck byte order. These modes require different U-Boot images. In general there 680e1dc345SDaniel Schwierzeck is one preferred byteorder for a particular system but some systems are 690e1dc345SDaniel Schwierzeck just as commonly used in the one or the other endianness. 700e1dc345SDaniel Schwierzeck 710e1dc345SDaniel Schwierzeckconfig SYS_BIG_ENDIAN 720e1dc345SDaniel Schwierzeck bool "Big endian" 730e1dc345SDaniel Schwierzeck depends on SUPPORTS_BIG_ENDIAN 740e1dc345SDaniel Schwierzeck 750e1dc345SDaniel Schwierzeckconfig SYS_LITTLE_ENDIAN 760e1dc345SDaniel Schwierzeck bool "Little endian" 770e1dc345SDaniel Schwierzeck depends on SUPPORTS_LITTLE_ENDIAN 780e1dc345SDaniel Schwierzeck 790e1dc345SDaniel Schwierzeckendchoice 800e1dc345SDaniel Schwierzeck 8102611cbbSDaniel Schwierzeckchoice 8202611cbbSDaniel Schwierzeck prompt "CPU selection" 8302611cbbSDaniel Schwierzeck default CPU_MIPS32_R2 8402611cbbSDaniel Schwierzeck 8502611cbbSDaniel Schwierzeckconfig CPU_MIPS32_R1 8602611cbbSDaniel Schwierzeck bool "MIPS32 Release 1" 8702611cbbSDaniel Schwierzeck depends on SUPPORTS_CPU_MIPS32_R1 8802611cbbSDaniel Schwierzeck select 32BIT 8902611cbbSDaniel Schwierzeck help 9002611cbbSDaniel Schwierzeck Choose this option to build an U-Boot for release 1 or later of the 9102611cbbSDaniel Schwierzeck MIPS32 architecture. 9202611cbbSDaniel Schwierzeck 9302611cbbSDaniel Schwierzeckconfig CPU_MIPS32_R2 9402611cbbSDaniel Schwierzeck bool "MIPS32 Release 2" 9502611cbbSDaniel Schwierzeck depends on SUPPORTS_CPU_MIPS32_R2 9602611cbbSDaniel Schwierzeck select 32BIT 9702611cbbSDaniel Schwierzeck help 9802611cbbSDaniel Schwierzeck Choose this option to build an U-Boot for release 2 or later of the 9902611cbbSDaniel Schwierzeck MIPS32 architecture. 10002611cbbSDaniel Schwierzeck 10102611cbbSDaniel Schwierzeckconfig CPU_MIPS64_R1 10202611cbbSDaniel Schwierzeck bool "MIPS64 Release 1" 10302611cbbSDaniel Schwierzeck depends on SUPPORTS_CPU_MIPS64_R1 10402611cbbSDaniel Schwierzeck select 64BIT 10502611cbbSDaniel Schwierzeck help 10602611cbbSDaniel Schwierzeck Choose this option to build a kernel for release 1 or later of the 10702611cbbSDaniel Schwierzeck MIPS64 architecture. 10802611cbbSDaniel Schwierzeck 10902611cbbSDaniel Schwierzeckconfig CPU_MIPS64_R2 11002611cbbSDaniel Schwierzeck bool "MIPS64 Release 2" 11102611cbbSDaniel Schwierzeck depends on SUPPORTS_CPU_MIPS64_R2 11202611cbbSDaniel Schwierzeck select 64BIT 11302611cbbSDaniel Schwierzeck help 11402611cbbSDaniel Schwierzeck Choose this option to build a kernel for release 2 or later of the 11502611cbbSDaniel Schwierzeck MIPS64 architecture. 11602611cbbSDaniel Schwierzeck 11702611cbbSDaniel Schwierzeckendchoice 11802611cbbSDaniel Schwierzeck 1190e1dc345SDaniel Schwierzeckconfig SUPPORTS_BIG_ENDIAN 1200e1dc345SDaniel Schwierzeck bool 1210e1dc345SDaniel Schwierzeck 1220e1dc345SDaniel Schwierzeckconfig SUPPORTS_LITTLE_ENDIAN 1230e1dc345SDaniel Schwierzeck bool 1240e1dc345SDaniel Schwierzeck 12502611cbbSDaniel Schwierzeckconfig SUPPORTS_CPU_MIPS32_R1 12602611cbbSDaniel Schwierzeck bool 12702611cbbSDaniel Schwierzeck 12802611cbbSDaniel Schwierzeckconfig SUPPORTS_CPU_MIPS32_R2 12902611cbbSDaniel Schwierzeck bool 13002611cbbSDaniel Schwierzeck 13102611cbbSDaniel Schwierzeckconfig SUPPORTS_CPU_MIPS64_R1 13202611cbbSDaniel Schwierzeck bool 13302611cbbSDaniel Schwierzeck 13402611cbbSDaniel Schwierzeckconfig SUPPORTS_CPU_MIPS64_R2 13502611cbbSDaniel Schwierzeck bool 13602611cbbSDaniel Schwierzeck 13702611cbbSDaniel Schwierzeckconfig 32BIT 13802611cbbSDaniel Schwierzeck bool 13902611cbbSDaniel Schwierzeck 14002611cbbSDaniel Schwierzeckconfig 64BIT 14102611cbbSDaniel Schwierzeck bool 14202611cbbSDaniel Schwierzeck 1430e1dc345SDaniel Schwierzeckendif 1440e1dc345SDaniel Schwierzeck 145dd84058dSMasahiro Yamadaendmenu 146