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