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 | |
| 521 | choice |
| 522 | prompt "UART1 Baud rate" |
| 523 | default UART1_BAUD_115200 |
| 524 | depends on UART1_ENABLE |
| 525 | |
| 526 | config UART1_BAUD_115200 |
| 527 | bool "115200" |
| 528 | config UART1_BAUD_57600 |
| 529 | bool "57600" |
| 530 | config UART1_BAUD_38400 |
| 531 | bool "38400" |
| 532 | config UART1_BAUD_19200 |
| 533 | bool "19200" |
| 534 | config UART1_BAUD_9600 |
| 535 | bool "9600" |
| 536 | |
| 537 | endchoice |
| 538 | |
| 539 | config UART1_BAUD |
| 540 | int |
| 541 | depends on UART1_ENABLE |
| 542 | default 115200 if UART1_BAUD_115200 |
| 543 | default 57600 if UART1_BAUD_57600 |
| 544 | default 38400 if UART1_BAUD_38400 |
| 545 | default 19200 if UART1_BAUD_19200 |
| 546 | default 9600 if UART1_BAUD_9600 |
| 547 | # end of UART1 |
| 548 | |
| 549 | # Begin of UART2 |
| 550 | config UART2_ENABLE |
| 551 | bool "UART2 Enable" |
| 552 | default y |
| 553 | |
| 554 | choice |
| 555 | prompt "UART2 I/O port" |
| 556 | default UART2_IO_PORT_2F8 |
| 557 | depends on UART2_ENABLE |
| 558 | |
| 559 | config UART2_IO_PORT_3F8 |
| 560 | bool "0x3f8, COM1" |
| 561 | config UART2_IO_PORT_2F8 |
| 562 | bool "0x2f8, COM2" |
| 563 | config UART2_IO_PORT_3E8 |
| 564 | bool "0x3e8, COM3" |
| 565 | config UART2_IO_PORT_2E8 |
| 566 | bool "0x2e8, COM4" |
| 567 | config UART2_IO_PORT_OTHER |
| 568 | bool "Other" |
| 569 | |
| 570 | endchoice |
| 571 | |
| 572 | config UART2_IO_PORT_OTHER_INPUT |
| 573 | hex "UART2 I/O port" |
| 574 | depends on UART2_ENABLE && UART2_IO_PORT_OTHER |
| 575 | |
| 576 | config UART2_IO |
| 577 | hex |
| 578 | depends on UART2_ENABLE |
| 579 | default 0x3f8 if UART2_IO_PORT_3F8 |
| 580 | default 0x2f8 if UART2_IO_PORT_2F8 |
| 581 | default 0x3e8 if UART2_IO_PORT_3E8 |
| 582 | default 0x2e8 if UART2_IO_PORT_2E8 |
| 583 | default UART2_IO_PORT_OTHER_INPUT if UART2_IO_PORT_OTHER |
| 584 | |
| 585 | choice |
| 586 | prompt "UART2 IRQ" |
| 587 | default UART2_IRQ3 |
| 588 | depends on UART2_ENABLE |
| 589 | |
| 590 | config UART2_IRQ_DISABLE |
| 591 | bool "Disable" |
| 592 | config UART2_IRQ3 |
| 593 | bool "IRQ3, COM2" |
| 594 | config UART2_IRQ4 |
| 595 | bool "IRQ4, COM1" |
| 596 | config UART2_IRQ5 |
| 597 | bool "IRQ5" |
| 598 | config UART2_IRQ6 |
| 599 | bool "IRQ6" |
| 600 | config UART2_IRQ7 |
| 601 | bool "IRQ7" |
| 602 | config UART2_IRQ9 |
| 603 | bool "IRQ9" |
| 604 | config UART2_IRQ10 |
| 605 | bool "IRQ10, COM3" |
| 606 | config UART2_IRQ11 |
| 607 | bool "IRQ11, COM4" |
| 608 | config UART2_IRQ12 |
| 609 | bool "IRQ12" |
| 610 | config UART2_IRQ14 |
| 611 | bool "IRQ14" |
| 612 | config UART2_IRQ15 |
| 613 | bool "IRQ15" |
| 614 | |
| 615 | endchoice |
| 616 | |
| 617 | config UART2_IRQ |
| 618 | int |
| 619 | depends on UART2_ENABLE |
| 620 | default 0 if UART2_IRQ_DISABLE |
| 621 | default 3 if UART2_IRQ3 |
| 622 | default 4 if UART2_IRQ4 |
| 623 | default 5 if UART2_IRQ5 |
| 624 | default 6 if UART2_IRQ6 |
| 625 | default 7 if UART2_IRQ7 |
| 626 | default 9 if UART2_IRQ9 |
| 627 | default 10 if UART2_IRQ10 |
| 628 | default 11 if UART2_IRQ11 |
| 629 | default 12 if UART2_IRQ12 |
| 630 | default 14 if UART2_IRQ14 |
| 631 | default 15 if UART2_IRQ15 |
| 632 | |
| 633 | choice |
| 634 | prompt "UART2 Baud rate" |
| 635 | default UART2_BAUD_115200 |
| 636 | depends on UART2_ENABLE |
| 637 | |
| 638 | config UART2_BAUD_115200 |
| 639 | bool "115200" |
| 640 | config UART2_BAUD_57600 |
| 641 | bool "57600" |
| 642 | config UART2_BAUD_38400 |
| 643 | bool "38400" |
| 644 | config UART2_BAUD_19200 |
| 645 | bool "19200" |
| 646 | config UART2_BAUD_9600 |
| 647 | bool "9600" |
| 648 | |
| 649 | endchoice |
| 650 | |
| 651 | config UART2_BAUD |
| 652 | int |
| 653 | depends on UART2_ENABLE |
| 654 | default 115200 if UART2_BAUD_115200 |
| 655 | default 57600 if UART2_BAUD_57600 |
| 656 | default 38400 if UART2_BAUD_38400 |
| 657 | default 19200 if UART2_BAUD_19200 |
| 658 | default 9600 if UART2_BAUD_9600 |
| 659 | # end of UART2 |
| 660 | |
| 661 | # Begin of UART3 |
| 662 | config UART3_ENABLE |
| 663 | bool "UART3 Enable" |
| 664 | default y |
| 665 | |
| 666 | choice |
| 667 | prompt "UART3 I/O port" |
| 668 | default UART3_IO_PORT_3E8 |
| 669 | depends on UART3_ENABLE |
| 670 | |
| 671 | config UART3_IO_PORT_3F8 |
| 672 | bool "0x3f8, COM1" |
| 673 | config UART3_IO_PORT_2F8 |
| 674 | bool "0x2f8, COM2" |
| 675 | config UART3_IO_PORT_3E8 |
| 676 | bool "0x3e8, COM3" |
| 677 | config UART3_IO_PORT_2E8 |
| 678 | bool "0x2e8, COM4" |
| 679 | config UART3_IO_PORT_OTHER |
| 680 | bool "Other" |
| 681 | |
| 682 | endchoice |
| 683 | |
| 684 | config UART3_IO_PORT_OTHER_INPUT |
| 685 | hex "UART3 I/O port" |
| 686 | depends on UART3_ENABLE && UART3_IO_PORT_OTHER |
| 687 | |
| 688 | config UART3_IO |
| 689 | hex |
| 690 | depends on UART3_ENABLE |
| 691 | default 0x3f8 if UART3_IO_PORT_3F8 |
| 692 | default 0x2f8 if UART3_IO_PORT_2F8 |
| 693 | default 0x3e8 if UART3_IO_PORT_3E8 |
| 694 | default 0x2e8 if UART3_IO_PORT_2E8 |
| 695 | default UART3_IO_PORT_OTHER_INPUT if UART3_IO_PORT_OTHER |
| 696 | |
| 697 | choice |
| 698 | prompt "UART3 IRQ" |
| 699 | default UART3_IRQ10 |
| 700 | depends on UART3_ENABLE |
| 701 | |
| 702 | config UART3_IRQ_DISABLE |
| 703 | bool "Disable" |
| 704 | config UART3_IRQ3 |
| 705 | bool "IRQ3, COM2" |
| 706 | config UART3_IRQ4 |
| 707 | bool "IRQ4, COM1" |
| 708 | config UART3_IRQ5 |
| 709 | bool "IRQ5" |
| 710 | config UART3_IRQ6 |
| 711 | bool "IRQ6" |
| 712 | config UART3_IRQ7 |
| 713 | bool "IRQ7" |
| 714 | config UART3_IRQ9 |
| 715 | bool "IRQ9" |
| 716 | config UART3_IRQ10 |
| 717 | bool "IRQ10, COM3" |
| 718 | config UART3_IRQ11 |
| 719 | bool "IRQ11, COM4" |
| 720 | config UART3_IRQ12 |
| 721 | bool "IRQ12" |
| 722 | config UART3_IRQ14 |
| 723 | bool "IRQ14" |
| 724 | config UART3_IRQ15 |
| 725 | bool "IRQ15" |
| 726 | |
| 727 | endchoice |
| 728 | |
| 729 | config UART3_IRQ |
| 730 | int |
| 731 | depends on UART3_ENABLE |
| 732 | default 0 if UART3_IRQ_DISABLE |
| 733 | default 3 if UART3_IRQ3 |
| 734 | default 4 if UART3_IRQ4 |
| 735 | default 5 if UART3_IRQ5 |
| 736 | default 6 if UART3_IRQ6 |
| 737 | default 7 if UART3_IRQ7 |
| 738 | default 9 if UART3_IRQ9 |
| 739 | default 10 if UART3_IRQ10 |
| 740 | default 11 if UART3_IRQ11 |
| 741 | default 12 if UART3_IRQ12 |
| 742 | default 14 if UART3_IRQ14 |
| 743 | default 15 if UART3_IRQ15 |
| 744 | |
| 745 | choice |
| 746 | prompt "UART3 Baud rate" |
| 747 | default UART3_BAUD_115200 |
| 748 | depends on UART3_ENABLE |
| 749 | |
| 750 | config UART3_BAUD_115200 |
| 751 | bool "115200" |
| 752 | config UART3_BAUD_57600 |
| 753 | bool "57600" |
| 754 | config UART3_BAUD_38400 |
| 755 | bool "38400" |
| 756 | config UART3_BAUD_19200 |
| 757 | bool "19200" |
| 758 | config UART3_BAUD_9600 |
| 759 | bool "9600" |
| 760 | |
| 761 | endchoice |
| 762 | |
| 763 | config UART3_BAUD |
| 764 | int |
| 765 | depends on UART3_ENABLE |
| 766 | default 115200 if UART3_BAUD_115200 |
| 767 | default 57600 if UART3_BAUD_57600 |
| 768 | default 38400 if UART3_BAUD_38400 |
| 769 | default 19200 if UART3_BAUD_19200 |
| 770 | default 9600 if UART3_BAUD_9600 |
| 771 | # end of UART3 |
| 772 | |
| 773 | # Begin of UART4 |
| 774 | config UART4_ENABLE |
| 775 | bool "UART4 Enable" |
| 776 | default y |
| 777 | |
| 778 | choice |
| 779 | prompt "UART4 I/O port" |
| 780 | default UART4_IO_PORT_2E8 |
| 781 | depends on UART4_ENABLE |
| 782 | |
| 783 | config UART4_IO_PORT_3F8 |
| 784 | bool "0x3f8, COM1" |
| 785 | config UART4_IO_PORT_2F8 |
| 786 | bool "0x2f8, COM2" |
| 787 | config UART4_IO_PORT_3E8 |
| 788 | bool "0x3e8, COM3" |
| 789 | config UART4_IO_PORT_2E8 |
| 790 | bool "0x2e8, COM4" |
| 791 | config UART4_IO_PORT_OTHER |
| 792 | bool "Other" |
| 793 | |
| 794 | endchoice |
| 795 | |
| 796 | config UART4_IO_PORT_OTHER_INPUT |
| 797 | hex "UART4 I/O port" |
| 798 | depends on UART4_ENABLE && UART4_IO_PORT_OTHER |
| 799 | |
| 800 | config UART4_IO |
| 801 | hex |
| 802 | depends on UART4_ENABLE |
| 803 | default 0x3f8 if UART4_IO_PORT_3F8 |
| 804 | default 0x2f8 if UART4_IO_PORT_2F8 |
| 805 | default 0x3e8 if UART4_IO_PORT_3E8 |
| 806 | default 0x2e8 if UART4_IO_PORT_2E8 |
| 807 | default UART4_IO_PORT_OTHER_INPUT if UART4_IO_PORT_OTHER |
| 808 | |
| 809 | choice |
| 810 | prompt "UART4 IRQ" |
| 811 | default UART4_IRQ11 |
| 812 | depends on UART4_ENABLE |
| 813 | |
| 814 | config UART4_IRQ_DISABLE |
| 815 | bool "Disable" |
| 816 | config UART4_IRQ3 |
| 817 | bool "IRQ3, COM2" |
| 818 | config UART4_IRQ4 |
| 819 | bool "IRQ4, COM1" |
| 820 | config UART4_IRQ5 |
| 821 | bool "IRQ5" |
| 822 | config UART4_IRQ6 |
| 823 | bool "IRQ6" |
| 824 | config UART4_IRQ7 |
| 825 | bool "IRQ7" |
| 826 | config UART4_IRQ9 |
| 827 | bool "IRQ9" |
| 828 | config UART4_IRQ10 |
| 829 | bool "IRQ10, COM3" |
| 830 | config UART4_IRQ11 |
| 831 | bool "IRQ11, COM4" |
| 832 | config UART4_IRQ12 |
| 833 | bool "IRQ12" |
| 834 | config UART4_IRQ14 |
| 835 | bool "IRQ14" |
| 836 | config UART4_IRQ15 |
| 837 | bool "IRQ15" |
| 838 | |
| 839 | endchoice |
| 840 | |
| 841 | config UART4_IRQ |
| 842 | int |
| 843 | depends on UART4_ENABLE |
| 844 | default 0 if UART4_IRQ_DISABLE |
| 845 | default 3 if UART4_IRQ3 |
| 846 | default 4 if UART4_IRQ4 |
| 847 | default 5 if UART4_IRQ5 |
| 848 | default 6 if UART4_IRQ6 |
| 849 | default 7 if UART4_IRQ7 |
| 850 | default 9 if UART4_IRQ9 |
| 851 | default 10 if UART4_IRQ10 |
| 852 | default 11 if UART4_IRQ11 |
| 853 | default 12 if UART4_IRQ12 |
| 854 | default 14 if UART4_IRQ14 |
| 855 | default 15 if UART4_IRQ15 |
| 856 | |
| 857 | choice |
| 858 | prompt "UART4 Baud rate" |
| 859 | default UART4_BAUD_115200 |
| 860 | depends on UART4_ENABLE |
| 861 | |
| 862 | config UART4_BAUD_115200 |
| 863 | bool "115200" |
| 864 | config UART4_BAUD_57600 |
| 865 | bool "57600" |
| 866 | config UART4_BAUD_38400 |
| 867 | bool "38400" |
| 868 | config UART4_BAUD_19200 |
| 869 | bool "19200" |
| 870 | config UART4_BAUD_9600 |
| 871 | bool "9600" |
| 872 | |
| 873 | endchoice |
| 874 | |
| 875 | config UART4_BAUD |
| 876 | int |
| 877 | depends on UART4_ENABLE |
| 878 | default 115200 if UART4_BAUD_115200 |
| 879 | default 57600 if UART4_BAUD_57600 |
| 880 | default 38400 if UART4_BAUD_38400 |
| 881 | default 19200 if UART4_BAUD_19200 |
| 882 | default 9600 if UART4_BAUD_9600 |
| 883 | # end of UART4 |
| 884 | |
| 885 | # Begin of UART5 |
| 886 | config UART5_ENABLE |
| 887 | bool "UART5 Enable" |
| 888 | default n |
| 889 | |
| 890 | choice |
| 891 | prompt "UART5 I/O port" |
| 892 | default UART5_IO_PORT_OTHER |
| 893 | depends on UART5_ENABLE |
| 894 | |
| 895 | config UART5_IO_PORT_3F8 |
| 896 | bool "0x3f8, COM1" |
| 897 | config UART5_IO_PORT_2F8 |
| 898 | bool "0x2f8, COM2" |
| 899 | config UART5_IO_PORT_3E8 |
| 900 | bool "0x3e8, COM3" |
| 901 | config UART5_IO_PORT_2E8 |
| 902 | bool "0x2e8, COM4" |
| 903 | config UART5_IO_PORT_OTHER |
| 904 | bool "Other" |
| 905 | |
| 906 | endchoice |
| 907 | |
| 908 | config UART5_IO_PORT_OTHER_INPUT |
| 909 | hex "UART5 I/O port" |
| 910 | depends on UART5_ENABLE && UART5_IO_PORT_OTHER |
| 911 | |
| 912 | config UART5_IO |
| 913 | hex |
| 914 | depends on UART5_ENABLE |
| 915 | default 0x3f8 if UART5_IO_PORT_3F8 |
| 916 | default 0x2f8 if UART5_IO_PORT_2F8 |
| 917 | default 0x3e8 if UART5_IO_PORT_3E8 |
| 918 | default 0x2e8 if UART5_IO_PORT_2E8 |
| 919 | default UART5_IO_PORT_OTHER_INPUT if UART5_IO_PORT_OTHER |
| 920 | |
| 921 | choice |
| 922 | prompt "UART5 IRQ" |
| 923 | default UART5_IRQ_DISABLE |
| 924 | depends on UART5_ENABLE |
| 925 | |
| 926 | config UART5_IRQ_DISABLE |
| 927 | bool "Disable" |
| 928 | config UART5_IRQ3 |
| 929 | bool "IRQ3, COM2" |
| 930 | config UART5_IRQ4 |
| 931 | bool "IRQ4, COM1" |
| 932 | config UART5_IRQ5 |
| 933 | bool "IRQ5" |
| 934 | config UART5_IRQ6 |
| 935 | bool "IRQ6" |
| 936 | config UART5_IRQ7 |
| 937 | bool "IRQ7" |
| 938 | config UART5_IRQ9 |
| 939 | bool "IRQ9" |
| 940 | config UART5_IRQ10 |
| 941 | bool "IRQ10, COM3" |
| 942 | config UART5_IRQ11 |
| 943 | bool "IRQ11, COM4" |
| 944 | config UART5_IRQ12 |
| 945 | bool "IRQ12" |
| 946 | config UART5_IRQ14 |
| 947 | bool "IRQ14" |
| 948 | config UART5_IRQ15 |
| 949 | bool "IRQ15" |
| 950 | |
| 951 | endchoice |
| 952 | |
| 953 | config UART5_IRQ |
| 954 | int |
| 955 | depends on UART5_ENABLE |
| 956 | default 0 if UART5_IRQ_DISABLE |
| 957 | default 3 if UART5_IRQ3 |
| 958 | default 4 if UART5_IRQ4 |
| 959 | default 5 if UART5_IRQ5 |
| 960 | default 6 if UART5_IRQ6 |
| 961 | default 7 if UART5_IRQ7 |
| 962 | default 9 if UART5_IRQ9 |
| 963 | default 10 if UART5_IRQ10 |
| 964 | default 11 if UART5_IRQ11 |
| 965 | default 12 if UART5_IRQ12 |
| 966 | default 14 if UART5_IRQ14 |
| 967 | default 15 if UART5_IRQ15 |
| 968 | |
| 969 | choice |
| 970 | prompt "UART5 Baud rate" |
| 971 | default UART5_BAUD_115200 |
| 972 | depends on UART5_ENABLE |
| 973 | |
| 974 | config UART5_BAUD_115200 |
| 975 | bool "115200" |
| 976 | config UART5_BAUD_57600 |
| 977 | bool "57600" |
| 978 | config UART5_BAUD_38400 |
| 979 | bool "38400" |
| 980 | config UART5_BAUD_19200 |
| 981 | bool "19200" |
| 982 | config UART5_BAUD_9600 |
| 983 | bool "9600" |
| 984 | |
| 985 | endchoice |
| 986 | |
| 987 | config UART5_BAUD |
| 988 | int |
| 989 | depends on UART5_ENABLE |
| 990 | default 115200 if UART5_BAUD_115200 |
| 991 | default 57600 if UART5_BAUD_57600 |
| 992 | default 38400 if UART5_BAUD_38400 |
| 993 | default 19200 if UART5_BAUD_19200 |
| 994 | default 9600 if UART5_BAUD_9600 |
| 995 | # end of UART5 |
| 996 | |
| 997 | # Begin of UART6 |
| 998 | config UART6_ENABLE |
| 999 | bool "UART6 Enable" |
| 1000 | default n |
| 1001 | |
| 1002 | choice |
| 1003 | prompt "UART6 I/O port" |
| 1004 | default UART6_IO_PORT_OTHER |
| 1005 | depends on UART6_ENABLE |
| 1006 | |
| 1007 | config UART6_IO_PORT_3F8 |
| 1008 | bool "0x3f8, COM1" |
| 1009 | config UART6_IO_PORT_2F8 |
| 1010 | bool "0x2f8, COM2" |
| 1011 | config UART6_IO_PORT_3E8 |
| 1012 | bool "0x3e8, COM3" |
| 1013 | config UART6_IO_PORT_2E8 |
| 1014 | bool "0x2e8, COM4" |
| 1015 | config UART6_IO_PORT_OTHER |
| 1016 | bool "Other" |
| 1017 | |
| 1018 | endchoice |
| 1019 | |
| 1020 | config UART6_IO_PORT_OTHER_INPUT |
| 1021 | hex "UART6 I/O port" |
| 1022 | depends on UART6_ENABLE && UART6_IO_PORT_OTHER |
| 1023 | |
| 1024 | config UART6_IO |
| 1025 | hex |
| 1026 | depends on UART6_ENABLE |
| 1027 | default 0x3f8 if UART6_IO_PORT_3F8 |
| 1028 | default 0x2f8 if UART6_IO_PORT_2F8 |
| 1029 | default 0x3e8 if UART6_IO_PORT_3E8 |
| 1030 | default 0x2e8 if UART6_IO_PORT_2E8 |
| 1031 | default UART6_IO_PORT_OTHER_INPUT if UART6_IO_PORT_OTHER |
| 1032 | |
| 1033 | choice |
| 1034 | prompt "UART6 IRQ" |
| 1035 | default UART6_IRQ_DISABLE |
| 1036 | depends on UART6_ENABLE |
| 1037 | |
| 1038 | config UART6_IRQ_DISABLE |
| 1039 | bool "Disable" |
| 1040 | config UART6_IRQ3 |
| 1041 | bool "IRQ3, COM2" |
| 1042 | config UART6_IRQ4 |
| 1043 | bool "IRQ4, COM1" |
| 1044 | config UART6_IRQ5 |
| 1045 | bool "IRQ5" |
| 1046 | config UART6_IRQ6 |
| 1047 | bool "IRQ6" |
| 1048 | config UART6_IRQ7 |
| 1049 | bool "IRQ7" |
| 1050 | config UART6_IRQ9 |
| 1051 | bool "IRQ9" |
| 1052 | config UART6_IRQ10 |
| 1053 | bool "IRQ10, COM3" |
| 1054 | config UART6_IRQ11 |
| 1055 | bool "IRQ11, COM4" |
| 1056 | config UART6_IRQ12 |
| 1057 | bool "IRQ12" |
| 1058 | config UART6_IRQ14 |
| 1059 | bool "IRQ14" |
| 1060 | config UART6_IRQ15 |
| 1061 | bool "IRQ15" |
| 1062 | |
| 1063 | endchoice |
| 1064 | |
| 1065 | config UART6_IRQ |
| 1066 | int |
| 1067 | depends on UART6_ENABLE |
| 1068 | default 0 if UART6_IRQ_DISABLE |
| 1069 | default 3 if UART6_IRQ3 |
| 1070 | default 4 if UART6_IRQ4 |
| 1071 | default 5 if UART6_IRQ5 |
| 1072 | default 6 if UART6_IRQ6 |
| 1073 | default 7 if UART6_IRQ7 |
| 1074 | default 9 if UART6_IRQ9 |
| 1075 | default 10 if UART6_IRQ10 |
| 1076 | default 11 if UART6_IRQ11 |
| 1077 | default 12 if UART6_IRQ12 |
| 1078 | default 14 if UART6_IRQ14 |
| 1079 | default 15 if UART6_IRQ15 |
| 1080 | |
| 1081 | choice |
| 1082 | prompt "UART6 Baud rate" |
| 1083 | default UART6_BAUD_115200 |
| 1084 | depends on UART6_ENABLE |
| 1085 | |
| 1086 | config UART6_BAUD_115200 |
| 1087 | bool "115200" |
| 1088 | config UART6_BAUD_57600 |
| 1089 | bool "57600" |
| 1090 | config UART6_BAUD_38400 |
| 1091 | bool "38400" |
| 1092 | config UART6_BAUD_19200 |
| 1093 | bool "19200" |
| 1094 | config UART6_BAUD_9600 |
| 1095 | bool "9600" |
| 1096 | |
| 1097 | endchoice |
| 1098 | |
| 1099 | config UART6_BAUD |
| 1100 | int |
| 1101 | depends on UART6_ENABLE |
| 1102 | default 115200 if UART6_BAUD_115200 |
| 1103 | default 57600 if UART6_BAUD_57600 |
| 1104 | default 38400 if UART6_BAUD_38400 |
| 1105 | default 19200 if UART6_BAUD_19200 |
| 1106 | default 9600 if UART6_BAUD_9600 |
| 1107 | # end of UART6 |
| 1108 | |
| 1109 | # Begin of UART7 |
| 1110 | config UART7_ENABLE |
| 1111 | bool "UART7 Enable" |
| 1112 | default n |
| 1113 | |
| 1114 | choice |
| 1115 | prompt "UART7 I/O port" |
| 1116 | default UART7_IO_PORT_OTHER |
| 1117 | depends on UART7_ENABLE |
| 1118 | |
| 1119 | config UART7_IO_PORT_3F8 |
| 1120 | bool "0x3f8, COM1" |
| 1121 | config UART7_IO_PORT_2F8 |
| 1122 | bool "0x2f8, COM2" |
| 1123 | config UART7_IO_PORT_3E8 |
| 1124 | bool "0x3e8, COM3" |
| 1125 | config UART7_IO_PORT_2E8 |
| 1126 | bool "0x2e8, COM4" |
| 1127 | config UART7_IO_PORT_OTHER |
| 1128 | bool "Other" |
| 1129 | |
| 1130 | endchoice |
| 1131 | |
| 1132 | config UART7_IO_PORT_OTHER_INPUT |
| 1133 | hex "UART7 I/O port" |
| 1134 | depends on UART7_ENABLE && UART7_IO_PORT_OTHER |
| 1135 | |
| 1136 | config UART7_IO |
| 1137 | hex |
| 1138 | depends on UART7_ENABLE |
| 1139 | default 0x3f8 if UART7_IO_PORT_3F8 |
| 1140 | default 0x2f8 if UART7_IO_PORT_2F8 |
| 1141 | default 0x3e8 if UART7_IO_PORT_3E8 |
| 1142 | default 0x2e8 if UART7_IO_PORT_2E8 |
| 1143 | default UART7_IO_PORT_OTHER_INPUT if UART7_IO_PORT_OTHER |
| 1144 | |
| 1145 | choice |
| 1146 | prompt "UART7 IRQ" |
| 1147 | default UART7_IRQ_DISABLE |
| 1148 | depends on UART7_ENABLE |
| 1149 | |
| 1150 | config UART7_IRQ_DISABLE |
| 1151 | bool "Disable" |
| 1152 | config UART7_IRQ3 |
| 1153 | bool "IRQ3, COM2" |
| 1154 | config UART7_IRQ4 |
| 1155 | bool "IRQ4, COM1" |
| 1156 | config UART7_IRQ5 |
| 1157 | bool "IRQ5" |
| 1158 | config UART7_IRQ6 |
| 1159 | bool "IRQ6" |
| 1160 | config UART7_IRQ7 |
| 1161 | bool "IRQ7" |
| 1162 | config UART7_IRQ9 |
| 1163 | bool "IRQ9" |
| 1164 | config UART7_IRQ10 |
| 1165 | bool "IRQ10, COM3" |
| 1166 | config UART7_IRQ11 |
| 1167 | bool "IRQ11, COM4" |
| 1168 | config UART7_IRQ12 |
| 1169 | bool "IRQ12" |
| 1170 | config UART7_IRQ14 |
| 1171 | bool "IRQ14" |
| 1172 | config UART7_IRQ15 |
| 1173 | bool "IRQ15" |
| 1174 | |
| 1175 | endchoice |
| 1176 | |
| 1177 | config UART7_IRQ |
| 1178 | int |
| 1179 | depends on UART7_ENABLE |
| 1180 | default 0 if UART7_IRQ_DISABLE |
| 1181 | default 3 if UART7_IRQ3 |
| 1182 | default 4 if UART7_IRQ4 |
| 1183 | default 5 if UART7_IRQ5 |
| 1184 | default 6 if UART7_IRQ6 |
| 1185 | default 7 if UART7_IRQ7 |
| 1186 | default 9 if UART7_IRQ9 |
| 1187 | default 10 if UART7_IRQ10 |
| 1188 | default 11 if UART7_IRQ11 |
| 1189 | default 12 if UART7_IRQ12 |
| 1190 | default 14 if UART7_IRQ14 |
| 1191 | default 15 if UART7_IRQ15 |
| 1192 | |
| 1193 | choice |
| 1194 | prompt "UART7 Baud rate" |
| 1195 | default UART7_BAUD_115200 |
| 1196 | depends on UART7_ENABLE |
| 1197 | |
| 1198 | config UART7_BAUD_115200 |
| 1199 | bool "115200" |
| 1200 | config UART7_BAUD_57600 |
| 1201 | bool "57600" |
| 1202 | config UART7_BAUD_38400 |
| 1203 | bool "38400" |
| 1204 | config UART7_BAUD_19200 |
| 1205 | bool "19200" |
| 1206 | config UART7_BAUD_9600 |
| 1207 | bool "9600" |
| 1208 | |
| 1209 | endchoice |
| 1210 | |
| 1211 | config UART7_BAUD |
| 1212 | int |
| 1213 | depends on UART7_ENABLE |
| 1214 | default 115200 if UART7_BAUD_115200 |
| 1215 | default 57600 if UART7_BAUD_57600 |
| 1216 | default 38400 if UART7_BAUD_38400 |
| 1217 | default 19200 if UART7_BAUD_19200 |
| 1218 | default 9600 if UART7_BAUD_9600 |
| 1219 | # end of UART7 |
| 1220 | |
| 1221 | # Begin of UART8 |
| 1222 | config UART8_ENABLE |
| 1223 | bool "UART8 Enable" |
| 1224 | default n |
| 1225 | |
| 1226 | choice |
| 1227 | prompt "UART8 I/O port" |
| 1228 | default UART8_IO_PORT_OTHER |
| 1229 | depends on UART8_ENABLE |
| 1230 | |
| 1231 | config UART8_IO_PORT_3F8 |
| 1232 | bool "0x3f8, COM1" |
| 1233 | config UART8_IO_PORT_2F8 |
| 1234 | bool "0x2f8, COM2" |
| 1235 | config UART8_IO_PORT_3E8 |
| 1236 | bool "0x3e8, COM3" |
| 1237 | config UART8_IO_PORT_2E8 |
| 1238 | bool "0x2e8, COM4" |
| 1239 | config UART8_IO_PORT_OTHER |
| 1240 | bool "Other" |
| 1241 | |
| 1242 | endchoice |
| 1243 | |
| 1244 | config UART8_IO_PORT_OTHER_INPUT |
| 1245 | hex "UART8 I/O port" |
| 1246 | depends on UART8_ENABLE && UART8_IO_PORT_OTHER |
| 1247 | |
| 1248 | config UART8_IO |
| 1249 | hex |
| 1250 | depends on UART8_ENABLE |
| 1251 | default 0x3f8 if UART8_IO_PORT_3F8 |
| 1252 | default 0x2f8 if UART8_IO_PORT_2F8 |
| 1253 | default 0x3e8 if UART8_IO_PORT_3E8 |
| 1254 | default 0x2e8 if UART8_IO_PORT_2E8 |
| 1255 | default UART8_IO_PORT_OTHER_INPUT if UART8_IO_PORT_OTHER |
| 1256 | |
| 1257 | choice |
| 1258 | prompt "UART8 IRQ" |
| 1259 | default UART8_IRQ_DISABLE |
| 1260 | depends on UART8_ENABLE |
| 1261 | |
| 1262 | config UART8_IRQ_DISABLE |
| 1263 | bool "Disable" |
| 1264 | config UART8_IRQ3 |
| 1265 | bool "IRQ3, COM2" |
| 1266 | config UART8_IRQ4 |
| 1267 | bool "IRQ4, COM1" |
| 1268 | config UART8_IRQ5 |
| 1269 | bool "IRQ5" |
| 1270 | config UART8_IRQ6 |
| 1271 | bool "IRQ6" |
| 1272 | config UART8_IRQ7 |
| 1273 | bool "IRQ7" |
| 1274 | config UART8_IRQ9 |
| 1275 | bool "IRQ9" |
| 1276 | config UART8_IRQ10 |
| 1277 | bool "IRQ10, COM3" |
| 1278 | config UART8_IRQ11 |
| 1279 | bool "IRQ11, COM4" |
| 1280 | config UART8_IRQ12 |
| 1281 | bool "IRQ12" |
| 1282 | config UART8_IRQ14 |
| 1283 | bool "IRQ14" |
| 1284 | config UART8_IRQ15 |
| 1285 | bool "IRQ15" |
| 1286 | |
| 1287 | endchoice |
| 1288 | |
| 1289 | config UART8_IRQ |
| 1290 | int |
| 1291 | depends on UART8_ENABLE |
| 1292 | default 0 if UART8_IRQ_DISABLE |
| 1293 | default 3 if UART8_IRQ3 |
| 1294 | default 4 if UART8_IRQ4 |
| 1295 | default 5 if UART8_IRQ5 |
| 1296 | default 6 if UART8_IRQ6 |
| 1297 | default 7 if UART8_IRQ7 |
| 1298 | default 9 if UART8_IRQ9 |
| 1299 | default 10 if UART8_IRQ10 |
| 1300 | default 11 if UART8_IRQ11 |
| 1301 | default 12 if UART8_IRQ12 |
| 1302 | default 14 if UART8_IRQ14 |
| 1303 | default 15 if UART8_IRQ15 |
| 1304 | |
| 1305 | choice |
| 1306 | prompt "UART8 Baud rate" |
| 1307 | default UART8_BAUD_115200 |
| 1308 | depends on UART8_ENABLE |
| 1309 | |
| 1310 | config UART8_BAUD_115200 |
| 1311 | bool "115200" |
| 1312 | config UART8_BAUD_57600 |
| 1313 | bool "57600" |
| 1314 | config UART8_BAUD_38400 |
| 1315 | bool "38400" |
| 1316 | config UART8_BAUD_19200 |
| 1317 | bool "19200" |
| 1318 | config UART8_BAUD_9600 |
| 1319 | bool "9600" |
| 1320 | |
| 1321 | endchoice |
| 1322 | |
| 1323 | config UART8_BAUD |
| 1324 | int |
| 1325 | depends on UART8_ENABLE |
| 1326 | default 115200 if UART8_BAUD_115200 |
| 1327 | default 57600 if UART8_BAUD_57600 |
| 1328 | default 38400 if UART8_BAUD_38400 |
| 1329 | default 19200 if UART8_BAUD_19200 |
| 1330 | default 9600 if UART8_BAUD_9600 |
| 1331 | # end of UART8 |
| 1332 | |
| 1333 | # Begin of UART9 |
| 1334 | config UART9_ENABLE |
| 1335 | bool "UART9 Enable" |
| 1336 | default n |
| 1337 | |
| 1338 | choice |
| 1339 | prompt "UART9 I/O port" |
| 1340 | default UART9_IO_PORT_OTHER |
| 1341 | depends on UART9_ENABLE |
| 1342 | |
| 1343 | config UART9_IO_PORT_3F8 |
| 1344 | bool "0x3f8, COM1" |
| 1345 | config UART9_IO_PORT_2F8 |
| 1346 | bool "0x2f8, COM2" |
| 1347 | config UART9_IO_PORT_3E8 |
| 1348 | bool "0x3e8, COM3" |
| 1349 | config UART9_IO_PORT_2E8 |
| 1350 | bool "0x2e8, COM4" |
| 1351 | config UART9_IO_PORT_OTHER |
| 1352 | bool "Other" |
| 1353 | |
| 1354 | endchoice |
| 1355 | |
| 1356 | config UART9_IO_PORT_OTHER_INPUT |
| 1357 | hex "UART9 I/O port" |
| 1358 | depends on UART9_ENABLE && UART9_IO_PORT_OTHER |
| 1359 | |
| 1360 | config UART9_IO |
| 1361 | hex |
| 1362 | depends on UART9_ENABLE |
| 1363 | default 0x3f8 if UART9_IO_PORT_3F8 |
| 1364 | default 0x2f8 if UART9_IO_PORT_2F8 |
| 1365 | default 0x3e8 if UART9_IO_PORT_3E8 |
| 1366 | default 0x2e8 if UART9_IO_PORT_2E8 |
| 1367 | default UART9_IO_PORT_OTHER_INPUT if UART9_IO_PORT_OTHER |
| 1368 | |
| 1369 | choice |
| 1370 | prompt "UART9 IRQ" |
| 1371 | default UART9_IRQ_DISABLE |
| 1372 | depends on UART9_ENABLE |
| 1373 | |
| 1374 | config UART9_IRQ_DISABLE |
| 1375 | bool "Disable" |
| 1376 | config UART9_IRQ3 |
| 1377 | bool "IRQ3, COM2" |
| 1378 | config UART9_IRQ4 |
| 1379 | bool "IRQ4, COM1" |
| 1380 | config UART9_IRQ5 |
| 1381 | bool "IRQ5" |
| 1382 | config UART9_IRQ6 |
| 1383 | bool "IRQ6" |
| 1384 | config UART9_IRQ7 |
| 1385 | bool "IRQ7" |
| 1386 | config UART9_IRQ9 |
| 1387 | bool "IRQ9" |
| 1388 | config UART9_IRQ10 |
| 1389 | bool "IRQ10, COM3" |
| 1390 | config UART9_IRQ11 |
| 1391 | bool "IRQ11, COM4" |
| 1392 | config UART9_IRQ12 |
| 1393 | bool "IRQ12" |
| 1394 | config UART9_IRQ14 |
| 1395 | bool "IRQ14" |
| 1396 | config UART9_IRQ15 |
| 1397 | bool "IRQ15" |
| 1398 | |
| 1399 | endchoice |
| 1400 | |
| 1401 | config UART9_IRQ |
| 1402 | int |
| 1403 | depends on UART9_ENABLE |
| 1404 | default 0 if UART9_IRQ_DISABLE |
| 1405 | default 3 if UART9_IRQ3 |
| 1406 | default 4 if UART9_IRQ4 |
| 1407 | default 5 if UART9_IRQ5 |
| 1408 | default 6 if UART9_IRQ6 |
| 1409 | default 7 if UART9_IRQ7 |
| 1410 | default 9 if UART9_IRQ9 |
| 1411 | default 10 if UART9_IRQ10 |
| 1412 | default 11 if UART9_IRQ11 |
| 1413 | default 12 if UART9_IRQ12 |
| 1414 | default 14 if UART9_IRQ14 |
| 1415 | default 15 if UART9_IRQ15 |
| 1416 | |
| 1417 | choice |
| 1418 | prompt "UART9 Baud rate" |
| 1419 | default UART9_BAUD_115200 |
| 1420 | depends on UART9_ENABLE |
| 1421 | |
| 1422 | config UART9_BAUD_115200 |
| 1423 | bool "115200" |
| 1424 | config UART9_BAUD_57600 |
| 1425 | bool "57600" |
| 1426 | config UART9_BAUD_38400 |
| 1427 | bool "38400" |
| 1428 | config UART9_BAUD_19200 |
| 1429 | bool "19200" |
| 1430 | config UART9_BAUD_9600 |
| 1431 | bool "9600" |
| 1432 | |
| 1433 | endchoice |
| 1434 | |
| 1435 | config UART9_BAUD |
| 1436 | int |
| 1437 | depends on UART9_ENABLE |
| 1438 | default 115200 if UART9_BAUD_115200 |
| 1439 | default 57600 if UART9_BAUD_57600 |
| 1440 | default 38400 if UART9_BAUD_38400 |
| 1441 | default 19200 if UART9_BAUD_19200 |
| 1442 | default 9600 if UART9_BAUD_9600 |
| 1443 | # end of UART9 |
| 1444 | |
| 1445 | # Begin of UART10 |
| 1446 | config UART10_ENABLE |
| 1447 | bool "UART10 Enable" |
| 1448 | default n |
| 1449 | |
| 1450 | choice |
| 1451 | prompt "UART10 I/O port" |
| 1452 | default UART10_IO_PORT_OTHER |
| 1453 | depends on UART10_ENABLE |
| 1454 | |
| 1455 | config UART10_IO_PORT_3F8 |
| 1456 | bool "0x3f8, COM1" |
| 1457 | config UART10_IO_PORT_2F8 |
| 1458 | bool "0x2f8, COM2" |
| 1459 | config UART10_IO_PORT_3E8 |
| 1460 | bool "0x3e8, COM3" |
| 1461 | config UART10_IO_PORT_2E8 |
| 1462 | bool "0x2e8, COM4" |
| 1463 | config UART10_IO_PORT_OTHER |
| 1464 | bool "Other" |
| 1465 | |
| 1466 | endchoice |
| 1467 | |
| 1468 | config UART10_IO_PORT_OTHER_INPUT |
| 1469 | hex "UART10 I/O port" |
| 1470 | depends on UART10_ENABLE && UART10_IO_PORT_OTHER |
| 1471 | |
| 1472 | config UART10_IO |
| 1473 | hex |
| 1474 | depends on UART10_ENABLE |
| 1475 | default 0x3f8 if UART10_IO_PORT_3F8 |
| 1476 | default 0x2f8 if UART10_IO_PORT_2F8 |
| 1477 | default 0x3e8 if UART10_IO_PORT_3E8 |
| 1478 | default 0x2e8 if UART10_IO_PORT_2E8 |
| 1479 | default UART10_IO_PORT_OTHER_INPUT if UART10_IO_PORT_OTHER |
| 1480 | |
| 1481 | choice |
| 1482 | prompt "UART10 IRQ" |
| 1483 | default UART10_IRQ_DISABLE |
| 1484 | depends on UART10_ENABLE |
| 1485 | |
| 1486 | config UART10_IRQ_DISABLE |
| 1487 | bool "Disable" |
| 1488 | config UART10_IRQ3 |
| 1489 | bool "IRQ3, COM2" |
| 1490 | config UART10_IRQ4 |
| 1491 | bool "IRQ4, COM1" |
| 1492 | config UART10_IRQ5 |
| 1493 | bool "IRQ5" |
| 1494 | config UART10_IRQ6 |
| 1495 | bool "IRQ6" |
| 1496 | config UART10_IRQ7 |
| 1497 | bool "IRQ7" |
| 1498 | config UART10_IRQ9 |
| 1499 | bool "IRQ9" |
| 1500 | config UART10_IRQ10 |
| 1501 | bool "IRQ10, COM3" |
| 1502 | config UART10_IRQ11 |
| 1503 | bool "IRQ11, COM4" |
| 1504 | config UART10_IRQ12 |
| 1505 | bool "IRQ12" |
| 1506 | config UART10_IRQ14 |
| 1507 | bool "IRQ14" |
| 1508 | config UART10_IRQ15 |
| 1509 | bool "IRQ15" |
| 1510 | |
| 1511 | endchoice |
| 1512 | |
| 1513 | config UART10_IRQ |
| 1514 | int |
| 1515 | depends on UART10_ENABLE |
| 1516 | default 0 if UART10_IRQ_DISABLE |
| 1517 | default 3 if UART10_IRQ3 |
| 1518 | default 4 if UART10_IRQ4 |
| 1519 | default 5 if UART10_IRQ5 |
| 1520 | default 6 if UART10_IRQ6 |
| 1521 | default 7 if UART10_IRQ7 |
| 1522 | default 9 if UART10_IRQ9 |
| 1523 | default 10 if UART10_IRQ10 |
| 1524 | default 11 if UART10_IRQ11 |
| 1525 | default 12 if UART10_IRQ12 |
| 1526 | default 14 if UART10_IRQ14 |
| 1527 | default 15 if UART10_IRQ15 |
| 1528 | |
| 1529 | choice |
| 1530 | prompt "UART10 Baud rate" |
| 1531 | default UART10_BAUD_115200 |
| 1532 | depends on UART10_ENABLE |
| 1533 | |
| 1534 | config UART10_BAUD_115200 |
| 1535 | bool "115200" |
| 1536 | config UART10_BAUD_57600 |
| 1537 | bool "57600" |
| 1538 | config UART10_BAUD_38400 |
| 1539 | bool "38400" |
| 1540 | config UART10_BAUD_19200 |
| 1541 | bool "19200" |
| 1542 | config UART10_BAUD_9600 |
| 1543 | bool "9600" |
| 1544 | |
| 1545 | endchoice |
| 1546 | |
| 1547 | config UART10_BAUD |
| 1548 | int |
| 1549 | depends on UART10_ENABLE |
| 1550 | default 115200 if UART10_BAUD_115200 |
| 1551 | default 57600 if UART10_BAUD_57600 |
| 1552 | default 38400 if UART10_BAUD_38400 |
| 1553 | default 19200 if UART10_BAUD_19200 |
| 1554 | default 9600 if UART10_BAUD_9600 |
| 1555 | # end of UART10 |
| 1556 | |
| 1557 | endmenu |
| 1558 | |
| 1559 | # LPT setting : |
| 1560 | menu "LPT setting" |
| 1561 | |
| 1562 | # Begin of LPT |
| 1563 | config LPT_ENABLE |
| 1564 | bool "LPT Enable" |
| 1565 | default n |
| 1566 | |
| 1567 | choice |
| 1568 | prompt "LPT I/O port" |
| 1569 | default LPT_IO_PORT_278 |
| 1570 | depends on LPT_ENABLE |
| 1571 | |
| 1572 | config LPT_IO_PORT_378 |
| 1573 | bool "0x378, LPT1" |
| 1574 | config LPT_IO_PORT_278 |
| 1575 | bool "0x278, LPT2" |
| 1576 | config LPT_IO_PORT_OTHER |
| 1577 | bool "Other" |
| 1578 | |
| 1579 | endchoice |
| 1580 | |
| 1581 | config LPT_IO_PORT_OTHER_INPUT |
| 1582 | hex "LPT I/O port" |
| 1583 | depends on LPT_ENABLE && LPT_IO_PORT_OTHER |
| 1584 | |
| 1585 | config LPT_IO |
| 1586 | hex |
| 1587 | depends on LPT_ENABLE |
| 1588 | default 0x378 if LPT_IO_PORT_378 |
| 1589 | default 0x278 if LPT_IO_PORT_278 |
| 1590 | default LPT_IO_PORT_OTHER_INPUT if LPT_IO_PORT_OTHER |
| 1591 | |
| 1592 | choice |
| 1593 | prompt "LPT IRQ" |
| 1594 | default LPT_IRQ_DISABLE |
| 1595 | depends on LPT_ENABLE |
| 1596 | |
| 1597 | config LPT_IRQ_DISABLE |
| 1598 | bool "Disable" |
| 1599 | config LPT_IRQ3 |
| 1600 | bool "IRQ3" |
| 1601 | config LPT_IRQ4 |
| 1602 | bool "IRQ4" |
| 1603 | config LPT_IRQ5 |
| 1604 | bool "IRQ5" |
| 1605 | config LPT_IRQ6 |
| 1606 | bool "IRQ6" |
| 1607 | config LPT_IRQ7 |
| 1608 | bool "IRQ7" |
| 1609 | config LPT_IRQ9 |
| 1610 | bool "IRQ9" |
| 1611 | config LPT_IRQ10 |
| 1612 | bool "IRQ10" |
| 1613 | config LPT_IRQ11 |
| 1614 | bool "IRQ11" |
| 1615 | config LPT_IRQ12 |
| 1616 | bool "IRQ12" |
| 1617 | config LPT_IRQ14 |
| 1618 | bool "IRQ14" |
| 1619 | config LPT_IRQ15 |
| 1620 | bool "IRQ15" |
| 1621 | |
| 1622 | endchoice |
| 1623 | |
| 1624 | config LPT_IRQ |
| 1625 | int |
| 1626 | depends on LPT_ENABLE |
| 1627 | default 0 if LPT_IRQ_DISABLE |
| 1628 | default 3 if LPT_IRQ3 |
| 1629 | default 4 if LPT_IRQ4 |
| 1630 | default 5 if LPT_IRQ5 |
| 1631 | default 6 if LPT_IRQ6 |
| 1632 | default 7 if LPT_IRQ7 |
| 1633 | default 9 if LPT_IRQ9 |
| 1634 | default 10 if LPT_IRQ10 |
| 1635 | default 11 if LPT_IRQ11 |
| 1636 | default 12 if LPT_IRQ12 |
| 1637 | default 14 if LPT_IRQ14 |
| 1638 | default 15 if LPT_IRQ15 |
| 1639 | |
| 1640 | choice |
| 1641 | prompt "LPT Mode Setting" |
| 1642 | default LPT_MODE_SPP |
| 1643 | depends on LPT_ENABLE |
| 1644 | |
| 1645 | config LPT_MODE_BPP |
| 1646 | bool "BPP mode" |
| 1647 | config LPT_MODE_EPP_19_AND_SPP |
| 1648 | bool "EPP 1.9 and SPP mode" |
| 1649 | config LPT_MODE_ECP |
| 1650 | bool "ECP Mode" |
| 1651 | config LPT_MODE_ECP_AND_EPP_19 |
| 1652 | bool "ECP and EPP 1.9 mode" |
| 1653 | config LPT_MODE_SPP |
| 1654 | bool "SPP Mode" |
| 1655 | config LPT_MODE_EPP_17_AND_SPP |
| 1656 | bool "EPP 1.7 and SPP mode" |
| 1657 | config LPT_MODE_ECP_AND_EPP_17 |
| 1658 | bool "ECP and EPP 1.7 mode" |
| 1659 | |
| 1660 | endchoice |
| 1661 | |
| 1662 | # end of LPT |
| 1663 | |
| 1664 | endmenu |
| 1665 | |
| 1666 | endif # BOARD_DMP_EX |