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