libpayload: The initial chunk of code writen by AMD
[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 #
6 # Redistribution and use in source and binary forms, with or without
7 # modification, are permitted provided that the following conditions
8 # are met:
9 # 1. Redistributions of source code must retain the above copyright
10 #    notice, this list of conditions and the following disclaimer.
11 # 2. Redistributions in binary form must reproduce the above copyright
12 #    notice, this list of conditions and the following disclaimer in the
13 #    documentation and/or other materials provided with the distribution.
14 # 3. The name of the author may not be used to endorse or promote products
15 #    derived from this software without specific prior written permission.
16 #
17 # THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
18 # ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
19 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
20 # ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
21 # FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22 # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23 # OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24 # HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25 # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26 # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 # SUCH DAMAGE.
28 #
29
30 mainmenu "Libpayload Configuration"
31
32 config HAVE_DOT_CONFIG
33         bool
34         default y
35
36 # When (if) we support multiple architectures,
37 # then this will become an option
38
39 config TARGET_I386
40        bool
41        default y
42
43 menu "Output Options"
44      
45 config SERIAL_CONSOLE
46        bool "See output on the serial port console"
47        default y
48
49 config SERIAL_IOBASE
50        hex "I/O base for the serial port (default 0x3f8)"
51        depends SERIAL_CONSOLE
52        default 0x3f8
53        
54 config SERIAL_SET_SPEED
55         bool "Override the serial console baud rate"
56         default n
57         depends SERIAL_CONSOLE
58
59 config SERIAL_BAUD_RATE
60         int "Serial console baud rate (default 115200)"
61         depends SERIAL_SET_SPEED
62         default 115200
63
64 config VGA_CONSOLE      
65        bool "See output on a VGA console"
66        default y
67
68 config PC_KEYBOARD
69        bool "Allow input from a PC keyboard"
70        depends VGA_CONSOLE
71        default y
72
73 endmenu
74
75 menu "Build Options"
76
77 config TINYCURSES
78        bool "Enable tinycurses support"
79        default y
80
81 endmenu