1.
[coreboot.git] / payloads / libpayload / Config.in
1 ##
2 ## This file is part of the libpayload project.
3 ##
4 ## Copyright (C) 2008 Advanced Micro Devices, Inc.
5 ## Copyright (C) 2008 coresystems GmbH
6 ##
7 ## Redistribution and use in source and binary forms, with or without
8 ## modification, are permitted provided that the following conditions
9 ## are met:
10 ## 1. Redistributions of source code must retain the above copyright
11 ##    notice, this list of conditions and the following disclaimer.
12 ## 2. Redistributions in binary form must reproduce the above copyright
13 ##    notice, this list of conditions and the following disclaimer in the
14 ##    documentation and/or other materials provided with the distribution.
15 ## 3. The name of the author may not be used to endorse or promote products
16 ##    derived from this software without specific prior written permission.
17 ##
18 ## THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
19 ## ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
20 ## IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
21 ## ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
22 ## FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
23 ## DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
24 ## OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
25 ## HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
26 ## LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
27 ## OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
28 ## SUCH DAMAGE.
29 ##
30
31 mainmenu "Libpayload Configuration"
32
33 # When (if) we support multiple architectures, this will become an option.
34 config TARGET_I386
35         bool
36         default y
37
38 menu "Standard Libraries"
39
40 config LIBC
41         bool "Enable C library support"
42         default y
43
44 config TINYCURSES
45         bool "Enable tinycurses support"
46         default y
47
48 endmenu
49
50 menu "Console Options"
51
52 config SERIAL_CONSOLE
53         bool "See output on the serial port console"
54         default y
55
56 config SERIAL_IOBASE
57         hex "I/O base for the serial port (default 0x3f8)"
58         depends on SERIAL_CONSOLE
59         default 0x3f8
60
61 config SERIAL_SET_SPEED
62         bool "Override the serial console baud rate"
63         default n
64         depends on SERIAL_CONSOLE
65
66 config SERIAL_BAUD_RATE
67         int "Serial console baud rate (default 115200)"
68         depends on SERIAL_SET_SPEED
69         default 115200
70
71 config SERIAL_ACS_FALLBACK
72         bool "Use plain ASCII characters for ACS"
73         default n
74         depends on SERIAL_CONSOLE
75         help
76           The alternate character set (ACS) is used for drawing lines and
77           displaying a couple of other special graphics characters.  The
78           ACS characters generally look good on screen, but can be difficult
79           to cut and paste from a terminal window to a text editor.
80         
81           Say 'y' here if you want to always use plain ASCII characters to
82           approximate the appearance of ACS characters on the serial port 
83           console.
84
85 config VIDEO_CONSOLE
86         bool "See output on a video console"
87         default y
88
89 config VGA_VIDEO_CONSOLE
90         bool "VGA video console driver"
91         depends on VIDEO_CONSOLE
92         default y
93
94 config GEODE_VIDEO_CONSOLE
95         bool "Geode video console driver"
96         depends on VIDEO_CONSOLE
97         default n
98
99 config PC_KEYBOARD
100         bool "Allow input from a PC keyboard"
101         default y
102
103 endmenu
104
105 menu "Drivers"
106
107 config PCI
108         bool "Support for PCI devices"
109         default y
110
111 config NVRAM
112         bool "Support for reading/writing NVRAM bytes"
113         default y
114
115 config RTC_PORT_EXTENDED_VIA
116         bool "Extended RTC ports are 0x74/0x75"
117         default n
118         help
119           For recent chipsets with 256 NVRAM bytes, you have to access the
120           upper 128 bytes (128-255) using two different I/O ports,
121           usually 0x72/0x73.
122         
123           On some chipsets this can be a different set of ports, though.
124           The VIA VT8237R for example only recognizes the ports 0x74/0x75
125           for accessing the high 128 NVRAM bytes (as seems to be the case for
126           multiple VIA chipsets).
127         
128           If you want to read or write CMOS bytes on computers with one of
129           these chipsets, say 'y' here.
130
131 config SPEAKER
132         bool "Support for PC speaker"
133         default y
134
135 config USB
136         bool "USB Support"
137         default n
138
139 config USB_UHCI
140         bool "Support for USB UHCI controllers"
141         depends on USB
142         help
143           Select this option if you are going to use USB 1.1 on an Intel based
144           system.
145
146 config USB_OHCI
147         bool "Support for USB OHCI controllers"
148         depends on USB
149         help
150           Select this option if you are going to use USB 1.1 on an AMD based
151           system.
152           NOTE: This option is not (fully) implemented yet
153
154 config USB_EHCI
155         bool "Support for USB EHCI controllers"
156         depends on USB
157         help
158           Select this option if you want to use USB 2.0
159           NOTE: This option is not (fully) implemented yet
160
161 config USB_HID
162         bool "Support for USB keyboards (broken)"
163         depends on USB
164         default n
165
166 config USB_HUB
167         bool "Support for USB hubs (broken)"
168         depends on USB
169         default n
170
171 config USB_MSC
172         bool "Support for USB storage"
173         depends on USB
174
175
176 endmenu
177