Kconfig 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196
  1. menu "MIPS architecture"
  2. depends on MIPS
  3. config SYS_ARCH
  4. default "mips"
  5. config SYS_CPU
  6. default "mips32" if CPU_MIPS32_R1 || CPU_MIPS32_R2
  7. default "mips64" if CPU_MIPS64_R1 || CPU_MIPS64_R2
  8. config USE_PRIVATE_LIBGCC
  9. default y
  10. choice
  11. prompt "Target select"
  12. config TARGET_QEMU_MIPS
  13. bool "Support qemu-mips"
  14. select SUPPORTS_BIG_ENDIAN
  15. select SUPPORTS_LITTLE_ENDIAN
  16. select SUPPORTS_CPU_MIPS32_R1
  17. select SUPPORTS_CPU_MIPS32_R2
  18. select SUPPORTS_CPU_MIPS64_R1
  19. select SUPPORTS_CPU_MIPS64_R2
  20. config TARGET_MALTA
  21. bool "Support malta"
  22. select SUPPORTS_BIG_ENDIAN
  23. select SUPPORTS_LITTLE_ENDIAN
  24. select SUPPORTS_CPU_MIPS32_R1
  25. select SUPPORTS_CPU_MIPS32_R2
  26. select SWAP_IO_SPACE
  27. config TARGET_VCT
  28. bool "Support vct"
  29. select SUPPORTS_BIG_ENDIAN
  30. select SUPPORTS_CPU_MIPS32_R1
  31. select SUPPORTS_CPU_MIPS32_R2
  32. select SYS_MIPS_CACHE_INIT_RAM_LOAD
  33. config TARGET_DBAU1X00
  34. bool "Support dbau1x00"
  35. select SUPPORTS_BIG_ENDIAN
  36. select SUPPORTS_LITTLE_ENDIAN
  37. select SUPPORTS_CPU_MIPS32_R1
  38. select SUPPORTS_CPU_MIPS32_R2
  39. select SYS_MIPS_CACHE_INIT_RAM_LOAD
  40. config TARGET_PB1X00
  41. bool "Support pb1x00"
  42. select SUPPORTS_LITTLE_ENDIAN
  43. select SUPPORTS_CPU_MIPS32_R1
  44. select SUPPORTS_CPU_MIPS32_R2
  45. select SYS_MIPS_CACHE_INIT_RAM_LOAD
  46. endchoice
  47. source "board/dbau1x00/Kconfig"
  48. source "board/imgtec/malta/Kconfig"
  49. source "board/micronas/vct/Kconfig"
  50. source "board/pb1x00/Kconfig"
  51. source "board/qemu-mips/Kconfig"
  52. if MIPS
  53. choice
  54. prompt "Endianness selection"
  55. help
  56. Some MIPS boards can be configured for either little or big endian
  57. byte order. These modes require different U-Boot images. In general there
  58. is one preferred byteorder for a particular system but some systems are
  59. just as commonly used in the one or the other endianness.
  60. config SYS_BIG_ENDIAN
  61. bool "Big endian"
  62. depends on SUPPORTS_BIG_ENDIAN
  63. config SYS_LITTLE_ENDIAN
  64. bool "Little endian"
  65. depends on SUPPORTS_LITTLE_ENDIAN
  66. endchoice
  67. choice
  68. prompt "CPU selection"
  69. default CPU_MIPS32_R2
  70. config CPU_MIPS32_R1
  71. bool "MIPS32 Release 1"
  72. depends on SUPPORTS_CPU_MIPS32_R1
  73. select 32BIT
  74. help
  75. Choose this option to build an U-Boot for release 1 or later of the
  76. MIPS32 architecture.
  77. config CPU_MIPS32_R2
  78. bool "MIPS32 Release 2"
  79. depends on SUPPORTS_CPU_MIPS32_R2
  80. select 32BIT
  81. help
  82. Choose this option to build an U-Boot for release 2 or later of the
  83. MIPS32 architecture.
  84. config CPU_MIPS64_R1
  85. bool "MIPS64 Release 1"
  86. depends on SUPPORTS_CPU_MIPS64_R1
  87. select 64BIT
  88. help
  89. Choose this option to build a kernel for release 1 or later of the
  90. MIPS64 architecture.
  91. config CPU_MIPS64_R2
  92. bool "MIPS64 Release 2"
  93. depends on SUPPORTS_CPU_MIPS64_R2
  94. select 64BIT
  95. help
  96. Choose this option to build a kernel for release 2 or later of the
  97. MIPS64 architecture.
  98. endchoice
  99. menu "OS boot interface"
  100. config MIPS_BOOT_CMDLINE_LEGACY
  101. bool "Hand over legacy command line to Linux kernel"
  102. default y
  103. help
  104. Enable this option if you want U-Boot to hand over the Yamon-style
  105. command line to the kernel. All bootargs will be prepared as argc/argv
  106. compatible list. The argument count (argc) is stored in register $a0.
  107. The address of the argument list (argv) is stored in register $a1.
  108. config MIPS_BOOT_ENV_LEGACY
  109. bool "Hand over legacy environment to Linux kernel"
  110. default y
  111. help
  112. Enable this option if you want U-Boot to hand over the Yamon-style
  113. environment to the kernel. Information like memory size, initrd
  114. address and size will be prepared as zero-terminated key/value list.
  115. The address of the enviroment is stored in register $a2.
  116. config MIPS_BOOT_FDT
  117. bool "Hand over a flattened device tree to Linux kernel (INCOMPLETE)"
  118. default n
  119. help
  120. Enable this option if you want U-Boot to hand over a flattened
  121. device tree to the kernel.
  122. Note: the final hand over to the kernel is not yet implemented. After
  123. the community agreed on the MIPS boot interface for device trees,
  124. the corresponding code will be added.
  125. endmenu
  126. config SUPPORTS_BIG_ENDIAN
  127. bool
  128. config SUPPORTS_LITTLE_ENDIAN
  129. bool
  130. config SUPPORTS_CPU_MIPS32_R1
  131. bool
  132. config SUPPORTS_CPU_MIPS32_R2
  133. bool
  134. config SUPPORTS_CPU_MIPS64_R1
  135. bool
  136. config SUPPORTS_CPU_MIPS64_R2
  137. bool
  138. config CPU_MIPS32
  139. bool
  140. default y if CPU_MIPS32_R1 || CPU_MIPS32_R2
  141. config CPU_MIPS64
  142. bool
  143. default y if CPU_MIPS64_R1 || CPU_MIPS64_R2
  144. config 32BIT
  145. bool
  146. config 64BIT
  147. bool
  148. config SWAP_IO_SPACE
  149. bool
  150. config SYS_MIPS_CACHE_INIT_RAM_LOAD
  151. bool
  152. endif
  153. endmenu