Andrew Wu | 8522f99 | 2013-07-05 17:29:41 +0800 | [diff] [blame] | 1 | ## |
| 2 | ## This file is part of the coreboot project. |
| 3 | ## |
| 4 | ## Copyright (C) 2013 DMP Electronics Inc. |
| 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
| 18 | ## |
| 19 | |
| 20 | if BOARD_DMP_EX |
| 21 | |
| 22 | config BOARD_SPECIFIC_OPTIONS # dummy |
| 23 | def_bool y |
| 24 | select ARCH_X86 |
| 25 | select CPU_DMP_VORTEX86EX |
| 26 | select NORTHBRIDGE_DMP_VORTEX86EX |
| 27 | select SOUTHBRIDGE_DMP_VORTEX86EX |
| 28 | select HAVE_PIRQ_TABLE |
| 29 | select BOARD_ROMSIZE_KB_256 |
| 30 | select ROMCC |
| 31 | select DEFAULT_EARLY_CONSOLE |
| 32 | select HAVE_DEBUG_RAM_SETUP |
| 33 | |
| 34 | config MAINBOARD_DIR |
| 35 | string |
| 36 | default dmp/vortex86ex |
| 37 | |
| 38 | config MAINBOARD_PART_NUMBER |
| 39 | string |
| 40 | default "Vortex86EX" |
| 41 | |
| 42 | config IRQ_SLOT_COUNT |
| 43 | int |
| 44 | default 12 |
| 45 | |
| 46 | config ID_SECTION_OFFSET |
| 47 | # Vortex86 ROM fixed data areas used too big range, we need |
| 48 | # to move ID from default address to another place. |
| 49 | # 18K below top of ROM should be ok. |
| 50 | hex |
| 51 | default 0x4800 |
| 52 | |
Andrew Wu | a4ae310 | 2013-12-23 19:54:26 +0800 | [diff] [blame] | 53 | # SPI I/O base address control. |
| 54 | config I2C_BASE |
| 55 | hex |
| 56 | default 0xfb00 |
| 57 | |
Andrew Wu | 8522f99 | 2013-07-05 17:29:41 +0800 | [diff] [blame] | 58 | # ROM Strap PLL config setting : |
| 59 | |
| 60 | choice |
| 61 | prompt "ROM Strap PLL config" |
| 62 | default PLL_300_300_33 |
| 63 | |
| 64 | config PLL_200_200_33 |
| 65 | bool "CPU=200Mhz/DRAM=200Mhz/PCI=33Mhz" |
| 66 | |
| 67 | config PLL_300_300_33 |
| 68 | bool "CPU=300Mhz/DRAM=300Mhz/PCI=33Mhz" |
| 69 | |
| 70 | config PLL_300_300_100 |
| 71 | bool "CPU=300Mhz/DRAM=300Mhz/PCI=100Mhz" |
| 72 | |
| 73 | config PLL_400_200_33 |
| 74 | bool "CPU=400Mhz/DRAM=200Mhz/PCI=33Mhz" |
| 75 | |
| 76 | config PLL_400_200_100 |
| 77 | bool "CPU=400Mhz/DRAM=200Mhz/PCI=100Mhz" |
| 78 | |
| 79 | config PLL_400_400_33 |
| 80 | bool "CPU=400Mhz/DRAM=400Mhz/PCI=33Mhz" |
| 81 | |
| 82 | config PLL_500_250_33 |
| 83 | bool "CPU=500Mhz/DRAM=250Mhz/PCI=33Mhz" |
| 84 | |
| 85 | config PLL_500_500_33 |
| 86 | bool "CPU=500Mhz/DRAM=500Mhz/PCI=33Mhz" |
| 87 | |
| 88 | config PLL_400_300_33 |
| 89 | bool "CPU=400Mhz/DRAM=300Mhz/PCI=33Mhz" |
| 90 | |
| 91 | config PLL_400_300_100 |
| 92 | bool "CPU=400Mhz/DRAM=300Mhz/PCI=100Mhz" |
| 93 | |
| 94 | config PLL_444_333_33 |
| 95 | bool "CPU=444Mhz/DRAM=333Mhz/PCI=33Mhz" |
| 96 | |
| 97 | config PLL_466_350_33 |
| 98 | bool "CPU=466Mhz/DRAM=350Mhz/PCI=33Mhz" |
| 99 | |
| 100 | config PLL_500_375_33 |
| 101 | bool "CPU=500Mhz/DRAM=375Mhz/PCI=33Mhz" |
| 102 | |
| 103 | endchoice |
| 104 | |
| 105 | menu "On-Chip Device Power Down Control" |
| 106 | |
| 107 | config TEMP_POWERDOWN |
| 108 | bool "Temperature sensor power-down" |
| 109 | |
| 110 | config SATA_POWERDOWN |
| 111 | bool "SATA power-down" |
| 112 | |
| 113 | config ADC_POWERDOWN |
| 114 | bool "ADC power-down" |
| 115 | |
| 116 | config PCIE0_POWERDOWN |
| 117 | bool "PCIE0 power-down" |
| 118 | |
| 119 | config MAC_POWERDOWN |
| 120 | bool "MAC power-down" |
| 121 | |
| 122 | config USB1_POWERDOWN |
| 123 | bool "USB2.0 Host Controller 1 power-down" |
| 124 | |
| 125 | config IDE_POWERDOWN |
| 126 | bool "IDE power-down" |
| 127 | |
| 128 | endmenu |
| 129 | |
| 130 | menu "Watchdog Timer setting" |
| 131 | |
| 132 | config WDT1_INITIALIZE |
| 133 | bool "Initialize WDT1" |
| 134 | default n |
| 135 | |
| 136 | config WDT1_ENABLE |
| 137 | depends on WDT1_INITIALIZE |
| 138 | bool "Enable WDT1" |
| 139 | default n |
| 140 | |
| 141 | choice |
| 142 | depends on WDT1_INITIALIZE |
| 143 | prompt "WDT1 Signal Select" |
| 144 | default WDT1_SIGNAL_RESET |
| 145 | |
| 146 | config WDT1_SINGAL_NMI |
| 147 | bool "NMI" |
| 148 | config WDT1_SIGNAL_RESET |
| 149 | bool "Reset" |
| 150 | config WDT1_SIGNAL_SMI |
| 151 | bool "SMI" |
| 152 | |
| 153 | endchoice |
| 154 | |
| 155 | endmenu |
| 156 | |
| 157 | menu "IDE controller setting" |
| 158 | |
| 159 | choice |
| 160 | prompt "Operation Mode" |
| 161 | default IDE_NATIVE_MODE |
| 162 | |
| 163 | config IDE_NATIVE_MODE |
| 164 | bool "Native Mode" |
| 165 | config IDE_LEGACY_MODE |
| 166 | bool "Legacy Mode" |
| 167 | |
| 168 | endchoice |
| 169 | |
| 170 | config IDE1_ENABLE |
| 171 | bool "IDE Primary channel Enable" |
| 172 | default y |
| 173 | |
| 174 | config IDE2_ENABLE |
| 175 | bool "IDE Secondary channel Enable" |
| 176 | default y |
| 177 | |
| 178 | config IDE_STANDARD_COMPATIBLE |
| 179 | bool "Standard IDE Compatible" |
| 180 | default n |
| 181 | help |
| 182 | Built-in IDE controller PCI vendor/device ID is 17F3:1012, which |
| 183 | is not recognized by some OSes. |
| 184 | |
| 185 | This option can change IDE controller PCI vendor/device ID to |
| 186 | other value for software compatibility. |
| 187 | |
| 188 | config IDE_COMPATIBLE_SELECTION |
| 189 | depends on IDE_STANDARD_COMPATIBLE |
| 190 | hex "IDE Compatible Selection" |
| 191 | default 0x808624db |
| 192 | help |
| 193 | IDE controller PCI vendor/device ID value setting. |
| 194 | |
| 195 | Higher 16-bit is vendor ID, lower 16-bit is device ID. |
| 196 | |
| 197 | endmenu |
| 198 | |
| 199 | # GPIO setting : |
| 200 | menu "GPIO setting" |
| 201 | |
| 202 | # Begin of GPIO0 |
| 203 | config GPIO_P0_ENABLE |
| 204 | bool "GPIO port 0 Enable" |
| 205 | default n |
| 206 | |
| 207 | config GPIO_P0_DATA_ADDR |
| 208 | hex "GPIO port 0 data address" |
| 209 | depends on GPIO_P0_ENABLE |
| 210 | |
| 211 | config GPIO_P0_DIR_ADDR |
| 212 | hex "GPIO port 0 direction address" |
| 213 | depends on GPIO_P0_ENABLE |
| 214 | |
| 215 | config GPIO_P0_INIT_DIR |
| 216 | hex "GPIO port 0 initial direction" |
| 217 | default 0x00 |
| 218 | depends on GPIO_P0_ENABLE |
| 219 | |
| 220 | config GPIO_P0_INIT_DATA |
| 221 | hex "GPIO port 0 initial data" |
| 222 | depends on GPIO_P0_ENABLE |
| 223 | # end of GPIO0 |
| 224 | |
| 225 | # Begin of GPIO1 |
| 226 | config GPIO_P1_ENABLE |
| 227 | bool "GPIO port 1 Enable" |
| 228 | default n |
| 229 | |
| 230 | config GPIO_P1_DATA_ADDR |
| 231 | hex "GPIO port 1 data address" |
| 232 | depends on GPIO_P1_ENABLE |
| 233 | |
| 234 | config GPIO_P1_DIR_ADDR |
| 235 | hex "GPIO port 1 direction address" |
| 236 | depends on GPIO_P1_ENABLE |
| 237 | |
| 238 | config GPIO_P1_INIT_DIR |
| 239 | hex "GPIO port 1 initial direction" |
| 240 | default 0x00 |
| 241 | depends on GPIO_P1_ENABLE |
| 242 | |
| 243 | config GPIO_P1_INIT_DATA |
| 244 | hex "GPIO port 1 initial data" |
| 245 | depends on GPIO_P1_ENABLE |
| 246 | # end of GPIO1 |
| 247 | |
| 248 | # Begin of GPIO2 |
| 249 | config GPIO_P2_ENABLE |
| 250 | bool "GPIO port 2 Enable" |
| 251 | default n |
| 252 | |
| 253 | config GPIO_P2_DATA_ADDR |
| 254 | hex "GPIO port 2 data address" |
| 255 | depends on GPIO_P2_ENABLE |
| 256 | |
| 257 | config GPIO_P2_DIR_ADDR |
| 258 | hex "GPIO port 2 direction address" |
| 259 | depends on GPIO_P2_ENABLE |
| 260 | |
| 261 | config GPIO_P2_INIT_DIR |
| 262 | hex "GPIO port 2 initial direction" |
| 263 | default 0x00 |
| 264 | depends on GPIO_P2_ENABLE |
| 265 | |
| 266 | config GPIO_P2_INIT_DATA |
| 267 | hex "GPIO port 2 initial data" |
| 268 | depends on GPIO_P2_ENABLE |
| 269 | # end of GPIO2 |
| 270 | |
| 271 | # Begin of GPIO3 |
| 272 | config GPIO_P3_ENABLE |
| 273 | bool "GPIO port 3 Enable" |
| 274 | default n |
| 275 | |
| 276 | config GPIO_P3_DATA_ADDR |
| 277 | hex "GPIO port 3 data address" |
| 278 | depends on GPIO_P3_ENABLE |
| 279 | |
| 280 | config GPIO_P3_DIR_ADDR |
| 281 | hex "GPIO port 3 direction address" |
| 282 | depends on GPIO_P3_ENABLE |
| 283 | |
| 284 | config GPIO_P3_INIT_DIR |
| 285 | hex "GPIO port 3 initial direction" |
| 286 | default 0x00 |
| 287 | depends on GPIO_P3_ENABLE |
| 288 | |
| 289 | config GPIO_P3_INIT_DATA |
| 290 | hex "GPIO port 3 initial data" |
| 291 | depends on GPIO_P3_ENABLE |
| 292 | # end of GPIO3 |
| 293 | |
| 294 | # Begin of GPIO4 |
| 295 | config GPIO_P4_ENABLE |
| 296 | bool "GPIO port 4 Enable" |
| 297 | default n |
| 298 | |
| 299 | config GPIO_P4_DATA_ADDR |
| 300 | hex "GPIO port 4 data address" |
| 301 | depends on GPIO_P4_ENABLE |
| 302 | |
| 303 | config GPIO_P4_DIR_ADDR |
| 304 | hex "GPIO port 4 direction address" |
| 305 | depends on GPIO_P4_ENABLE |
| 306 | |
| 307 | config GPIO_P4_INIT_DIR |
| 308 | hex "GPIO port 4 initial direction" |
| 309 | default 0x00 |
| 310 | depends on GPIO_P4_ENABLE |
| 311 | |
| 312 | config GPIO_P4_INIT_DATA |
| 313 | hex "GPIO port 4 initial data" |
| 314 | depends on GPIO_P4_ENABLE |
| 315 | # end of GPIO4 |
| 316 | |
| 317 | # Begin of GPIO5 |
| 318 | config GPIO_P5_ENABLE |
| 319 | bool "GPIO port 5 Enable" |
| 320 | default n |
| 321 | |
| 322 | config GPIO_P5_DATA_ADDR |
| 323 | hex "GPIO port 5 data address" |
| 324 | depends on GPIO_P5_ENABLE |
| 325 | |
| 326 | config GPIO_P5_DIR_ADDR |
| 327 | hex "GPIO port 5 direction address" |
| 328 | depends on GPIO_P5_ENABLE |
| 329 | |
| 330 | config GPIO_P5_INIT_DIR |
| 331 | hex "GPIO port 5 initial direction" |
| 332 | default 0x00 |
| 333 | depends on GPIO_P5_ENABLE |
| 334 | |
| 335 | config GPIO_P5_INIT_DATA |
| 336 | hex "GPIO port 5 initial data" |
| 337 | depends on GPIO_P5_ENABLE |
| 338 | # end of GPIO5 |
| 339 | |
| 340 | # Begin of GPIO6 |
| 341 | config GPIO_P6_ENABLE |
| 342 | bool "GPIO port 6 Enable" |
| 343 | default n |
| 344 | |
| 345 | config GPIO_P6_DATA_ADDR |
| 346 | hex "GPIO port 6 data address" |
| 347 | depends on GPIO_P6_ENABLE |
| 348 | |
| 349 | config GPIO_P6_DIR_ADDR |
| 350 | hex "GPIO port 6 direction address" |
| 351 | depends on GPIO_P6_ENABLE |
| 352 | |
| 353 | config GPIO_P6_INIT_DIR |
| 354 | hex "GPIO port 6 initial direction" |
| 355 | default 0x00 |
| 356 | depends on GPIO_P6_ENABLE |
| 357 | |
| 358 | config GPIO_P6_INIT_DATA |
| 359 | hex "GPIO port 6 initial data" |
| 360 | depends on GPIO_P6_ENABLE |
| 361 | # end of GPIO6 |
| 362 | |
| 363 | # Begin of GPIO7 |
| 364 | config GPIO_P7_ENABLE |
| 365 | bool "GPIO port 7 Enable" |
| 366 | default n |
| 367 | |
| 368 | config GPIO_P7_DATA_ADDR |
| 369 | hex "GPIO port 7 data address" |
| 370 | depends on GPIO_P7_ENABLE |
| 371 | |
| 372 | config GPIO_P7_DIR_ADDR |
| 373 | hex "GPIO port 7 direction address" |
| 374 | depends on GPIO_P7_ENABLE |
| 375 | |
| 376 | config GPIO_P7_INIT_DIR |
| 377 | hex "GPIO port 7 initial direction" |
| 378 | default 0x00 |
| 379 | depends on GPIO_P7_ENABLE |
| 380 | |
| 381 | config GPIO_P7_INIT_DATA |
| 382 | hex "GPIO port 7 initial data" |
| 383 | depends on GPIO_P7_ENABLE |
| 384 | # end of GPIO7 |
| 385 | |
| 386 | # Begin of GPIO8 |
| 387 | config GPIO_P8_ENABLE |
| 388 | bool "GPIO port 8 Enable" |
| 389 | default n |
| 390 | |
| 391 | config GPIO_P8_DATA_ADDR |
| 392 | hex "GPIO port 8 data address" |
| 393 | depends on GPIO_P8_ENABLE |
| 394 | |
| 395 | config GPIO_P8_DIR_ADDR |
| 396 | hex "GPIO port 8 direction address" |
| 397 | depends on GPIO_P8_ENABLE |
| 398 | |
| 399 | config GPIO_P8_INIT_DIR |
| 400 | hex "GPIO port 8 initial direction" |
| 401 | default 0x00 |
| 402 | depends on GPIO_P8_ENABLE |
| 403 | |
| 404 | config GPIO_P8_INIT_DATA |
| 405 | hex "GPIO port 8 initial data" |
| 406 | depends on GPIO_P8_ENABLE |
| 407 | # end of GPIO8 |
| 408 | |
| 409 | # Begin of GPIO9 |
| 410 | config GPIO_P9_ENABLE |
| 411 | bool "GPIO port 9 Enable" |
| 412 | default n |
| 413 | |
| 414 | config GPIO_P9_DATA_ADDR |
| 415 | hex "GPIO port 9 data address" |
| 416 | depends on GPIO_P9_ENABLE |
| 417 | |
| 418 | config GPIO_P9_DIR_ADDR |
| 419 | hex "GPIO port 9 direction address" |
| 420 | depends on GPIO_P9_ENABLE |
| 421 | |
| 422 | config GPIO_P9_INIT_DIR |
| 423 | hex "GPIO port 9 initial direction" |
| 424 | default 0x00 |
| 425 | depends on GPIO_P9_ENABLE |
| 426 | |
| 427 | config GPIO_P9_INIT_DATA |
| 428 | hex "GPIO port 9 initial data" |
| 429 | depends on GPIO_P9_ENABLE |
| 430 | # end of GPIO9 |
| 431 | |
| 432 | endmenu |
| 433 | |
| 434 | # UART setting : |
| 435 | menu "UART setting" |
| 436 | |
| 437 | # Begin of UART1 |
| 438 | config UART1_ENABLE |
| 439 | bool "UART1 Enable" |
| 440 | default y |
| 441 | |
| 442 | choice |
| 443 | prompt "UART1 I/O port" |
| 444 | default UART1_IO_PORT_3F8 |
| 445 | depends on UART1_ENABLE |
| 446 | |
| 447 | config UART1_IO_PORT_3F8 |
| 448 | bool "0x3f8, COM1" |
| 449 | config UART1_IO_PORT_2F8 |
| 450 | bool "0x2f8, COM2" |
| 451 | config UART1_IO_PORT_3E8 |
| 452 | bool "0x3e8, COM3" |
| 453 | config UART1_IO_PORT_2E8 |
| 454 | bool "0x2e8, COM4" |
| 455 | config UART1_IO_PORT_OTHER |
| 456 | bool "Other" |
| 457 | |
| 458 | endchoice |
| 459 | |
| 460 | config UART1_IO_PORT_OTHER_INPUT |
| 461 | hex "UART1 I/O port" |
| 462 | depends on UART1_ENABLE && UART1_IO_PORT_OTHER |
| 463 | |
| 464 | config UART1_IO |
| 465 | hex |
| 466 | depends on UART1_ENABLE |
| 467 | default 0x3f8 if UART1_IO_PORT_3F8 |
| 468 | default 0x2f8 if UART1_IO_PORT_2F8 |
| 469 | default 0x3e8 if UART1_IO_PORT_3E8 |
| 470 | default 0x2e8 if UART1_IO_PORT_2E8 |
| 471 | default UART1_IO_PORT_OTHER_INPUT if UART1_IO_PORT_OTHER |
| 472 | |
| 473 | choice |
| 474 | prompt "UART1 IRQ" |
| 475 | default UART1_IRQ4 |
| 476 | depends on UART1_ENABLE |
| 477 | |
| 478 | config UART1_IRQ_DISABLE |
| 479 | bool "Disable" |
| 480 | config UART1_IRQ3 |
| 481 | bool "IRQ3, COM2" |
| 482 | config UART1_IRQ4 |
| 483 | bool "IRQ4, COM1" |
| 484 | config UART1_IRQ5 |
| 485 | bool "IRQ5" |
| 486 | config UART1_IRQ6 |
| 487 | bool "IRQ6" |
| 488 | config UART1_IRQ7 |
| 489 | bool "IRQ7" |
| 490 | config UART1_IRQ9 |
| 491 | bool "IRQ9" |
| 492 | config UART1_IRQ10 |
| 493 | bool "IRQ10, COM3" |
| 494 | config UART1_IRQ11 |
| 495 | bool "IRQ11, COM4" |
| 496 | config UART1_IRQ12 |
| 497 | bool "IRQ12" |
| 498 | config UART1_IRQ14 |
| 499 | bool "IRQ14" |
| 500 | config UART1_IRQ15 |
| 501 | bool "IRQ15" |
| 502 | |
| 503 | endchoice |
| 504 | |
| 505 | config UART1_IRQ |
| 506 | int |
| 507 | depends on UART1_ENABLE |
| 508 | default 0 if UART1_IRQ_DISABLE |
| 509 | default 3 if UART1_IRQ3 |
| 510 | default 4 if UART1_IRQ4 |
| 511 | default 5 if UART1_IRQ5 |
| 512 | default 6 if UART1_IRQ6 |
| 513 | default 7 if UART1_IRQ7 |
| 514 | default 9 if UART1_IRQ9 |
| 515 | default 10 if UART1_IRQ10 |
| 516 | default 11 if UART1_IRQ11 |
| 517 | default 12 if UART1_IRQ12 |
| 518 | default 14 if UART1_IRQ14 |
| 519 | default 15 if UART1_IRQ15 |
| 520 | |
Andrew Wu | 8522f99 | 2013-07-05 17:29:41 +0800 | [diff] [blame] | 521 | # end of UART1 |
| 522 | |
| 523 | # Begin of UART2 |
| 524 | config UART2_ENABLE |
| 525 | bool "UART2 Enable" |
| 526 | default y |
| 527 | |
| 528 | choice |
| 529 | prompt "UART2 I/O port" |
| 530 | default UART2_IO_PORT_2F8 |
| 531 | depends on UART2_ENABLE |
| 532 | |
| 533 | config UART2_IO_PORT_3F8 |
| 534 | bool "0x3f8, COM1" |
| 535 | config UART2_IO_PORT_2F8 |
| 536 | bool "0x2f8, COM2" |
| 537 | config UART2_IO_PORT_3E8 |
| 538 | bool "0x3e8, COM3" |
| 539 | config UART2_IO_PORT_2E8 |
| 540 | bool "0x2e8, COM4" |
| 541 | config UART2_IO_PORT_OTHER |
| 542 | bool "Other" |
| 543 | |
| 544 | endchoice |
| 545 | |
| 546 | config UART2_IO_PORT_OTHER_INPUT |
| 547 | hex "UART2 I/O port" |
| 548 | depends on UART2_ENABLE && UART2_IO_PORT_OTHER |
| 549 | |
| 550 | config UART2_IO |
| 551 | hex |
| 552 | depends on UART2_ENABLE |
| 553 | default 0x3f8 if UART2_IO_PORT_3F8 |
| 554 | default 0x2f8 if UART2_IO_PORT_2F8 |
| 555 | default 0x3e8 if UART2_IO_PORT_3E8 |
| 556 | default 0x2e8 if UART2_IO_PORT_2E8 |
| 557 | default UART2_IO_PORT_OTHER_INPUT if UART2_IO_PORT_OTHER |
| 558 | |
| 559 | choice |
| 560 | prompt "UART2 IRQ" |
| 561 | default UART2_IRQ3 |
| 562 | depends on UART2_ENABLE |
| 563 | |
| 564 | config UART2_IRQ_DISABLE |
| 565 | bool "Disable" |
| 566 | config UART2_IRQ3 |
| 567 | bool "IRQ3, COM2" |
| 568 | config UART2_IRQ4 |
| 569 | bool "IRQ4, COM1" |
| 570 | config UART2_IRQ5 |
| 571 | bool "IRQ5" |
| 572 | config UART2_IRQ6 |
| 573 | bool "IRQ6" |
| 574 | config UART2_IRQ7 |
| 575 | bool "IRQ7" |
| 576 | config UART2_IRQ9 |
| 577 | bool "IRQ9" |
| 578 | config UART2_IRQ10 |
| 579 | bool "IRQ10, COM3" |
| 580 | config UART2_IRQ11 |
| 581 | bool "IRQ11, COM4" |
| 582 | config UART2_IRQ12 |
| 583 | bool "IRQ12" |
| 584 | config UART2_IRQ14 |
| 585 | bool "IRQ14" |
| 586 | config UART2_IRQ15 |
| 587 | bool "IRQ15" |
| 588 | |
| 589 | endchoice |
| 590 | |
| 591 | config UART2_IRQ |
| 592 | int |
| 593 | depends on UART2_ENABLE |
| 594 | default 0 if UART2_IRQ_DISABLE |
| 595 | default 3 if UART2_IRQ3 |
| 596 | default 4 if UART2_IRQ4 |
| 597 | default 5 if UART2_IRQ5 |
| 598 | default 6 if UART2_IRQ6 |
| 599 | default 7 if UART2_IRQ7 |
| 600 | default 9 if UART2_IRQ9 |
| 601 | default 10 if UART2_IRQ10 |
| 602 | default 11 if UART2_IRQ11 |
| 603 | default 12 if UART2_IRQ12 |
| 604 | default 14 if UART2_IRQ14 |
| 605 | default 15 if UART2_IRQ15 |
| 606 | |
Andrew Wu | 8522f99 | 2013-07-05 17:29:41 +0800 | [diff] [blame] | 607 | # end of UART2 |
| 608 | |
| 609 | # Begin of UART3 |
| 610 | config UART3_ENABLE |
| 611 | bool "UART3 Enable" |
| 612 | default y |
| 613 | |
| 614 | choice |
| 615 | prompt "UART3 I/O port" |
| 616 | default UART3_IO_PORT_3E8 |
| 617 | depends on UART3_ENABLE |
| 618 | |
| 619 | config UART3_IO_PORT_3F8 |
| 620 | bool "0x3f8, COM1" |
| 621 | config UART3_IO_PORT_2F8 |
| 622 | bool "0x2f8, COM2" |
| 623 | config UART3_IO_PORT_3E8 |
| 624 | bool "0x3e8, COM3" |
| 625 | config UART3_IO_PORT_2E8 |
| 626 | bool "0x2e8, COM4" |
| 627 | config UART3_IO_PORT_OTHER |
| 628 | bool "Other" |
| 629 | |
| 630 | endchoice |
| 631 | |
| 632 | config UART3_IO_PORT_OTHER_INPUT |
| 633 | hex "UART3 I/O port" |
| 634 | depends on UART3_ENABLE && UART3_IO_PORT_OTHER |
| 635 | |
| 636 | config UART3_IO |
| 637 | hex |
| 638 | depends on UART3_ENABLE |
| 639 | default 0x3f8 if UART3_IO_PORT_3F8 |
| 640 | default 0x2f8 if UART3_IO_PORT_2F8 |
| 641 | default 0x3e8 if UART3_IO_PORT_3E8 |
| 642 | default 0x2e8 if UART3_IO_PORT_2E8 |
| 643 | default UART3_IO_PORT_OTHER_INPUT if UART3_IO_PORT_OTHER |
| 644 | |
| 645 | choice |
| 646 | prompt "UART3 IRQ" |
| 647 | default UART3_IRQ10 |
| 648 | depends on UART3_ENABLE |
| 649 | |
| 650 | config UART3_IRQ_DISABLE |
| 651 | bool "Disable" |
| 652 | config UART3_IRQ3 |
| 653 | bool "IRQ3, COM2" |
| 654 | config UART3_IRQ4 |
| 655 | bool "IRQ4, COM1" |
| 656 | config UART3_IRQ5 |
| 657 | bool "IRQ5" |
| 658 | config UART3_IRQ6 |
| 659 | bool "IRQ6" |
| 660 | config UART3_IRQ7 |
| 661 | bool "IRQ7" |
| 662 | config UART3_IRQ9 |
| 663 | bool "IRQ9" |
| 664 | config UART3_IRQ10 |
| 665 | bool "IRQ10, COM3" |
| 666 | config UART3_IRQ11 |
| 667 | bool "IRQ11, COM4" |
| 668 | config UART3_IRQ12 |
| 669 | bool "IRQ12" |
| 670 | config UART3_IRQ14 |
| 671 | bool "IRQ14" |
| 672 | config UART3_IRQ15 |
| 673 | bool "IRQ15" |
| 674 | |
| 675 | endchoice |
| 676 | |
| 677 | config UART3_IRQ |
| 678 | int |
| 679 | depends on UART3_ENABLE |
| 680 | default 0 if UART3_IRQ_DISABLE |
| 681 | default 3 if UART3_IRQ3 |
| 682 | default 4 if UART3_IRQ4 |
| 683 | default 5 if UART3_IRQ5 |
| 684 | default 6 if UART3_IRQ6 |
| 685 | default 7 if UART3_IRQ7 |
| 686 | default 9 if UART3_IRQ9 |
| 687 | default 10 if UART3_IRQ10 |
| 688 | default 11 if UART3_IRQ11 |
| 689 | default 12 if UART3_IRQ12 |
| 690 | default 14 if UART3_IRQ14 |
| 691 | default 15 if UART3_IRQ15 |
| 692 | |
Andrew Wu | 8522f99 | 2013-07-05 17:29:41 +0800 | [diff] [blame] | 693 | # end of UART3 |
| 694 | |
| 695 | # Begin of UART4 |
| 696 | config UART4_ENABLE |
| 697 | bool "UART4 Enable" |
| 698 | default y |
| 699 | |
| 700 | choice |
| 701 | prompt "UART4 I/O port" |
| 702 | default UART4_IO_PORT_2E8 |
| 703 | depends on UART4_ENABLE |
| 704 | |
| 705 | config UART4_IO_PORT_3F8 |
| 706 | bool "0x3f8, COM1" |
| 707 | config UART4_IO_PORT_2F8 |
| 708 | bool "0x2f8, COM2" |
| 709 | config UART4_IO_PORT_3E8 |
| 710 | bool "0x3e8, COM3" |
| 711 | config UART4_IO_PORT_2E8 |
| 712 | bool "0x2e8, COM4" |
| 713 | config UART4_IO_PORT_OTHER |
| 714 | bool "Other" |
| 715 | |
| 716 | endchoice |
| 717 | |
| 718 | config UART4_IO_PORT_OTHER_INPUT |
| 719 | hex "UART4 I/O port" |
| 720 | depends on UART4_ENABLE && UART4_IO_PORT_OTHER |
| 721 | |
| 722 | config UART4_IO |
| 723 | hex |
| 724 | depends on UART4_ENABLE |
| 725 | default 0x3f8 if UART4_IO_PORT_3F8 |
| 726 | default 0x2f8 if UART4_IO_PORT_2F8 |
| 727 | default 0x3e8 if UART4_IO_PORT_3E8 |
| 728 | default 0x2e8 if UART4_IO_PORT_2E8 |
| 729 | default UART4_IO_PORT_OTHER_INPUT if UART4_IO_PORT_OTHER |
| 730 | |
| 731 | choice |
| 732 | prompt "UART4 IRQ" |
| 733 | default UART4_IRQ11 |
| 734 | depends on UART4_ENABLE |
| 735 | |
| 736 | config UART4_IRQ_DISABLE |
| 737 | bool "Disable" |
| 738 | config UART4_IRQ3 |
| 739 | bool "IRQ3, COM2" |
| 740 | config UART4_IRQ4 |
| 741 | bool "IRQ4, COM1" |
| 742 | config UART4_IRQ5 |
| 743 | bool "IRQ5" |
| 744 | config UART4_IRQ6 |
| 745 | bool "IRQ6" |
| 746 | config UART4_IRQ7 |
| 747 | bool "IRQ7" |
| 748 | config UART4_IRQ9 |
| 749 | bool "IRQ9" |
| 750 | config UART4_IRQ10 |
| 751 | bool "IRQ10, COM3" |
| 752 | config UART4_IRQ11 |
| 753 | bool "IRQ11, COM4" |
| 754 | config UART4_IRQ12 |
| 755 | bool "IRQ12" |
| 756 | config UART4_IRQ14 |
| 757 | bool "IRQ14" |
| 758 | config UART4_IRQ15 |
| 759 | bool "IRQ15" |
| 760 | |
| 761 | endchoice |
| 762 | |
| 763 | config UART4_IRQ |
| 764 | int |
| 765 | depends on UART4_ENABLE |
| 766 | default 0 if UART4_IRQ_DISABLE |
| 767 | default 3 if UART4_IRQ3 |
| 768 | default 4 if UART4_IRQ4 |
| 769 | default 5 if UART4_IRQ5 |
| 770 | default 6 if UART4_IRQ6 |
| 771 | default 7 if UART4_IRQ7 |
| 772 | default 9 if UART4_IRQ9 |
| 773 | default 10 if UART4_IRQ10 |
| 774 | default 11 if UART4_IRQ11 |
| 775 | default 12 if UART4_IRQ12 |
| 776 | default 14 if UART4_IRQ14 |
| 777 | default 15 if UART4_IRQ15 |
| 778 | |
Andrew Wu | 8522f99 | 2013-07-05 17:29:41 +0800 | [diff] [blame] | 779 | # end of UART4 |
| 780 | |
| 781 | # Begin of UART5 |
| 782 | config UART5_ENABLE |
| 783 | bool "UART5 Enable" |
| 784 | default n |
| 785 | |
| 786 | choice |
| 787 | prompt "UART5 I/O port" |
| 788 | default UART5_IO_PORT_OTHER |
| 789 | depends on UART5_ENABLE |
| 790 | |
| 791 | config UART5_IO_PORT_3F8 |
| 792 | bool "0x3f8, COM1" |
| 793 | config UART5_IO_PORT_2F8 |
| 794 | bool "0x2f8, COM2" |
| 795 | config UART5_IO_PORT_3E8 |
| 796 | bool "0x3e8, COM3" |
| 797 | config UART5_IO_PORT_2E8 |
| 798 | bool "0x2e8, COM4" |
| 799 | config UART5_IO_PORT_OTHER |
| 800 | bool "Other" |
| 801 | |
| 802 | endchoice |
| 803 | |
| 804 | config UART5_IO_PORT_OTHER_INPUT |
| 805 | hex "UART5 I/O port" |
| 806 | depends on UART5_ENABLE && UART5_IO_PORT_OTHER |
| 807 | |
| 808 | config UART5_IO |
| 809 | hex |
| 810 | depends on UART5_ENABLE |
| 811 | default 0x3f8 if UART5_IO_PORT_3F8 |
| 812 | default 0x2f8 if UART5_IO_PORT_2F8 |
| 813 | default 0x3e8 if UART5_IO_PORT_3E8 |
| 814 | default 0x2e8 if UART5_IO_PORT_2E8 |
| 815 | default UART5_IO_PORT_OTHER_INPUT if UART5_IO_PORT_OTHER |
| 816 | |
| 817 | choice |
| 818 | prompt "UART5 IRQ" |
| 819 | default UART5_IRQ_DISABLE |
| 820 | depends on UART5_ENABLE |
| 821 | |
| 822 | config UART5_IRQ_DISABLE |
| 823 | bool "Disable" |
| 824 | config UART5_IRQ3 |
| 825 | bool "IRQ3, COM2" |
| 826 | config UART5_IRQ4 |
| 827 | bool "IRQ4, COM1" |
| 828 | config UART5_IRQ5 |
| 829 | bool "IRQ5" |
| 830 | config UART5_IRQ6 |
| 831 | bool "IRQ6" |
| 832 | config UART5_IRQ7 |
| 833 | bool "IRQ7" |
| 834 | config UART5_IRQ9 |
| 835 | bool "IRQ9" |
| 836 | config UART5_IRQ10 |
| 837 | bool "IRQ10, COM3" |
| 838 | config UART5_IRQ11 |
| 839 | bool "IRQ11, COM4" |
| 840 | config UART5_IRQ12 |
| 841 | bool "IRQ12" |
| 842 | config UART5_IRQ14 |
| 843 | bool "IRQ14" |
| 844 | config UART5_IRQ15 |
| 845 | bool "IRQ15" |
| 846 | |
| 847 | endchoice |
| 848 | |
| 849 | config UART5_IRQ |
| 850 | int |
| 851 | depends on UART5_ENABLE |
| 852 | default 0 if UART5_IRQ_DISABLE |
| 853 | default 3 if UART5_IRQ3 |
| 854 | default 4 if UART5_IRQ4 |
| 855 | default 5 if UART5_IRQ5 |
| 856 | default 6 if UART5_IRQ6 |
| 857 | default 7 if UART5_IRQ7 |
| 858 | default 9 if UART5_IRQ9 |
| 859 | default 10 if UART5_IRQ10 |
| 860 | default 11 if UART5_IRQ11 |
| 861 | default 12 if UART5_IRQ12 |
| 862 | default 14 if UART5_IRQ14 |
| 863 | default 15 if UART5_IRQ15 |
| 864 | |
Andrew Wu | 8522f99 | 2013-07-05 17:29:41 +0800 | [diff] [blame] | 865 | # end of UART5 |
| 866 | |
| 867 | # Begin of UART6 |
| 868 | config UART6_ENABLE |
| 869 | bool "UART6 Enable" |
| 870 | default n |
| 871 | |
| 872 | choice |
| 873 | prompt "UART6 I/O port" |
| 874 | default UART6_IO_PORT_OTHER |
| 875 | depends on UART6_ENABLE |
| 876 | |
| 877 | config UART6_IO_PORT_3F8 |
| 878 | bool "0x3f8, COM1" |
| 879 | config UART6_IO_PORT_2F8 |
| 880 | bool "0x2f8, COM2" |
| 881 | config UART6_IO_PORT_3E8 |
| 882 | bool "0x3e8, COM3" |
| 883 | config UART6_IO_PORT_2E8 |
| 884 | bool "0x2e8, COM4" |
| 885 | config UART6_IO_PORT_OTHER |
| 886 | bool "Other" |
| 887 | |
| 888 | endchoice |
| 889 | |
| 890 | config UART6_IO_PORT_OTHER_INPUT |
| 891 | hex "UART6 I/O port" |
| 892 | depends on UART6_ENABLE && UART6_IO_PORT_OTHER |
| 893 | |
| 894 | config UART6_IO |
| 895 | hex |
| 896 | depends on UART6_ENABLE |
| 897 | default 0x3f8 if UART6_IO_PORT_3F8 |
| 898 | default 0x2f8 if UART6_IO_PORT_2F8 |
| 899 | default 0x3e8 if UART6_IO_PORT_3E8 |
| 900 | default 0x2e8 if UART6_IO_PORT_2E8 |
| 901 | default UART6_IO_PORT_OTHER_INPUT if UART6_IO_PORT_OTHER |
| 902 | |
| 903 | choice |
| 904 | prompt "UART6 IRQ" |
| 905 | default UART6_IRQ_DISABLE |
| 906 | depends on UART6_ENABLE |
| 907 | |
| 908 | config UART6_IRQ_DISABLE |
| 909 | bool "Disable" |
| 910 | config UART6_IRQ3 |
| 911 | bool "IRQ3, COM2" |
| 912 | config UART6_IRQ4 |
| 913 | bool "IRQ4, COM1" |
| 914 | config UART6_IRQ5 |
| 915 | bool "IRQ5" |
| 916 | config UART6_IRQ6 |
| 917 | bool "IRQ6" |
| 918 | config UART6_IRQ7 |
| 919 | bool "IRQ7" |
| 920 | config UART6_IRQ9 |
| 921 | bool "IRQ9" |
| 922 | config UART6_IRQ10 |
| 923 | bool "IRQ10, COM3" |
| 924 | config UART6_IRQ11 |
| 925 | bool "IRQ11, COM4" |
| 926 | config UART6_IRQ12 |
| 927 | bool "IRQ12" |
| 928 | config UART6_IRQ14 |
| 929 | bool "IRQ14" |
| 930 | config UART6_IRQ15 |
| 931 | bool "IRQ15" |
| 932 | |
| 933 | endchoice |
| 934 | |
| 935 | config UART6_IRQ |
| 936 | int |
| 937 | depends on UART6_ENABLE |
| 938 | default 0 if UART6_IRQ_DISABLE |
| 939 | default 3 if UART6_IRQ3 |
| 940 | default 4 if UART6_IRQ4 |
| 941 | default 5 if UART6_IRQ5 |
| 942 | default 6 if UART6_IRQ6 |
| 943 | default 7 if UART6_IRQ7 |
| 944 | default 9 if UART6_IRQ9 |
| 945 | default 10 if UART6_IRQ10 |
| 946 | default 11 if UART6_IRQ11 |
| 947 | default 12 if UART6_IRQ12 |
| 948 | default 14 if UART6_IRQ14 |
| 949 | default 15 if UART6_IRQ15 |
| 950 | |
Andrew Wu | 8522f99 | 2013-07-05 17:29:41 +0800 | [diff] [blame] | 951 | # end of UART6 |
| 952 | |
| 953 | # Begin of UART7 |
| 954 | config UART7_ENABLE |
| 955 | bool "UART7 Enable" |
| 956 | default n |
| 957 | |
| 958 | choice |
| 959 | prompt "UART7 I/O port" |
| 960 | default UART7_IO_PORT_OTHER |
| 961 | depends on UART7_ENABLE |
| 962 | |
| 963 | config UART7_IO_PORT_3F8 |
| 964 | bool "0x3f8, COM1" |
| 965 | config UART7_IO_PORT_2F8 |
| 966 | bool "0x2f8, COM2" |
| 967 | config UART7_IO_PORT_3E8 |
| 968 | bool "0x3e8, COM3" |
| 969 | config UART7_IO_PORT_2E8 |
| 970 | bool "0x2e8, COM4" |
| 971 | config UART7_IO_PORT_OTHER |
| 972 | bool "Other" |
| 973 | |
| 974 | endchoice |
| 975 | |
| 976 | config UART7_IO_PORT_OTHER_INPUT |
| 977 | hex "UART7 I/O port" |
| 978 | depends on UART7_ENABLE && UART7_IO_PORT_OTHER |
| 979 | |
| 980 | config UART7_IO |
| 981 | hex |
| 982 | depends on UART7_ENABLE |
| 983 | default 0x3f8 if UART7_IO_PORT_3F8 |
| 984 | default 0x2f8 if UART7_IO_PORT_2F8 |
| 985 | default 0x3e8 if UART7_IO_PORT_3E8 |
| 986 | default 0x2e8 if UART7_IO_PORT_2E8 |
| 987 | default UART7_IO_PORT_OTHER_INPUT if UART7_IO_PORT_OTHER |
| 988 | |
| 989 | choice |
| 990 | prompt "UART7 IRQ" |
| 991 | default UART7_IRQ_DISABLE |
| 992 | depends on UART7_ENABLE |
| 993 | |
| 994 | config UART7_IRQ_DISABLE |
| 995 | bool "Disable" |
| 996 | config UART7_IRQ3 |
| 997 | bool "IRQ3, COM2" |
| 998 | config UART7_IRQ4 |
| 999 | bool "IRQ4, COM1" |
| 1000 | config UART7_IRQ5 |
| 1001 | bool "IRQ5" |
| 1002 | config UART7_IRQ6 |
| 1003 | bool "IRQ6" |
| 1004 | config UART7_IRQ7 |
| 1005 | bool "IRQ7" |
| 1006 | config UART7_IRQ9 |
| 1007 | bool "IRQ9" |
| 1008 | config UART7_IRQ10 |
| 1009 | bool "IRQ10, COM3" |
| 1010 | config UART7_IRQ11 |
| 1011 | bool "IRQ11, COM4" |
| 1012 | config UART7_IRQ12 |
| 1013 | bool "IRQ12" |
| 1014 | config UART7_IRQ14 |
| 1015 | bool "IRQ14" |
| 1016 | config UART7_IRQ15 |
| 1017 | bool "IRQ15" |
| 1018 | |
| 1019 | endchoice |
| 1020 | |
| 1021 | config UART7_IRQ |
| 1022 | int |
| 1023 | depends on UART7_ENABLE |
| 1024 | default 0 if UART7_IRQ_DISABLE |
| 1025 | default 3 if UART7_IRQ3 |
| 1026 | default 4 if UART7_IRQ4 |
| 1027 | default 5 if UART7_IRQ5 |
| 1028 | default 6 if UART7_IRQ6 |
| 1029 | default 7 if UART7_IRQ7 |
| 1030 | default 9 if UART7_IRQ9 |
| 1031 | default 10 if UART7_IRQ10 |
| 1032 | default 11 if UART7_IRQ11 |
| 1033 | default 12 if UART7_IRQ12 |
| 1034 | default 14 if UART7_IRQ14 |
| 1035 | default 15 if UART7_IRQ15 |
| 1036 | |
Andrew Wu | 8522f99 | 2013-07-05 17:29:41 +0800 | [diff] [blame] | 1037 | # end of UART7 |
| 1038 | |
| 1039 | # Begin of UART8 |
| 1040 | config UART8_ENABLE |
| 1041 | bool "UART8 Enable" |
| 1042 | default n |
| 1043 | |
| 1044 | choice |
| 1045 | prompt "UART8 I/O port" |
| 1046 | default UART8_IO_PORT_OTHER |
| 1047 | depends on UART8_ENABLE |
| 1048 | |
| 1049 | config UART8_IO_PORT_3F8 |
| 1050 | bool "0x3f8, COM1" |
| 1051 | config UART8_IO_PORT_2F8 |
| 1052 | bool "0x2f8, COM2" |
| 1053 | config UART8_IO_PORT_3E8 |
| 1054 | bool "0x3e8, COM3" |
| 1055 | config UART8_IO_PORT_2E8 |
| 1056 | bool "0x2e8, COM4" |
| 1057 | config UART8_IO_PORT_OTHER |
| 1058 | bool "Other" |
| 1059 | |
| 1060 | endchoice |
| 1061 | |
| 1062 | config UART8_IO_PORT_OTHER_INPUT |
| 1063 | hex "UART8 I/O port" |
| 1064 | depends on UART8_ENABLE && UART8_IO_PORT_OTHER |
| 1065 | |
| 1066 | config UART8_IO |
| 1067 | hex |
| 1068 | depends on UART8_ENABLE |
| 1069 | default 0x3f8 if UART8_IO_PORT_3F8 |
| 1070 | default 0x2f8 if UART8_IO_PORT_2F8 |
| 1071 | default 0x3e8 if UART8_IO_PORT_3E8 |
| 1072 | default 0x2e8 if UART8_IO_PORT_2E8 |
| 1073 | default UART8_IO_PORT_OTHER_INPUT if UART8_IO_PORT_OTHER |
| 1074 | |
| 1075 | choice |
| 1076 | prompt "UART8 IRQ" |
| 1077 | default UART8_IRQ_DISABLE |
| 1078 | depends on UART8_ENABLE |
| 1079 | |
| 1080 | config UART8_IRQ_DISABLE |
| 1081 | bool "Disable" |
| 1082 | config UART8_IRQ3 |
| 1083 | bool "IRQ3, COM2" |
| 1084 | config UART8_IRQ4 |
| 1085 | bool "IRQ4, COM1" |
| 1086 | config UART8_IRQ5 |
| 1087 | bool "IRQ5" |
| 1088 | config UART8_IRQ6 |
| 1089 | bool "IRQ6" |
| 1090 | config UART8_IRQ7 |
| 1091 | bool "IRQ7" |
| 1092 | config UART8_IRQ9 |
| 1093 | bool "IRQ9" |
| 1094 | config UART8_IRQ10 |
| 1095 | bool "IRQ10, COM3" |
| 1096 | config UART8_IRQ11 |
| 1097 | bool "IRQ11, COM4" |
| 1098 | config UART8_IRQ12 |
| 1099 | bool "IRQ12" |
| 1100 | config UART8_IRQ14 |
| 1101 | bool "IRQ14" |
| 1102 | config UART8_IRQ15 |
| 1103 | bool "IRQ15" |
| 1104 | |
| 1105 | endchoice |
| 1106 | |
| 1107 | config UART8_IRQ |
| 1108 | int |
| 1109 | depends on UART8_ENABLE |
| 1110 | default 0 if UART8_IRQ_DISABLE |
| 1111 | default 3 if UART8_IRQ3 |
| 1112 | default 4 if UART8_IRQ4 |
| 1113 | default 5 if UART8_IRQ5 |
| 1114 | default 6 if UART8_IRQ6 |
| 1115 | default 7 if UART8_IRQ7 |
| 1116 | default 9 if UART8_IRQ9 |
| 1117 | default 10 if UART8_IRQ10 |
| 1118 | default 11 if UART8_IRQ11 |
| 1119 | default 12 if UART8_IRQ12 |
| 1120 | default 14 if UART8_IRQ14 |
| 1121 | default 15 if UART8_IRQ15 |
| 1122 | |
Andrew Wu | 8522f99 | 2013-07-05 17:29:41 +0800 | [diff] [blame] | 1123 | # end of UART8 |
| 1124 | |
| 1125 | # Begin of UART9 |
| 1126 | config UART9_ENABLE |
| 1127 | bool "UART9 Enable" |
| 1128 | default n |
| 1129 | |
| 1130 | choice |
| 1131 | prompt "UART9 I/O port" |
| 1132 | default UART9_IO_PORT_OTHER |
| 1133 | depends on UART9_ENABLE |
| 1134 | |
| 1135 | config UART9_IO_PORT_3F8 |
| 1136 | bool "0x3f8, COM1" |
| 1137 | config UART9_IO_PORT_2F8 |
| 1138 | bool "0x2f8, COM2" |
| 1139 | config UART9_IO_PORT_3E8 |
| 1140 | bool "0x3e8, COM3" |
| 1141 | config UART9_IO_PORT_2E8 |
| 1142 | bool "0x2e8, COM4" |
| 1143 | config UART9_IO_PORT_OTHER |
| 1144 | bool "Other" |
| 1145 | |
| 1146 | endchoice |
| 1147 | |
| 1148 | config UART9_IO_PORT_OTHER_INPUT |
| 1149 | hex "UART9 I/O port" |
| 1150 | depends on UART9_ENABLE && UART9_IO_PORT_OTHER |
| 1151 | |
| 1152 | config UART9_IO |
| 1153 | hex |
| 1154 | depends on UART9_ENABLE |
| 1155 | default 0x3f8 if UART9_IO_PORT_3F8 |
| 1156 | default 0x2f8 if UART9_IO_PORT_2F8 |
| 1157 | default 0x3e8 if UART9_IO_PORT_3E8 |
| 1158 | default 0x2e8 if UART9_IO_PORT_2E8 |
| 1159 | default UART9_IO_PORT_OTHER_INPUT if UART9_IO_PORT_OTHER |
| 1160 | |
| 1161 | choice |
| 1162 | prompt "UART9 IRQ" |
| 1163 | default UART9_IRQ_DISABLE |
| 1164 | depends on UART9_ENABLE |
| 1165 | |
| 1166 | config UART9_IRQ_DISABLE |
| 1167 | bool "Disable" |
| 1168 | config UART9_IRQ3 |
| 1169 | bool "IRQ3, COM2" |
| 1170 | config UART9_IRQ4 |
| 1171 | bool "IRQ4, COM1" |
| 1172 | config UART9_IRQ5 |
| 1173 | bool "IRQ5" |
| 1174 | config UART9_IRQ6 |
| 1175 | bool "IRQ6" |
| 1176 | config UART9_IRQ7 |
| 1177 | bool "IRQ7" |
| 1178 | config UART9_IRQ9 |
| 1179 | bool "IRQ9" |
| 1180 | config UART9_IRQ10 |
| 1181 | bool "IRQ10, COM3" |
| 1182 | config UART9_IRQ11 |
| 1183 | bool "IRQ11, COM4" |
| 1184 | config UART9_IRQ12 |
| 1185 | bool "IRQ12" |
| 1186 | config UART9_IRQ14 |
| 1187 | bool "IRQ14" |
| 1188 | config UART9_IRQ15 |
| 1189 | bool "IRQ15" |
| 1190 | |
| 1191 | endchoice |
| 1192 | |
| 1193 | config UART9_IRQ |
| 1194 | int |
| 1195 | depends on UART9_ENABLE |
| 1196 | default 0 if UART9_IRQ_DISABLE |
| 1197 | default 3 if UART9_IRQ3 |
| 1198 | default 4 if UART9_IRQ4 |
| 1199 | default 5 if UART9_IRQ5 |
| 1200 | default 6 if UART9_IRQ6 |
| 1201 | default 7 if UART9_IRQ7 |
| 1202 | default 9 if UART9_IRQ9 |
| 1203 | default 10 if UART9_IRQ10 |
| 1204 | default 11 if UART9_IRQ11 |
| 1205 | default 12 if UART9_IRQ12 |
| 1206 | default 14 if UART9_IRQ14 |
| 1207 | default 15 if UART9_IRQ15 |
| 1208 | |
Andrew Wu | 8522f99 | 2013-07-05 17:29:41 +0800 | [diff] [blame] | 1209 | # end of UART9 |
| 1210 | |
| 1211 | # Begin of UART10 |
| 1212 | config UART10_ENABLE |
| 1213 | bool "UART10 Enable" |
| 1214 | default n |
| 1215 | |
| 1216 | choice |
| 1217 | prompt "UART10 I/O port" |
| 1218 | default UART10_IO_PORT_OTHER |
| 1219 | depends on UART10_ENABLE |
| 1220 | |
| 1221 | config UART10_IO_PORT_3F8 |
| 1222 | bool "0x3f8, COM1" |
| 1223 | config UART10_IO_PORT_2F8 |
| 1224 | bool "0x2f8, COM2" |
| 1225 | config UART10_IO_PORT_3E8 |
| 1226 | bool "0x3e8, COM3" |
| 1227 | config UART10_IO_PORT_2E8 |
| 1228 | bool "0x2e8, COM4" |
| 1229 | config UART10_IO_PORT_OTHER |
| 1230 | bool "Other" |
| 1231 | |
| 1232 | endchoice |
| 1233 | |
| 1234 | config UART10_IO_PORT_OTHER_INPUT |
| 1235 | hex "UART10 I/O port" |
| 1236 | depends on UART10_ENABLE && UART10_IO_PORT_OTHER |
| 1237 | |
| 1238 | config UART10_IO |
| 1239 | hex |
| 1240 | depends on UART10_ENABLE |
| 1241 | default 0x3f8 if UART10_IO_PORT_3F8 |
| 1242 | default 0x2f8 if UART10_IO_PORT_2F8 |
| 1243 | default 0x3e8 if UART10_IO_PORT_3E8 |
| 1244 | default 0x2e8 if UART10_IO_PORT_2E8 |
| 1245 | default UART10_IO_PORT_OTHER_INPUT if UART10_IO_PORT_OTHER |
| 1246 | |
| 1247 | choice |
| 1248 | prompt "UART10 IRQ" |
| 1249 | default UART10_IRQ_DISABLE |
| 1250 | depends on UART10_ENABLE |
| 1251 | |
| 1252 | config UART10_IRQ_DISABLE |
| 1253 | bool "Disable" |
| 1254 | config UART10_IRQ3 |
| 1255 | bool "IRQ3, COM2" |
| 1256 | config UART10_IRQ4 |
| 1257 | bool "IRQ4, COM1" |
| 1258 | config UART10_IRQ5 |
| 1259 | bool "IRQ5" |
| 1260 | config UART10_IRQ6 |
| 1261 | bool "IRQ6" |
| 1262 | config UART10_IRQ7 |
| 1263 | bool "IRQ7" |
| 1264 | config UART10_IRQ9 |
| 1265 | bool "IRQ9" |
| 1266 | config UART10_IRQ10 |
| 1267 | bool "IRQ10, COM3" |
| 1268 | config UART10_IRQ11 |
| 1269 | bool "IRQ11, COM4" |
| 1270 | config UART10_IRQ12 |
| 1271 | bool "IRQ12" |
| 1272 | config UART10_IRQ14 |
| 1273 | bool "IRQ14" |
| 1274 | config UART10_IRQ15 |
| 1275 | bool "IRQ15" |
| 1276 | |
| 1277 | endchoice |
| 1278 | |
| 1279 | config UART10_IRQ |
| 1280 | int |
| 1281 | depends on UART10_ENABLE |
| 1282 | default 0 if UART10_IRQ_DISABLE |
| 1283 | default 3 if UART10_IRQ3 |
| 1284 | default 4 if UART10_IRQ4 |
| 1285 | default 5 if UART10_IRQ5 |
| 1286 | default 6 if UART10_IRQ6 |
| 1287 | default 7 if UART10_IRQ7 |
| 1288 | default 9 if UART10_IRQ9 |
| 1289 | default 10 if UART10_IRQ10 |
| 1290 | default 11 if UART10_IRQ11 |
| 1291 | default 12 if UART10_IRQ12 |
| 1292 | default 14 if UART10_IRQ14 |
| 1293 | default 15 if UART10_IRQ15 |
| 1294 | |
Andrew Wu | 8522f99 | 2013-07-05 17:29:41 +0800 | [diff] [blame] | 1295 | # end of UART10 |
| 1296 | |
| 1297 | endmenu |
| 1298 | |
| 1299 | # LPT setting : |
| 1300 | menu "LPT setting" |
| 1301 | |
| 1302 | # Begin of LPT |
| 1303 | config LPT_ENABLE |
| 1304 | bool "LPT Enable" |
| 1305 | default n |
| 1306 | |
| 1307 | choice |
| 1308 | prompt "LPT I/O port" |
| 1309 | default LPT_IO_PORT_278 |
| 1310 | depends on LPT_ENABLE |
| 1311 | |
| 1312 | config LPT_IO_PORT_378 |
| 1313 | bool "0x378, LPT1" |
| 1314 | config LPT_IO_PORT_278 |
| 1315 | bool "0x278, LPT2" |
| 1316 | config LPT_IO_PORT_OTHER |
| 1317 | bool "Other" |
| 1318 | |
| 1319 | endchoice |
| 1320 | |
| 1321 | config LPT_IO_PORT_OTHER_INPUT |
| 1322 | hex "LPT I/O port" |
| 1323 | depends on LPT_ENABLE && LPT_IO_PORT_OTHER |
| 1324 | |
| 1325 | config LPT_IO |
| 1326 | hex |
| 1327 | depends on LPT_ENABLE |
| 1328 | default 0x378 if LPT_IO_PORT_378 |
| 1329 | default 0x278 if LPT_IO_PORT_278 |
| 1330 | default LPT_IO_PORT_OTHER_INPUT if LPT_IO_PORT_OTHER |
| 1331 | |
| 1332 | choice |
| 1333 | prompt "LPT IRQ" |
| 1334 | default LPT_IRQ_DISABLE |
| 1335 | depends on LPT_ENABLE |
| 1336 | |
| 1337 | config LPT_IRQ_DISABLE |
| 1338 | bool "Disable" |
| 1339 | config LPT_IRQ3 |
| 1340 | bool "IRQ3" |
| 1341 | config LPT_IRQ4 |
| 1342 | bool "IRQ4" |
| 1343 | config LPT_IRQ5 |
| 1344 | bool "IRQ5" |
| 1345 | config LPT_IRQ6 |
| 1346 | bool "IRQ6" |
| 1347 | config LPT_IRQ7 |
| 1348 | bool "IRQ7" |
| 1349 | config LPT_IRQ9 |
| 1350 | bool "IRQ9" |
| 1351 | config LPT_IRQ10 |
| 1352 | bool "IRQ10" |
| 1353 | config LPT_IRQ11 |
| 1354 | bool "IRQ11" |
| 1355 | config LPT_IRQ12 |
| 1356 | bool "IRQ12" |
| 1357 | config LPT_IRQ14 |
| 1358 | bool "IRQ14" |
| 1359 | config LPT_IRQ15 |
| 1360 | bool "IRQ15" |
| 1361 | |
| 1362 | endchoice |
| 1363 | |
| 1364 | config LPT_IRQ |
| 1365 | int |
| 1366 | depends on LPT_ENABLE |
| 1367 | default 0 if LPT_IRQ_DISABLE |
| 1368 | default 3 if LPT_IRQ3 |
| 1369 | default 4 if LPT_IRQ4 |
| 1370 | default 5 if LPT_IRQ5 |
| 1371 | default 6 if LPT_IRQ6 |
| 1372 | default 7 if LPT_IRQ7 |
| 1373 | default 9 if LPT_IRQ9 |
| 1374 | default 10 if LPT_IRQ10 |
| 1375 | default 11 if LPT_IRQ11 |
| 1376 | default 12 if LPT_IRQ12 |
| 1377 | default 14 if LPT_IRQ14 |
| 1378 | default 15 if LPT_IRQ15 |
| 1379 | |
| 1380 | choice |
| 1381 | prompt "LPT Mode Setting" |
| 1382 | default LPT_MODE_SPP |
| 1383 | depends on LPT_ENABLE |
| 1384 | |
| 1385 | config LPT_MODE_BPP |
| 1386 | bool "BPP mode" |
| 1387 | config LPT_MODE_EPP_19_AND_SPP |
| 1388 | bool "EPP 1.9 and SPP mode" |
| 1389 | config LPT_MODE_ECP |
| 1390 | bool "ECP Mode" |
| 1391 | config LPT_MODE_ECP_AND_EPP_19 |
| 1392 | bool "ECP and EPP 1.9 mode" |
| 1393 | config LPT_MODE_SPP |
| 1394 | bool "SPP Mode" |
| 1395 | config LPT_MODE_EPP_17_AND_SPP |
| 1396 | bool "EPP 1.7 and SPP mode" |
| 1397 | config LPT_MODE_ECP_AND_EPP_17 |
| 1398 | bool "ECP and EPP 1.7 mode" |
| 1399 | |
| 1400 | endchoice |
| 1401 | |
| 1402 | # end of LPT |
| 1403 | |
| 1404 | endmenu |
| 1405 | |
| 1406 | endif # BOARD_DMP_EX |