This change adds PPC support to libpayload, and hooks it up in the build
[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 PC_KEYBOARD
120         bool "Allow input from a PC keyboard"
121         default y
122
123 config PC_KEYBOARD_LAYOUT_US
124         bool "English (US) keyboard layout"
125         depends on PC_KEYBOARD
126         default y
127
128 config PC_KEYBOARD_LAYOUT_DE
129         bool "German keyboard layout"
130         depends on PC_KEYBOARD
131         default n
132
133 endmenu
134
135 menu "Drivers"
136
137 config PCI
138         bool "Support for PCI devices"
139         default y
140
141 config NVRAM
142         bool "Support for reading/writing NVRAM bytes"
143         default y
144
145 config RTC_PORT_EXTENDED_VIA
146         bool "Extended RTC ports are 0x74/0x75"
147         default n
148         help
149           For recent chipsets with 256 NVRAM bytes, you have to access the
150           upper 128 bytes (128-255) using two different I/O ports,
151           usually 0x72/0x73.
152         
153           On some chipsets this can be a different set of ports, though.
154           The VIA VT8237R for example only recognizes the ports 0x74/0x75
155           for accessing the high 128 NVRAM bytes (as seems to be the case for
156           multiple VIA chipsets).
157         
158           If you want to read or write CMOS bytes on computers with one of
159           these chipsets, say 'y' here.
160
161 config SPEAKER
162         bool "Support for PC speaker"
163         default y
164
165 config USB
166         bool "USB Support"
167         default n
168
169 config USB_UHCI
170         bool "Support for USB UHCI controllers"
171         depends on USB
172         help
173           Select this option if you are going to use USB 1.1 on an Intel based
174           system.
175
176 config USB_OHCI
177         bool "Support for USB OHCI controllers"
178         depends on USB
179         help
180           Select this option if you are going to use USB 1.1 on an AMD based
181           system.
182           NOTE: This option is not (fully) implemented yet
183
184 config USB_EHCI
185         bool "Support for USB EHCI controllers"
186         depends on USB
187         help
188           Select this option if you want to use USB 2.0
189           NOTE: This option is not (fully) implemented yet
190
191 config USB_HID
192         bool "Support for USB keyboards (broken)"
193         depends on USB
194         default n
195
196 config USB_HUB
197         bool "Support for USB hubs (broken)"
198         depends on USB
199         default n
200
201 config USB_MSC
202         bool "Support for USB storage"
203         depends on USB
204
205
206 endmenu
207