blob: b1db0dc4816f83080d6deb53941c8efc75a966b8 [file] [log] [blame]
Andrew Wu8522f992013-07-05 17:29:41 +08001##
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
20if BOARD_DMP_EX
21
22config 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
34config MAINBOARD_DIR
35 string
36 default dmp/vortex86ex
37
38config MAINBOARD_PART_NUMBER
39 string
40 default "Vortex86EX"
41
42config IRQ_SLOT_COUNT
43 int
44 default 12
45
46config 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 Wua4ae3102013-12-23 19:54:26 +080053# SPI I/O base address control.
54config I2C_BASE
55 hex
56 default 0xfb00
57
Andrew Wu8522f992013-07-05 17:29:41 +080058# ROM Strap PLL config setting :
59
60choice
61 prompt "ROM Strap PLL config"
62 default PLL_300_300_33
63
64config PLL_200_200_33
65 bool "CPU=200Mhz/DRAM=200Mhz/PCI=33Mhz"
66
67config PLL_300_300_33
68 bool "CPU=300Mhz/DRAM=300Mhz/PCI=33Mhz"
69
70config PLL_300_300_100
71 bool "CPU=300Mhz/DRAM=300Mhz/PCI=100Mhz"
72
73config PLL_400_200_33
74 bool "CPU=400Mhz/DRAM=200Mhz/PCI=33Mhz"
75
76config PLL_400_200_100
77 bool "CPU=400Mhz/DRAM=200Mhz/PCI=100Mhz"
78
79config PLL_400_400_33
80 bool "CPU=400Mhz/DRAM=400Mhz/PCI=33Mhz"
81
82config PLL_500_250_33
83 bool "CPU=500Mhz/DRAM=250Mhz/PCI=33Mhz"
84
85config PLL_500_500_33
86 bool "CPU=500Mhz/DRAM=500Mhz/PCI=33Mhz"
87
88config PLL_400_300_33
89 bool "CPU=400Mhz/DRAM=300Mhz/PCI=33Mhz"
90
91config PLL_400_300_100
92 bool "CPU=400Mhz/DRAM=300Mhz/PCI=100Mhz"
93
94config PLL_444_333_33
95 bool "CPU=444Mhz/DRAM=333Mhz/PCI=33Mhz"
96
97config PLL_466_350_33
98 bool "CPU=466Mhz/DRAM=350Mhz/PCI=33Mhz"
99
100config PLL_500_375_33
101 bool "CPU=500Mhz/DRAM=375Mhz/PCI=33Mhz"
102
103endchoice
104
105menu "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
128endmenu
129
130menu "Watchdog Timer setting"
131
132config WDT1_INITIALIZE
133 bool "Initialize WDT1"
134 default n
135
136config WDT1_ENABLE
137 depends on WDT1_INITIALIZE
138 bool "Enable WDT1"
139 default n
140
141choice
142 depends on WDT1_INITIALIZE
143 prompt "WDT1 Signal Select"
144 default WDT1_SIGNAL_RESET
145
146config WDT1_SINGAL_NMI
147 bool "NMI"
148config WDT1_SIGNAL_RESET
149 bool "Reset"
150config WDT1_SIGNAL_SMI
151 bool "SMI"
152
153endchoice
154
155endmenu
156
157menu "IDE controller setting"
158
159choice
160 prompt "Operation Mode"
161 default IDE_NATIVE_MODE
162
163config IDE_NATIVE_MODE
164 bool "Native Mode"
165config IDE_LEGACY_MODE
166 bool "Legacy Mode"
167
168endchoice
169
170config IDE1_ENABLE
171 bool "IDE Primary channel Enable"
172 default y
173
174config IDE2_ENABLE
175 bool "IDE Secondary channel Enable"
176 default y
177
178config 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
188config 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
197endmenu
198
199# GPIO setting :
200menu "GPIO setting"
201
202# Begin of GPIO0
203config GPIO_P0_ENABLE
204 bool "GPIO port 0 Enable"
205 default n
206
207config GPIO_P0_DATA_ADDR
208 hex "GPIO port 0 data address"
209 depends on GPIO_P0_ENABLE
210
211config GPIO_P0_DIR_ADDR
212 hex "GPIO port 0 direction address"
213 depends on GPIO_P0_ENABLE
214
215config GPIO_P0_INIT_DIR
216 hex "GPIO port 0 initial direction"
217 default 0x00
218 depends on GPIO_P0_ENABLE
219
220config 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
226config GPIO_P1_ENABLE
227 bool "GPIO port 1 Enable"
228 default n
229
230config GPIO_P1_DATA_ADDR
231 hex "GPIO port 1 data address"
232 depends on GPIO_P1_ENABLE
233
234config GPIO_P1_DIR_ADDR
235 hex "GPIO port 1 direction address"
236 depends on GPIO_P1_ENABLE
237
238config GPIO_P1_INIT_DIR
239 hex "GPIO port 1 initial direction"
240 default 0x00
241 depends on GPIO_P1_ENABLE
242
243config 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
249config GPIO_P2_ENABLE
250 bool "GPIO port 2 Enable"
251 default n
252
253config GPIO_P2_DATA_ADDR
254 hex "GPIO port 2 data address"
255 depends on GPIO_P2_ENABLE
256
257config GPIO_P2_DIR_ADDR
258 hex "GPIO port 2 direction address"
259 depends on GPIO_P2_ENABLE
260
261config GPIO_P2_INIT_DIR
262 hex "GPIO port 2 initial direction"
263 default 0x00
264 depends on GPIO_P2_ENABLE
265
266config 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
272config GPIO_P3_ENABLE
273 bool "GPIO port 3 Enable"
274 default n
275
276config GPIO_P3_DATA_ADDR
277 hex "GPIO port 3 data address"
278 depends on GPIO_P3_ENABLE
279
280config GPIO_P3_DIR_ADDR
281 hex "GPIO port 3 direction address"
282 depends on GPIO_P3_ENABLE
283
284config GPIO_P3_INIT_DIR
285 hex "GPIO port 3 initial direction"
286 default 0x00
287 depends on GPIO_P3_ENABLE
288
289config 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
295config GPIO_P4_ENABLE
296 bool "GPIO port 4 Enable"
297 default n
298
299config GPIO_P4_DATA_ADDR
300 hex "GPIO port 4 data address"
301 depends on GPIO_P4_ENABLE
302
303config GPIO_P4_DIR_ADDR
304 hex "GPIO port 4 direction address"
305 depends on GPIO_P4_ENABLE
306
307config GPIO_P4_INIT_DIR
308 hex "GPIO port 4 initial direction"
309 default 0x00
310 depends on GPIO_P4_ENABLE
311
312config 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
318config GPIO_P5_ENABLE
319 bool "GPIO port 5 Enable"
320 default n
321
322config GPIO_P5_DATA_ADDR
323 hex "GPIO port 5 data address"
324 depends on GPIO_P5_ENABLE
325
326config GPIO_P5_DIR_ADDR
327 hex "GPIO port 5 direction address"
328 depends on GPIO_P5_ENABLE
329
330config GPIO_P5_INIT_DIR
331 hex "GPIO port 5 initial direction"
332 default 0x00
333 depends on GPIO_P5_ENABLE
334
335config 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
341config GPIO_P6_ENABLE
342 bool "GPIO port 6 Enable"
343 default n
344
345config GPIO_P6_DATA_ADDR
346 hex "GPIO port 6 data address"
347 depends on GPIO_P6_ENABLE
348
349config GPIO_P6_DIR_ADDR
350 hex "GPIO port 6 direction address"
351 depends on GPIO_P6_ENABLE
352
353config GPIO_P6_INIT_DIR
354 hex "GPIO port 6 initial direction"
355 default 0x00
356 depends on GPIO_P6_ENABLE
357
358config 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
364config GPIO_P7_ENABLE
365 bool "GPIO port 7 Enable"
366 default n
367
368config GPIO_P7_DATA_ADDR
369 hex "GPIO port 7 data address"
370 depends on GPIO_P7_ENABLE
371
372config GPIO_P7_DIR_ADDR
373 hex "GPIO port 7 direction address"
374 depends on GPIO_P7_ENABLE
375
376config GPIO_P7_INIT_DIR
377 hex "GPIO port 7 initial direction"
378 default 0x00
379 depends on GPIO_P7_ENABLE
380
381config 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
387config GPIO_P8_ENABLE
388 bool "GPIO port 8 Enable"
389 default n
390
391config GPIO_P8_DATA_ADDR
392 hex "GPIO port 8 data address"
393 depends on GPIO_P8_ENABLE
394
395config GPIO_P8_DIR_ADDR
396 hex "GPIO port 8 direction address"
397 depends on GPIO_P8_ENABLE
398
399config GPIO_P8_INIT_DIR
400 hex "GPIO port 8 initial direction"
401 default 0x00
402 depends on GPIO_P8_ENABLE
403
404config 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
410config GPIO_P9_ENABLE
411 bool "GPIO port 9 Enable"
412 default n
413
414config GPIO_P9_DATA_ADDR
415 hex "GPIO port 9 data address"
416 depends on GPIO_P9_ENABLE
417
418config GPIO_P9_DIR_ADDR
419 hex "GPIO port 9 direction address"
420 depends on GPIO_P9_ENABLE
421
422config GPIO_P9_INIT_DIR
423 hex "GPIO port 9 initial direction"
424 default 0x00
425 depends on GPIO_P9_ENABLE
426
427config GPIO_P9_INIT_DATA
428 hex "GPIO port 9 initial data"
429 depends on GPIO_P9_ENABLE
430# end of GPIO9
431
432endmenu
433
434# UART setting :
435menu "UART setting"
436
437# Begin of UART1
438config UART1_ENABLE
439 bool "UART1 Enable"
440 default y
441
442choice
443 prompt "UART1 I/O port"
444 default UART1_IO_PORT_3F8
445 depends on UART1_ENABLE
446
447config UART1_IO_PORT_3F8
448 bool "0x3f8, COM1"
449config UART1_IO_PORT_2F8
450 bool "0x2f8, COM2"
451config UART1_IO_PORT_3E8
452 bool "0x3e8, COM3"
453config UART1_IO_PORT_2E8
454 bool "0x2e8, COM4"
455config UART1_IO_PORT_OTHER
456 bool "Other"
457
458endchoice
459
460config UART1_IO_PORT_OTHER_INPUT
461 hex "UART1 I/O port"
462 depends on UART1_ENABLE && UART1_IO_PORT_OTHER
463
464config 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
473choice
474 prompt "UART1 IRQ"
475 default UART1_IRQ4
476 depends on UART1_ENABLE
477
478config UART1_IRQ_DISABLE
479 bool "Disable"
480config UART1_IRQ3
481 bool "IRQ3, COM2"
482config UART1_IRQ4
483 bool "IRQ4, COM1"
484config UART1_IRQ5
485 bool "IRQ5"
486config UART1_IRQ6
487 bool "IRQ6"
488config UART1_IRQ7
489 bool "IRQ7"
490config UART1_IRQ9
491 bool "IRQ9"
492config UART1_IRQ10
493 bool "IRQ10, COM3"
494config UART1_IRQ11
495 bool "IRQ11, COM4"
496config UART1_IRQ12
497 bool "IRQ12"
498config UART1_IRQ14
499 bool "IRQ14"
500config UART1_IRQ15
501 bool "IRQ15"
502
503endchoice
504
505config 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
521choice
522 prompt "UART1 Baud rate"
523 default UART1_BAUD_115200
524 depends on UART1_ENABLE
525
526config UART1_BAUD_115200
527 bool "115200"
528config UART1_BAUD_57600
529 bool "57600"
530config UART1_BAUD_38400
531 bool "38400"
532config UART1_BAUD_19200
533 bool "19200"
534config UART1_BAUD_9600
535 bool "9600"
536
537endchoice
538
539config 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
550config UART2_ENABLE
551 bool "UART2 Enable"
552 default y
553
554choice
555 prompt "UART2 I/O port"
556 default UART2_IO_PORT_2F8
557 depends on UART2_ENABLE
558
559config UART2_IO_PORT_3F8
560 bool "0x3f8, COM1"
561config UART2_IO_PORT_2F8
562 bool "0x2f8, COM2"
563config UART2_IO_PORT_3E8
564 bool "0x3e8, COM3"
565config UART2_IO_PORT_2E8
566 bool "0x2e8, COM4"
567config UART2_IO_PORT_OTHER
568 bool "Other"
569
570endchoice
571
572config UART2_IO_PORT_OTHER_INPUT
573 hex "UART2 I/O port"
574 depends on UART2_ENABLE && UART2_IO_PORT_OTHER
575
576config 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
585choice
586 prompt "UART2 IRQ"
587 default UART2_IRQ3
588 depends on UART2_ENABLE
589
590config UART2_IRQ_DISABLE
591 bool "Disable"
592config UART2_IRQ3
593 bool "IRQ3, COM2"
594config UART2_IRQ4
595 bool "IRQ4, COM1"
596config UART2_IRQ5
597 bool "IRQ5"
598config UART2_IRQ6
599 bool "IRQ6"
600config UART2_IRQ7
601 bool "IRQ7"
602config UART2_IRQ9
603 bool "IRQ9"
604config UART2_IRQ10
605 bool "IRQ10, COM3"
606config UART2_IRQ11
607 bool "IRQ11, COM4"
608config UART2_IRQ12
609 bool "IRQ12"
610config UART2_IRQ14
611 bool "IRQ14"
612config UART2_IRQ15
613 bool "IRQ15"
614
615endchoice
616
617config 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
633choice
634 prompt "UART2 Baud rate"
635 default UART2_BAUD_115200
636 depends on UART2_ENABLE
637
638config UART2_BAUD_115200
639 bool "115200"
640config UART2_BAUD_57600
641 bool "57600"
642config UART2_BAUD_38400
643 bool "38400"
644config UART2_BAUD_19200
645 bool "19200"
646config UART2_BAUD_9600
647 bool "9600"
648
649endchoice
650
651config 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
662config UART3_ENABLE
663 bool "UART3 Enable"
664 default y
665
666choice
667 prompt "UART3 I/O port"
668 default UART3_IO_PORT_3E8
669 depends on UART3_ENABLE
670
671config UART3_IO_PORT_3F8
672 bool "0x3f8, COM1"
673config UART3_IO_PORT_2F8
674 bool "0x2f8, COM2"
675config UART3_IO_PORT_3E8
676 bool "0x3e8, COM3"
677config UART3_IO_PORT_2E8
678 bool "0x2e8, COM4"
679config UART3_IO_PORT_OTHER
680 bool "Other"
681
682endchoice
683
684config UART3_IO_PORT_OTHER_INPUT
685 hex "UART3 I/O port"
686 depends on UART3_ENABLE && UART3_IO_PORT_OTHER
687
688config 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
697choice
698 prompt "UART3 IRQ"
699 default UART3_IRQ10
700 depends on UART3_ENABLE
701
702config UART3_IRQ_DISABLE
703 bool "Disable"
704config UART3_IRQ3
705 bool "IRQ3, COM2"
706config UART3_IRQ4
707 bool "IRQ4, COM1"
708config UART3_IRQ5
709 bool "IRQ5"
710config UART3_IRQ6
711 bool "IRQ6"
712config UART3_IRQ7
713 bool "IRQ7"
714config UART3_IRQ9
715 bool "IRQ9"
716config UART3_IRQ10
717 bool "IRQ10, COM3"
718config UART3_IRQ11
719 bool "IRQ11, COM4"
720config UART3_IRQ12
721 bool "IRQ12"
722config UART3_IRQ14
723 bool "IRQ14"
724config UART3_IRQ15
725 bool "IRQ15"
726
727endchoice
728
729config 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
745choice
746 prompt "UART3 Baud rate"
747 default UART3_BAUD_115200
748 depends on UART3_ENABLE
749
750config UART3_BAUD_115200
751 bool "115200"
752config UART3_BAUD_57600
753 bool "57600"
754config UART3_BAUD_38400
755 bool "38400"
756config UART3_BAUD_19200
757 bool "19200"
758config UART3_BAUD_9600
759 bool "9600"
760
761endchoice
762
763config 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
774config UART4_ENABLE
775 bool "UART4 Enable"
776 default y
777
778choice
779 prompt "UART4 I/O port"
780 default UART4_IO_PORT_2E8
781 depends on UART4_ENABLE
782
783config UART4_IO_PORT_3F8
784 bool "0x3f8, COM1"
785config UART4_IO_PORT_2F8
786 bool "0x2f8, COM2"
787config UART4_IO_PORT_3E8
788 bool "0x3e8, COM3"
789config UART4_IO_PORT_2E8
790 bool "0x2e8, COM4"
791config UART4_IO_PORT_OTHER
792 bool "Other"
793
794endchoice
795
796config UART4_IO_PORT_OTHER_INPUT
797 hex "UART4 I/O port"
798 depends on UART4_ENABLE && UART4_IO_PORT_OTHER
799
800config 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
809choice
810 prompt "UART4 IRQ"
811 default UART4_IRQ11
812 depends on UART4_ENABLE
813
814config UART4_IRQ_DISABLE
815 bool "Disable"
816config UART4_IRQ3
817 bool "IRQ3, COM2"
818config UART4_IRQ4
819 bool "IRQ4, COM1"
820config UART4_IRQ5
821 bool "IRQ5"
822config UART4_IRQ6
823 bool "IRQ6"
824config UART4_IRQ7
825 bool "IRQ7"
826config UART4_IRQ9
827 bool "IRQ9"
828config UART4_IRQ10
829 bool "IRQ10, COM3"
830config UART4_IRQ11
831 bool "IRQ11, COM4"
832config UART4_IRQ12
833 bool "IRQ12"
834config UART4_IRQ14
835 bool "IRQ14"
836config UART4_IRQ15
837 bool "IRQ15"
838
839endchoice
840
841config 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
857choice
858 prompt "UART4 Baud rate"
859 default UART4_BAUD_115200
860 depends on UART4_ENABLE
861
862config UART4_BAUD_115200
863 bool "115200"
864config UART4_BAUD_57600
865 bool "57600"
866config UART4_BAUD_38400
867 bool "38400"
868config UART4_BAUD_19200
869 bool "19200"
870config UART4_BAUD_9600
871 bool "9600"
872
873endchoice
874
875config 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
886config UART5_ENABLE
887 bool "UART5 Enable"
888 default n
889
890choice
891 prompt "UART5 I/O port"
892 default UART5_IO_PORT_OTHER
893 depends on UART5_ENABLE
894
895config UART5_IO_PORT_3F8
896 bool "0x3f8, COM1"
897config UART5_IO_PORT_2F8
898 bool "0x2f8, COM2"
899config UART5_IO_PORT_3E8
900 bool "0x3e8, COM3"
901config UART5_IO_PORT_2E8
902 bool "0x2e8, COM4"
903config UART5_IO_PORT_OTHER
904 bool "Other"
905
906endchoice
907
908config UART5_IO_PORT_OTHER_INPUT
909 hex "UART5 I/O port"
910 depends on UART5_ENABLE && UART5_IO_PORT_OTHER
911
912config 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
921choice
922 prompt "UART5 IRQ"
923 default UART5_IRQ_DISABLE
924 depends on UART5_ENABLE
925
926config UART5_IRQ_DISABLE
927 bool "Disable"
928config UART5_IRQ3
929 bool "IRQ3, COM2"
930config UART5_IRQ4
931 bool "IRQ4, COM1"
932config UART5_IRQ5
933 bool "IRQ5"
934config UART5_IRQ6
935 bool "IRQ6"
936config UART5_IRQ7
937 bool "IRQ7"
938config UART5_IRQ9
939 bool "IRQ9"
940config UART5_IRQ10
941 bool "IRQ10, COM3"
942config UART5_IRQ11
943 bool "IRQ11, COM4"
944config UART5_IRQ12
945 bool "IRQ12"
946config UART5_IRQ14
947 bool "IRQ14"
948config UART5_IRQ15
949 bool "IRQ15"
950
951endchoice
952
953config 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
969choice
970 prompt "UART5 Baud rate"
971 default UART5_BAUD_115200
972 depends on UART5_ENABLE
973
974config UART5_BAUD_115200
975 bool "115200"
976config UART5_BAUD_57600
977 bool "57600"
978config UART5_BAUD_38400
979 bool "38400"
980config UART5_BAUD_19200
981 bool "19200"
982config UART5_BAUD_9600
983 bool "9600"
984
985endchoice
986
987config 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
998config UART6_ENABLE
999 bool "UART6 Enable"
1000 default n
1001
1002choice
1003 prompt "UART6 I/O port"
1004 default UART6_IO_PORT_OTHER
1005 depends on UART6_ENABLE
1006
1007config UART6_IO_PORT_3F8
1008 bool "0x3f8, COM1"
1009config UART6_IO_PORT_2F8
1010 bool "0x2f8, COM2"
1011config UART6_IO_PORT_3E8
1012 bool "0x3e8, COM3"
1013config UART6_IO_PORT_2E8
1014 bool "0x2e8, COM4"
1015config UART6_IO_PORT_OTHER
1016 bool "Other"
1017
1018endchoice
1019
1020config UART6_IO_PORT_OTHER_INPUT
1021 hex "UART6 I/O port"
1022 depends on UART6_ENABLE && UART6_IO_PORT_OTHER
1023
1024config 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
1033choice
1034 prompt "UART6 IRQ"
1035 default UART6_IRQ_DISABLE
1036 depends on UART6_ENABLE
1037
1038config UART6_IRQ_DISABLE
1039 bool "Disable"
1040config UART6_IRQ3
1041 bool "IRQ3, COM2"
1042config UART6_IRQ4
1043 bool "IRQ4, COM1"
1044config UART6_IRQ5
1045 bool "IRQ5"
1046config UART6_IRQ6
1047 bool "IRQ6"
1048config UART6_IRQ7
1049 bool "IRQ7"
1050config UART6_IRQ9
1051 bool "IRQ9"
1052config UART6_IRQ10
1053 bool "IRQ10, COM3"
1054config UART6_IRQ11
1055 bool "IRQ11, COM4"
1056config UART6_IRQ12
1057 bool "IRQ12"
1058config UART6_IRQ14
1059 bool "IRQ14"
1060config UART6_IRQ15
1061 bool "IRQ15"
1062
1063endchoice
1064
1065config 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
1081choice
1082 prompt "UART6 Baud rate"
1083 default UART6_BAUD_115200
1084 depends on UART6_ENABLE
1085
1086config UART6_BAUD_115200
1087 bool "115200"
1088config UART6_BAUD_57600
1089 bool "57600"
1090config UART6_BAUD_38400
1091 bool "38400"
1092config UART6_BAUD_19200
1093 bool "19200"
1094config UART6_BAUD_9600
1095 bool "9600"
1096
1097endchoice
1098
1099config 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
1110config UART7_ENABLE
1111 bool "UART7 Enable"
1112 default n
1113
1114choice
1115 prompt "UART7 I/O port"
1116 default UART7_IO_PORT_OTHER
1117 depends on UART7_ENABLE
1118
1119config UART7_IO_PORT_3F8
1120 bool "0x3f8, COM1"
1121config UART7_IO_PORT_2F8
1122 bool "0x2f8, COM2"
1123config UART7_IO_PORT_3E8
1124 bool "0x3e8, COM3"
1125config UART7_IO_PORT_2E8
1126 bool "0x2e8, COM4"
1127config UART7_IO_PORT_OTHER
1128 bool "Other"
1129
1130endchoice
1131
1132config UART7_IO_PORT_OTHER_INPUT
1133 hex "UART7 I/O port"
1134 depends on UART7_ENABLE && UART7_IO_PORT_OTHER
1135
1136config 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
1145choice
1146 prompt "UART7 IRQ"
1147 default UART7_IRQ_DISABLE
1148 depends on UART7_ENABLE
1149
1150config UART7_IRQ_DISABLE
1151 bool "Disable"
1152config UART7_IRQ3
1153 bool "IRQ3, COM2"
1154config UART7_IRQ4
1155 bool "IRQ4, COM1"
1156config UART7_IRQ5
1157 bool "IRQ5"
1158config UART7_IRQ6
1159 bool "IRQ6"
1160config UART7_IRQ7
1161 bool "IRQ7"
1162config UART7_IRQ9
1163 bool "IRQ9"
1164config UART7_IRQ10
1165 bool "IRQ10, COM3"
1166config UART7_IRQ11
1167 bool "IRQ11, COM4"
1168config UART7_IRQ12
1169 bool "IRQ12"
1170config UART7_IRQ14
1171 bool "IRQ14"
1172config UART7_IRQ15
1173 bool "IRQ15"
1174
1175endchoice
1176
1177config 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
1193choice
1194 prompt "UART7 Baud rate"
1195 default UART7_BAUD_115200
1196 depends on UART7_ENABLE
1197
1198config UART7_BAUD_115200
1199 bool "115200"
1200config UART7_BAUD_57600
1201 bool "57600"
1202config UART7_BAUD_38400
1203 bool "38400"
1204config UART7_BAUD_19200
1205 bool "19200"
1206config UART7_BAUD_9600
1207 bool "9600"
1208
1209endchoice
1210
1211config 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
1222config UART8_ENABLE
1223 bool "UART8 Enable"
1224 default n
1225
1226choice
1227 prompt "UART8 I/O port"
1228 default UART8_IO_PORT_OTHER
1229 depends on UART8_ENABLE
1230
1231config UART8_IO_PORT_3F8
1232 bool "0x3f8, COM1"
1233config UART8_IO_PORT_2F8
1234 bool "0x2f8, COM2"
1235config UART8_IO_PORT_3E8
1236 bool "0x3e8, COM3"
1237config UART8_IO_PORT_2E8
1238 bool "0x2e8, COM4"
1239config UART8_IO_PORT_OTHER
1240 bool "Other"
1241
1242endchoice
1243
1244config UART8_IO_PORT_OTHER_INPUT
1245 hex "UART8 I/O port"
1246 depends on UART8_ENABLE && UART8_IO_PORT_OTHER
1247
1248config 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
1257choice
1258 prompt "UART8 IRQ"
1259 default UART8_IRQ_DISABLE
1260 depends on UART8_ENABLE
1261
1262config UART8_IRQ_DISABLE
1263 bool "Disable"
1264config UART8_IRQ3
1265 bool "IRQ3, COM2"
1266config UART8_IRQ4
1267 bool "IRQ4, COM1"
1268config UART8_IRQ5
1269 bool "IRQ5"
1270config UART8_IRQ6
1271 bool "IRQ6"
1272config UART8_IRQ7
1273 bool "IRQ7"
1274config UART8_IRQ9
1275 bool "IRQ9"
1276config UART8_IRQ10
1277 bool "IRQ10, COM3"
1278config UART8_IRQ11
1279 bool "IRQ11, COM4"
1280config UART8_IRQ12
1281 bool "IRQ12"
1282config UART8_IRQ14
1283 bool "IRQ14"
1284config UART8_IRQ15
1285 bool "IRQ15"
1286
1287endchoice
1288
1289config 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
1305choice
1306 prompt "UART8 Baud rate"
1307 default UART8_BAUD_115200
1308 depends on UART8_ENABLE
1309
1310config UART8_BAUD_115200
1311 bool "115200"
1312config UART8_BAUD_57600
1313 bool "57600"
1314config UART8_BAUD_38400
1315 bool "38400"
1316config UART8_BAUD_19200
1317 bool "19200"
1318config UART8_BAUD_9600
1319 bool "9600"
1320
1321endchoice
1322
1323config 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
1334config UART9_ENABLE
1335 bool "UART9 Enable"
1336 default n
1337
1338choice
1339 prompt "UART9 I/O port"
1340 default UART9_IO_PORT_OTHER
1341 depends on UART9_ENABLE
1342
1343config UART9_IO_PORT_3F8
1344 bool "0x3f8, COM1"
1345config UART9_IO_PORT_2F8
1346 bool "0x2f8, COM2"
1347config UART9_IO_PORT_3E8
1348 bool "0x3e8, COM3"
1349config UART9_IO_PORT_2E8
1350 bool "0x2e8, COM4"
1351config UART9_IO_PORT_OTHER
1352 bool "Other"
1353
1354endchoice
1355
1356config UART9_IO_PORT_OTHER_INPUT
1357 hex "UART9 I/O port"
1358 depends on UART9_ENABLE && UART9_IO_PORT_OTHER
1359
1360config 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
1369choice
1370 prompt "UART9 IRQ"
1371 default UART9_IRQ_DISABLE
1372 depends on UART9_ENABLE
1373
1374config UART9_IRQ_DISABLE
1375 bool "Disable"
1376config UART9_IRQ3
1377 bool "IRQ3, COM2"
1378config UART9_IRQ4
1379 bool "IRQ4, COM1"
1380config UART9_IRQ5
1381 bool "IRQ5"
1382config UART9_IRQ6
1383 bool "IRQ6"
1384config UART9_IRQ7
1385 bool "IRQ7"
1386config UART9_IRQ9
1387 bool "IRQ9"
1388config UART9_IRQ10
1389 bool "IRQ10, COM3"
1390config UART9_IRQ11
1391 bool "IRQ11, COM4"
1392config UART9_IRQ12
1393 bool "IRQ12"
1394config UART9_IRQ14
1395 bool "IRQ14"
1396config UART9_IRQ15
1397 bool "IRQ15"
1398
1399endchoice
1400
1401config 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
1417choice
1418 prompt "UART9 Baud rate"
1419 default UART9_BAUD_115200
1420 depends on UART9_ENABLE
1421
1422config UART9_BAUD_115200
1423 bool "115200"
1424config UART9_BAUD_57600
1425 bool "57600"
1426config UART9_BAUD_38400
1427 bool "38400"
1428config UART9_BAUD_19200
1429 bool "19200"
1430config UART9_BAUD_9600
1431 bool "9600"
1432
1433endchoice
1434
1435config 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
1446config UART10_ENABLE
1447 bool "UART10 Enable"
1448 default n
1449
1450choice
1451 prompt "UART10 I/O port"
1452 default UART10_IO_PORT_OTHER
1453 depends on UART10_ENABLE
1454
1455config UART10_IO_PORT_3F8
1456 bool "0x3f8, COM1"
1457config UART10_IO_PORT_2F8
1458 bool "0x2f8, COM2"
1459config UART10_IO_PORT_3E8
1460 bool "0x3e8, COM3"
1461config UART10_IO_PORT_2E8
1462 bool "0x2e8, COM4"
1463config UART10_IO_PORT_OTHER
1464 bool "Other"
1465
1466endchoice
1467
1468config UART10_IO_PORT_OTHER_INPUT
1469 hex "UART10 I/O port"
1470 depends on UART10_ENABLE && UART10_IO_PORT_OTHER
1471
1472config 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
1481choice
1482 prompt "UART10 IRQ"
1483 default UART10_IRQ_DISABLE
1484 depends on UART10_ENABLE
1485
1486config UART10_IRQ_DISABLE
1487 bool "Disable"
1488config UART10_IRQ3
1489 bool "IRQ3, COM2"
1490config UART10_IRQ4
1491 bool "IRQ4, COM1"
1492config UART10_IRQ5
1493 bool "IRQ5"
1494config UART10_IRQ6
1495 bool "IRQ6"
1496config UART10_IRQ7
1497 bool "IRQ7"
1498config UART10_IRQ9
1499 bool "IRQ9"
1500config UART10_IRQ10
1501 bool "IRQ10, COM3"
1502config UART10_IRQ11
1503 bool "IRQ11, COM4"
1504config UART10_IRQ12
1505 bool "IRQ12"
1506config UART10_IRQ14
1507 bool "IRQ14"
1508config UART10_IRQ15
1509 bool "IRQ15"
1510
1511endchoice
1512
1513config 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
1529choice
1530 prompt "UART10 Baud rate"
1531 default UART10_BAUD_115200
1532 depends on UART10_ENABLE
1533
1534config UART10_BAUD_115200
1535 bool "115200"
1536config UART10_BAUD_57600
1537 bool "57600"
1538config UART10_BAUD_38400
1539 bool "38400"
1540config UART10_BAUD_19200
1541 bool "19200"
1542config UART10_BAUD_9600
1543 bool "9600"
1544
1545endchoice
1546
1547config 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
1557endmenu
1558
1559# LPT setting :
1560menu "LPT setting"
1561
1562# Begin of LPT
1563config LPT_ENABLE
1564 bool "LPT Enable"
1565 default n
1566
1567choice
1568 prompt "LPT I/O port"
1569 default LPT_IO_PORT_278
1570 depends on LPT_ENABLE
1571
1572config LPT_IO_PORT_378
1573 bool "0x378, LPT1"
1574config LPT_IO_PORT_278
1575 bool "0x278, LPT2"
1576config LPT_IO_PORT_OTHER
1577 bool "Other"
1578
1579endchoice
1580
1581config LPT_IO_PORT_OTHER_INPUT
1582 hex "LPT I/O port"
1583 depends on LPT_ENABLE && LPT_IO_PORT_OTHER
1584
1585config 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
1592choice
1593 prompt "LPT IRQ"
1594 default LPT_IRQ_DISABLE
1595 depends on LPT_ENABLE
1596
1597config LPT_IRQ_DISABLE
1598 bool "Disable"
1599config LPT_IRQ3
1600 bool "IRQ3"
1601config LPT_IRQ4
1602 bool "IRQ4"
1603config LPT_IRQ5
1604 bool "IRQ5"
1605config LPT_IRQ6
1606 bool "IRQ6"
1607config LPT_IRQ7
1608 bool "IRQ7"
1609config LPT_IRQ9
1610 bool "IRQ9"
1611config LPT_IRQ10
1612 bool "IRQ10"
1613config LPT_IRQ11
1614 bool "IRQ11"
1615config LPT_IRQ12
1616 bool "IRQ12"
1617config LPT_IRQ14
1618 bool "IRQ14"
1619config LPT_IRQ15
1620 bool "IRQ15"
1621
1622endchoice
1623
1624config 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
1640choice
1641 prompt "LPT Mode Setting"
1642 default LPT_MODE_SPP
1643 depends on LPT_ENABLE
1644
1645config LPT_MODE_BPP
1646 bool "BPP mode"
1647config LPT_MODE_EPP_19_AND_SPP
1648 bool "EPP 1.9 and SPP mode"
1649config LPT_MODE_ECP
1650 bool "ECP Mode"
1651config LPT_MODE_ECP_AND_EPP_19
1652 bool "ECP and EPP 1.9 mode"
1653config LPT_MODE_SPP
1654 bool "SPP Mode"
1655config LPT_MODE_EPP_17_AND_SPP
1656 bool "EPP 1.7 and SPP mode"
1657config LPT_MODE_ECP_AND_EPP_17
1658 bool "ECP and EPP 1.7 mode"
1659
1660endchoice
1661
1662# end of LPT
1663
1664endmenu
1665
1666endif # BOARD_DMP_EX