Kconfig 9.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445
  1. ##
  2. ## SerialICE
  3. ##
  4. ## Copyright (C) 2009 coresystems GmbH
  5. ##
  6. ## This program is free software; you can redistribute it and/or modify
  7. ## it under the terms of the GNU General Public License as published by
  8. ## the Free Software Foundation; version 2 of the License.
  9. ##
  10. ## This program is distributed in the hope that it will be useful,
  11. ## but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. ## GNU General Public License for more details.
  14. ##
  15. ## You should have received a copy of the GNU General Public License
  16. ## along with this program; if not, write to the Free Software
  17. ## Foundation, Inc.
  18. ##
  19. #
  20. # For a description of the syntax of this configuration file,
  21. # see http://lxr.linux.no/source/Documentation/kbuild/kconfig-language.txt.
  22. #
  23. mainmenu "SerialICE Configuration"
  24. choice
  25. prompt "Mainboard model"
  26. config BOARD_QEMU_X86
  27. bool "Qemu"
  28. config BOARD_AMD_SERENGETI_CHEETAH
  29. bool "AMD Serengeti Cheetah (SimNOW)"
  30. config BOARD_AOPEN_DXPL_PLUS
  31. bool "AOpen DXPL Plus"
  32. config BOARD_ASROCK_775I65G
  33. bool "ASRock 775i65G"
  34. config BOARD_ASROCK_939A785GMH
  35. bool "ASRock 939A785GMH"
  36. select BUILD_XMMSTACK
  37. config BOARD_ASROCK_P4I65GV
  38. bool "ASRock P4i65GV"
  39. config BOARD_ASUS_F2A85_M
  40. bool "ASUS F2A85-M"
  41. select BUILD_XMMSTACK
  42. config BOARD_ASUS_K8V_X
  43. bool "ASUS K8V-X"
  44. select VIA_ROMSTRAP
  45. select BUILD_XMMSTACK
  46. config BOARD_ASUS_M2V_MX_SE
  47. bool "ASUS M2V-MX SE"
  48. select VIA_ROMSTRAP
  49. select BUILD_XMMSTACK
  50. config BOARD_ASUS_M4A77TD_PRO
  51. bool "ASUS M4A77TD-PRO"
  52. select BUILD_XMMSTACK
  53. config BOARD_ASUS_P2_M3A3200
  54. bool "ASUS Pundit P2-M3A3200"
  55. config BOARD_ASUS_P2B
  56. bool "ASUS P2B"
  57. config BOARD_ASUS_P4P800_VM
  58. bool "ASUS P4P800-VM"
  59. config BOARD_COMMELL_LV_672
  60. bool "Commell LV-672"
  61. config BOARD_DELL_S1850
  62. bool "Dell PowerEdge S1850"
  63. config BOARD_HP_DL165_G6
  64. bool "HP DL165 G6"
  65. config BOARD_INTEL_D845GBV2
  66. bool "Intel D845GBV2"
  67. config BOARD_INTEL_D945GCLF
  68. bool "Intel D945GCLF"
  69. config BOARD_INTEL_D945GNT
  70. bool "Intel D945GNT"
  71. config BOARD_INTEL_D946GZIS
  72. bool "Intel D946GZIS"
  73. config BOARD_JETWAY_NF81_T56N_LF
  74. bool "Jetway NF81-T56N-LF"
  75. select BUILD_XMMSTACK
  76. config BOARD_KONTRON_986LCD_M
  77. bool "Kontron 986LCD-M/mITX"
  78. config BOARD_MSI_MS6178
  79. bool "MSI MS6178"
  80. config BOARD_MSI_MS7133
  81. bool "MSI MS-7133"
  82. config BOARD_RCA_RM4100
  83. bool "RCA RM4100"
  84. config BOARD_RODA_RK886EX
  85. bool "Roda RK886EX"
  86. config BOARD_TELEVIDEO_TC7010
  87. bool "Televideo TC7010"
  88. config BOARD_THOMSON_IP1000
  89. bool "Thomson IP1000"
  90. config BOARD_TYAN_S2892
  91. bool "Tyan S2892"
  92. select CK804_ROMSTRAP
  93. config BOARD_TYAN_S2895
  94. bool "Tyan S2895"
  95. select CK804_ROMSTRAP
  96. config BOARD_TYAN_S2912
  97. bool "Tyan S2912"
  98. select MCP55_ROMSTRAP
  99. config BOARD_VIA_EPIA_M850
  100. bool "VIA EPIA M850"
  101. config BOARD_WYSE_S50
  102. bool "WYSE S50"
  103. config BOARD_LENOVO_X60
  104. bool "Lenovo X60"
  105. endchoice
  106. config BOARD_INIT
  107. string
  108. default "qemu-x86.c" if BOARD_QEMU_X86
  109. default "amd_serengeti-cheetah.c" if BOARD_AMD_SERENGETI_CHEETAH
  110. default "asus_p2-m3a3200.c" if BOARD_ASUS_P2_M3A3200
  111. default "kontron_986lcd-m.c" if BOARD_KONTRON_986LCD_M
  112. default "roda_rk886ex.c" if BOARD_RODA_RK886EX
  113. default "intel_d94x.c" if BOARD_INTEL_D945GCLF || BOARD_INTEL_D945GNT || BOARD_INTEL_D946GZIS
  114. default "dell_s1850.c" if BOARD_DELL_S1850
  115. default "asus_f2a85-m.c" if BOARD_ASUS_F2A85_M
  116. default "asus_m2v-mx_se.c" if BOARD_ASUS_M2V_MX_SE
  117. default "asus_k8v-x.c" if BOARD_ASUS_K8V_X
  118. default "msi_ms6178.c" if BOARD_MSI_MS6178
  119. default "msi_ms7133.c" if BOARD_MSI_MS7133
  120. default "rca_rm4100.c" if BOARD_RCA_RM4100
  121. default "thomson_ip1000.c" if BOARD_THOMSON_IP1000
  122. default "asus_p2b.c" if BOARD_ASUS_P2B
  123. default "asus_m4a77td-pro.c" if BOARD_ASUS_M4A77TD_PRO
  124. default "asrock_939a785gmh.c" if BOARD_ASROCK_939A785GMH
  125. default "televideo_tc7010.c" if BOARD_TELEVIDEO_TC7010
  126. default "tyan_s2892.c" if BOARD_TYAN_S2892
  127. default "tyan_s2895.c" if BOARD_TYAN_S2895
  128. default "tyan_s2912.c" if BOARD_TYAN_S2912
  129. default "hp_dl165_g6.c" if BOARD_HP_DL165_G6
  130. default "wyse_s50.c" if BOARD_WYSE_S50
  131. default "asrock_p4i65gv.c" if BOARD_ASROCK_P4I65GV
  132. default "asus_p4p800-vm.c" if BOARD_ASUS_P4P800_VM
  133. default "aopen_dxpl-plus.c" if BOARD_AOPEN_DXPL_PLUS
  134. default "via_epia_m850.c" if BOARD_VIA_EPIA_M850
  135. default "intel_d845gbv2.c" if BOARD_INTEL_D845GBV2
  136. default "asrock_775i65g.c" if BOARD_ASROCK_775I65G
  137. default "commell_lv_672.c" if BOARD_COMMELL_LV_672
  138. default "jetway_nf81_t56n_lf.c" if BOARD_JETWAY_NF81_T56N_LF
  139. default "lenovo_x60.c" if BOARD_LENOVO_X60
  140. config SOUTHBRIDGE_INIT
  141. string
  142. default "southbridge/intel-ich7.c" if BOARD_KONTRON_986LCD_M
  143. default "southbridge/amd-sbxxx.c" if BOARD_ASUS_F2A85_M || BOARD_JETWAY_NF81_T56N_LF
  144. default "southbridge/amd-sbxxx.c" if BOARD_ASUS_P2_M3A3200
  145. config SUPERIO_INIT
  146. string
  147. default "superio/ite-it8718f.c" if BOARD_ASUS_P2_M3A3200
  148. default "superio/winbond-w83627thg.c" if BOARD_KONTRON_986LCD_M
  149. default "superio/fintek-f71869ad.c" if BOARD_JETWAY_NF81_T56N_LF
  150. choice
  151. prompt "ROM size"
  152. default ROM_64K
  153. config ROM_64K
  154. boolean "64 KB"
  155. config ROM_128K
  156. boolean "128 KB"
  157. config ROM_256K
  158. boolean "256 KB"
  159. config ROM_512K
  160. boolean "512 KB"
  161. config ROM_1024K
  162. boolean "1024 KB"
  163. config ROM_2048K
  164. boolean "2048 KB"
  165. config ROM_4096K
  166. boolean "4096 KB"
  167. endchoice
  168. config ROMSIZE
  169. hex
  170. default 0x10000 if ROM_64K
  171. default 0x20000 if ROM_128K
  172. default 0x40000 if ROM_256K
  173. default 0x80000 if ROM_512K
  174. default 0x100000 if ROM_1024K
  175. default 0x200000 if ROM_2048K
  176. default 0x400000 if ROM_4096K
  177. choice
  178. prompt "Target communication"
  179. config SERIAL
  180. boolean "Serial console support"
  181. help
  182. SerialICE shell on serial console.
  183. config USB
  184. boolean "USB2 console support (BROKEN)"
  185. depends on EXPERIMENTAL
  186. help
  187. Send SerialICE shell to USB2 (EHCI) console.
  188. Note: This requires a USB2 controller which supports the EHCI
  189. Debug Port capability. Controllers which are known to work:
  190. * 10b9:5239 ALi Corporation USB 2.0 (USB PCI card)
  191. * 8086:24cd Intel ICH4/ICH4-M
  192. * 8086:24dd Intel ICH5
  193. * 8086:265c Intel ICH6
  194. * 8086:268c Intel 631xESB/632xESB/3100
  195. * 8086:27cc Intel ICH7
  196. * 8086:2836 Intel ICH8
  197. * 8086:283a Intel ICH8
  198. * 8086:293a Intel ICH9
  199. * 10de:0088 NVIDIA MCP2A
  200. * 10de:005b NVIDIA CK804
  201. * 10de:026e NVIDIA MCP51
  202. * 10de:036d NVIDIA MCP55
  203. * 10de:03f2 NVIDIA MCP61
  204. * 1002:4386 ATI/AMD SB600
  205. * 1106:3104 VIA VX800
  206. See http://www.coreboot.org/EHCI_Debug_Port for an up-to-date list.
  207. endchoice
  208. choice
  209. prompt "Serial console COM port"
  210. default SERIAL_COM1
  211. depends on SERIAL
  212. config SERIAL_COM1
  213. bool "COM1/ttyS0"
  214. help
  215. Serial console on COM1/ttyS0.
  216. config SERIAL_COM2
  217. bool "COM2/ttyS1"
  218. help
  219. Serial console on COM2/ttyS1.
  220. endchoice
  221. config SERIAL_PORT
  222. hex
  223. default 0x3f8 if SERIAL_COM1
  224. default 0x2f8 if SERIAL_COM2
  225. choice
  226. prompt "Serial console speed"
  227. default SERIAL_115200
  228. depends on SERIAL
  229. config SERIAL_460800
  230. bool "460800 bps"
  231. help
  232. Set serial port speed to 460800 bps.
  233. config SERIAL_230400
  234. bool "230400 bps"
  235. help
  236. Set serial port speed to 230400 bps.
  237. config SERIAL_115200
  238. bool "115200 bps"
  239. help
  240. Set serial port speed to 115200 bps.
  241. config SERIAL_57600
  242. bool "57600 bps"
  243. help
  244. Set serial port speed to 57600 bps.
  245. config SERIAL_38400
  246. bool "38400 bps"
  247. help
  248. Set serial port speed to 38400 bps.
  249. config SERIAL_19200
  250. bool "19200 bps"
  251. help
  252. Set serial port speed to 19200 bps.
  253. config SERIAL_9600
  254. bool "9600 bps"
  255. help
  256. Set serial port speed to 9600 bps.
  257. endchoice
  258. config SERIAL_BAUDRATE
  259. int
  260. default 460800 if SERIAL_460800
  261. default 230400 if SERIAL_230400
  262. default 115200 if SERIAL_115200
  263. default 57600 if SERIAL_57600
  264. default 38400 if SERIAL_38400
  265. default 19200 if SERIAL_19200
  266. default 9600 if SERIAL_9600
  267. menu "Debugging setup"
  268. config EXPERIMENTAL
  269. bool "Prompt for development and/or incomplete code"
  270. help
  271. Enable this option if you want to test development features or
  272. incomplete/unsupported code
  273. We do not make any guarantees about anything that is marked
  274. as EXPERIMENTAL! You have been warned!
  275. choice
  276. prompt "POST card"
  277. default POST_NONE
  278. config POST_NONE
  279. boolean "None"
  280. config POST_PCI
  281. boolean "PCI POST card"
  282. config POST_LPC
  283. boolean "LPC POST card"
  284. endchoice
  285. config EXPERT
  286. bool "Expert mode"
  287. help
  288. This allows you to select certain advanced configuration options.
  289. It is mainly intended for SerialICE developers.
  290. Warning: Only enable this option if you really know what you're
  291. doing! You have been warned!
  292. config HAVE_SSE
  293. bool "Enable SSE"
  294. depends on EXPERT
  295. default n
  296. config VIA_ROMSTRAP
  297. bool "VIA Southbridge ROMSTRAP"
  298. depends on EXPERT
  299. default n
  300. config CK804_ROMSTRAP
  301. bool "NVIDIA CK804 Southbridge ROMSTRAP"
  302. depends on EXPERT
  303. default n
  304. config MCP55_ROMSTRAP
  305. bool "NVIDIA MCP55 Southbridge ROMSTRAP"
  306. depends on EXPERT
  307. default n
  308. choice
  309. prompt "Build Method"
  310. default BUILD_ROMCC
  311. depends on EXPERT
  312. config BUILD_ROMCC
  313. bool "ROMCC"
  314. depends on EXPERT
  315. config BUILD_XMMSTACK
  316. bool "XMMSTACK"
  317. select HAVE_SSE
  318. depends on EXPERT
  319. endchoice
  320. endmenu
  321. # blind default options in case CONFIG_EXPERT is not enabled.
  322. #
  323. config HAVE_SSE
  324. bool
  325. depends on !EXPERT
  326. default n
  327. config VIA_ROMSTRAP
  328. bool
  329. depends on !EXPERT
  330. default n
  331. config MCP55_ROMSTRAP
  332. bool
  333. depends on !EXPERT
  334. default n
  335. config BUILD_ROMCC
  336. bool
  337. default y
  338. depends on !EXPERT
  339. config BUILD_XMMSTACK
  340. bool
  341. select HAVE_SSE
  342. depends on !EXPERT