Add coreboot framebuffer support to libpayload
[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 menu "Architecture Options"
34
35 choice
36         prompt "Target Architecture"
37         default TARGET_I386
38
39 config TARGET_I386
40         bool "x86"
41         help
42           Support the x86 architecture
43
44 config TARGET_POWERPC
45         bool "PowerPC"
46         help
47           Support the PowerPC architecture
48
49 endchoice
50
51 config MULTIBOOT
52         bool "Multiboot header support"
53         depends on TARGET_I386
54         default y
55
56 endmenu
57
58 menu "Standard Libraries"
59
60 config LIBC
61         bool "Enable C library support"
62         default y
63
64 config TINYCURSES
65         bool "Enable tinycurses support"
66         default y
67
68 endmenu
69
70 menu "Console Options"
71
72 config SERIAL_CONSOLE
73         bool "See output on the serial port console"
74         default y
75
76 config SERIAL_IOBASE
77         hex "I/O base for the serial port (default 0x3f8)"
78         depends on SERIAL_CONSOLE
79         default 0x3f8
80
81 config SERIAL_SET_SPEED
82         bool "Override the serial console baud rate"
83         default n
84         depends on SERIAL_CONSOLE
85
86 config SERIAL_BAUD_RATE
87         int "Serial console baud rate (default 115200)"
88         depends on SERIAL_SET_SPEED
89         default 115200
90
91 config SERIAL_ACS_FALLBACK
92         bool "Use plain ASCII characters for ACS"
93         default n
94         depends on SERIAL_CONSOLE
95         help
96           The alternate character set (ACS) is used for drawing lines and
97           displaying a couple of other special graphics characters.  The
98           ACS characters generally look good on screen, but can be difficult
99           to cut and paste from a terminal window to a text editor.
100         
101           Say 'y' here if you want to always use plain ASCII characters to
102           approximate the appearance of ACS characters on the serial port 
103           console.
104
105 config VIDEO_CONSOLE
106         bool "See output on a video console"
107         default y
108
109 config VGA_VIDEO_CONSOLE
110         bool "VGA video console driver"
111         depends on VIDEO_CONSOLE
112         default y
113
114 config GEODELX_VIDEO_CONSOLE
115         bool "Geode LX video console driver"
116         depends on VIDEO_CONSOLE
117         default n
118
119 config COREBOOT_VIDEO_CONSOLE
120         bool "coreboot video console driver"
121         depends on VIDEO_CONSOLE && !GEODELX_VIDEO_CONSOLE
122         default n
123         help
124           Say Y here if coreboot switched to a graphics mode and
125           your payload wants to use it.
126
127 config PC_KEYBOARD
128         bool "Allow input from a PC keyboard"
129         default y
130
131 config PC_KEYBOARD_LAYOUT_US
132         bool "English (US) keyboard layout"
133         depends on PC_KEYBOARD
134         default y
135
136 config PC_KEYBOARD_LAYOUT_DE
137         bool "German keyboard layout"
138         depends on PC_KEYBOARD
139         default n
140
141 endmenu
142
143 menu "Drivers"
144
145 config PCI
146         bool "Support for PCI devices"
147         default y
148
149 config NVRAM
150         bool "Support for reading/writing NVRAM bytes"
151         default y
152
153 config RTC_PORT_EXTENDED_VIA
154         bool "Extended RTC ports are 0x74/0x75"
155         default n
156         help
157           For recent chipsets with 256 NVRAM bytes, you have to access the
158           upper 128 bytes (128-255) using two different I/O ports,
159           usually 0x72/0x73.
160         
161           On some chipsets this can be a different set of ports, though.
162           The VIA VT8237R for example only recognizes the ports 0x74/0x75
163           for accessing the high 128 NVRAM bytes (as seems to be the case for
164           multiple VIA chipsets).
165         
166           If you want to read or write CMOS bytes on computers with one of
167           these chipsets, say 'y' here.
168
169 config SPEAKER
170         bool "Support for PC speaker"
171         default y
172
173 config USB
174         bool "USB Support"
175         default n
176
177 config USB_UHCI
178         bool "Support for USB UHCI controllers"
179         depends on USB
180         help
181           Select this option if you are going to use USB 1.1 on an Intel based
182           system.
183
184 config USB_OHCI
185         bool "Support for USB OHCI controllers"
186         depends on USB
187         help
188           Select this option if you are going to use USB 1.1 on an AMD based
189           system.
190           NOTE: This option is not (fully) implemented yet
191
192 config USB_EHCI
193         bool "Support for USB EHCI controllers"
194         depends on USB
195         help
196           Select this option if you want to use USB 2.0
197           NOTE: This option is not (fully) implemented yet
198
199 config USB_HID
200         bool "Support for USB keyboards (broken)"
201         depends on USB
202         default n
203
204 config USB_HUB
205         bool "Support for USB hubs (broken)"
206         depends on USB
207         default n
208
209 config USB_MSC
210         bool "Support for USB storage"
211         depends on USB
212
213
214 endmenu
215