0d84d5f3575e7e7e3ed5cd25ef1709ceac295eed
[coreboot.git] / src / mainboard / via / vt8454c / Options.lb
1 ##
2 ## This file is part of the coreboot project.
3 ##
4 ## Copyright (C) 2007-2009 coresystems GmbH
5 ##
6 ## This program is free software; you can redistribute it and/or
7 ## modify it under the terms of the GNU General Public License as
8 ## published by the Free Software Foundation; version 2 of
9 ## the License.
10 ##
11 ## This program is distributed in the hope that it will be useful,
12 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
13 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 ## GNU General Public License for more details.
15 ##
16 ## You should have received a copy of the GNU General Public License
17 ## along with this program; if not, write to the Free Software
18 ## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
19 ## MA 02110-1301 USA
20 ##
21
22 uses CONFIG_GENERATE_MP_TABLE
23 uses CONFIG_GENERATE_PIRQ_TABLE
24 uses CONFIG_IRQ_SLOT_COUNT
25 uses CONFIG_GENERATE_ACPI_TABLES
26 uses CONFIG_HAVE_OPTION_TABLE
27 uses CONFIG_USE_OPTION_TABLE
28 uses CONFIG_HAVE_LOW_TABLES
29
30 uses CONFIG_USE_FALLBACK_IMAGE
31 uses CONFIG_HAVE_FALLBACK_BOOT
32 uses CONFIG_HAVE_HARD_RESET
33 uses CONFIG_MAINBOARD
34 uses CONFIG_MAINBOARD_VENDOR
35 uses CONFIG_MAINBOARD_PART_NUMBER
36 uses COREBOOT_EXTRA_VERSION
37 uses CONFIG_ARCH
38 uses CONFIG_FALLBACK_SIZE
39 uses CONFIG_STACK_SIZE
40 uses CONFIG_HEAP_SIZE
41 uses CONFIG_ROM_SIZE
42 uses CONFIG_ROM_SECTION_SIZE
43 uses CONFIG_ROM_IMAGE_SIZE
44 uses CONFIG_ROM_SECTION_SIZE
45 uses CONFIG_ROM_SECTION_OFFSET
46
47 uses CONFIG_COMPRESS
48 uses CONFIG_ROM_PAYLOAD
49 uses CONFIG_COMPRESSED_PAYLOAD_NRV2B
50 uses CONFIG_COMPRESSED_PAYLOAD_LZMA
51
52 uses CONFIG_ROMBASE
53 uses CONFIG_RAMBASE
54 uses CONFIG_XIP_ROM_SIZE
55 uses CONFIG_XIP_ROM_BASE
56
57 # compiler specifics
58 uses CONFIG_CROSS_COMPILE
59 uses CC
60 uses HOSTCC
61 uses CONFIG_OBJCOPY
62
63 # Console specifics
64 uses CONFIG_DEFAULT_CONSOLE_LOGLEVEL
65 uses CONFIG_MAXIMUM_CONSOLE_LOGLEVEL
66 uses CONFIG_CONSOLE_SERIAL8250
67 uses CONFIG_TTYS0_BAUD
68 uses CONFIG_TTYS0_BASE
69 uses CONFIG_TTYS0_LCS
70
71 uses CONFIG_UDELAY_TSC
72 uses CONFIG_TSC_X86RDTSC_CALIBRATE_WITH_TIMER2
73 uses CONFIG_PCI_ROM_RUN
74 uses CONFIG_CONSOLE_VGA
75 uses CONFIG_MAX_PCI_BUSES 
76 uses CONFIG_SMP
77 uses CONFIG_IOAPIC
78
79 uses CONFIG_GDB_STUB
80
81 uses CONFIG_USE_DCACHE_RAM
82 uses CONFIG_DCACHE_RAM_BASE
83 uses CONFIG_DCACHE_RAM_SIZE
84 uses CONFIG_USE_PRINTK_IN_CAR
85
86 ## CONFIG_ROM_SIZE is the size of boot ROM that this board will use.
87 default CONFIG_ROM_SIZE  = 256*1024
88
89 default CONFIG_USE_DCACHE_RAM=1
90 default CONFIG_DCACHE_RAM_BASE=0xffef0000
91 #default CONFIG_DCACHE_RAM_BASE=0xffbf0000
92 #default CONFIG_DCACHE_RAM_BASE=0xfec00000
93 default CONFIG_DCACHE_RAM_SIZE=0x8000
94 default CONFIG_USE_PRINTK_IN_CAR=1
95
96 ###
97 ### Leave this to 0; VGA is handled by seperate code.
98 ###
99 default CONFIG_PCI_ROM_RUN=0
100 default CONFIG_CONSOLE_VGA=0
101
102 ##
103 ## Build code for the fallback boot
104 ##
105 default CONFIG_HAVE_FALLBACK_BOOT=1
106
107 ##
108 ## Use TSC for udelay.
109 ##
110 default CONFIG_UDELAY_TSC=1
111 default CONFIG_TSC_X86RDTSC_CALIBRATE_WITH_TIMER2=1
112
113 ##
114 ## Build code to reset the motherboard from linuxBIOS
115 ##
116 default CONFIG_HAVE_HARD_RESET=1
117
118 ##
119 ## Build code to export a programmable irq routing table
120 ##
121 default CONFIG_GENERATE_PIRQ_TABLE=1
122 default CONFIG_IRQ_SLOT_COUNT=15
123
124 ##
125 ## Build code to export an x86 MP table
126 ## Useful for specifying IRQ routing values
127 ##
128 default CONFIG_GENERATE_MP_TABLE=1
129
130 ##
131 ## Build code to load acpi tables
132 ##
133 default CONFIG_GENERATE_ACPI_TABLES=1
134
135 ##
136 ## Build code to export a CMOS option table
137 ##
138 default CONFIG_HAVE_OPTION_TABLE=1
139
140 ##
141 ## Build code to fill in tables both in low and high memory
142 ##
143 default CONFIG_HAVE_LOW_TABLES=1
144
145
146 ##
147 ## Build code to setup a generic IOAPIC
148 ##
149 default CONFIG_SMP=1
150 default CONFIG_IOAPIC=1
151
152 ###
153 ### LinuxBIOS layout values
154 ###
155
156 ## CONFIG_ROM_IMAGE_SIZE is the amount of space to allow linuxBIOS to occupy.
157 default CONFIG_ROM_IMAGE_SIZE = 65536
158 default CONFIG_FALLBACK_SIZE = CONFIG_ROM_IMAGE_SIZE
159
160 ##
161 ## Use a small 8K stack
162 ##
163 default CONFIG_STACK_SIZE=0x2000
164
165 ##
166 ## Use a small 16K heap
167 ##
168 default CONFIG_HEAP_SIZE=0x4000
169
170 ##
171 ## Only use the option table in a normal image
172 ##
173 #default CONFIG_USE_OPTION_TABLE = !CONFIG_USE_FALLBACK_IMAGE
174 default CONFIG_USE_OPTION_TABLE = 0
175
176 default CONFIG_RAMBASE = 0x00004000
177
178 default CONFIG_ROM_PAYLOAD     = 1
179
180 ##
181 ## The default compiler
182 ##
183 default CONFIG_CROSS_COMPILE=""
184 default CC="$(CONFIG_CROSS_COMPILE)gcc -m32"
185 default HOSTCC="gcc"
186
187 ##
188 ## Set this to the max PCI bus number you 
189 ## would ever use for PCI config IO.
190 ## Setting this number very high will make 
191 ## pci_locate_device take a long time when
192 ## it can't find a device.
193 ##
194 default CONFIG_MAX_PCI_BUSES = 0x80
195
196 ##
197 ## Disable the gdb stub by default
198 ## 
199 default CONFIG_GDB_STUB=0
200
201 ##
202 ## The Serial Console
203 ##
204
205 # To Enable the Serial Console
206 default CONFIG_CONSOLE_SERIAL8250=1
207
208 ## Select the serial console baud rate
209 default CONFIG_TTYS0_BAUD=115200
210 #default CONFIG_TTYS0_BAUD=57600
211 #default CONFIG_TTYS0_BAUD=38400
212 #default CONFIG_TTYS0_BAUD=19200
213 #default CONFIG_TTYS0_BAUD=9600
214 #default CONFIG_TTYS0_BAUD=4800
215 #default CONFIG_TTYS0_BAUD=2400
216 #default CONFIG_TTYS0_BAUD=1200
217
218 # Select the serial console base port
219 default CONFIG_TTYS0_BASE=0x3f8
220
221 # Select the serial protocol
222 # This defaults to 8 data bits, 1 stop bit, and no parity
223 default CONFIG_TTYS0_LCS=0x3
224
225 ##
226 ## Select the coreboot loglevel
227 ##
228 ## EMERG      1   system is unusable               
229 ## ALERT      2   action must be taken immediately 
230 ## CRIT       3   critical conditions              
231 ## ERR        4   error conditions                 
232 ## WARNING    5   warning conditions               
233 ## NOTICE     6   normal but significant condition 
234 ## INFO       7   informational                    
235 ## CONFIG_DEBUG      8   debug-level messages             
236 ## SPEW       9   Way too many details             
237
238 ## Request this level of debugging output
239 default  CONFIG_DEFAULT_CONSOLE_LOGLEVEL=5
240 ## At a maximum only compile in this level of debugging
241 default  CONFIG_MAXIMUM_CONSOLE_LOGLEVEL=5
242 end
243