Fix configuration of boards that didn't have uses CONFIG_USE_INIT. Trivial.
[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 HAVE_MP_TABLE
23 uses HAVE_PIRQ_TABLE
24 uses IRQ_SLOT_COUNT
25 uses HAVE_ACPI_TABLES
26 uses HAVE_OPTION_TABLE
27 uses USE_OPTION_TABLE
28 uses HAVE_LOW_TABLES
29
30 uses USE_FALLBACK_IMAGE
31 uses HAVE_FALLBACK_BOOT
32 uses HAVE_HARD_RESET
33 uses MAINBOARD
34 uses MAINBOARD_VENDOR
35 uses MAINBOARD_PART_NUMBER
36 uses COREBOOT_EXTRA_VERSION
37 uses ARCH
38 uses FALLBACK_SIZE
39 uses STACK_SIZE
40 uses HEAP_SIZE
41 uses ROM_SIZE
42 uses ROM_SECTION_SIZE
43 uses ROM_IMAGE_SIZE
44 uses ROM_SECTION_SIZE
45 uses ROM_SECTION_OFFSET
46
47 uses CONFIG_COMPRESS
48 uses CONFIG_ROM_PAYLOAD
49 uses CONFIG_ROM_PAYLOAD_START
50 uses CONFIG_COMPRESSED_PAYLOAD_NRV2B
51 uses CONFIG_COMPRESSED_PAYLOAD_LZMA
52 uses PAYLOAD_SIZE
53
54 uses _ROMBASE
55 uses _RAMBASE
56 uses XIP_ROM_SIZE
57 uses XIP_ROM_BASE
58 uses CONFIG_CBFS
59 uses CONFIG_USE_INIT
60
61 # compiler specifics
62 uses CROSS_COMPILE
63 uses CC
64 uses HOSTCC
65 uses OBJCOPY
66
67 # Console specifics
68 uses DEFAULT_CONSOLE_LOGLEVEL
69 uses MAXIMUM_CONSOLE_LOGLEVEL
70 uses CONFIG_CONSOLE_SERIAL8250
71 uses TTYS0_BAUD
72 uses TTYS0_BASE
73 uses TTYS0_LCS
74
75 uses CONFIG_UDELAY_TSC
76 uses CONFIG_TSC_X86RDTSC_CALIBRATE_WITH_TIMER2
77 uses CONFIG_PCI_ROM_RUN
78 uses CONFIG_CONSOLE_VGA
79 uses CONFIG_MAX_PCI_BUSES 
80 uses CONFIG_SMP
81 uses CONFIG_IOAPIC
82
83 uses CONFIG_GDB_STUB
84
85 uses USE_DCACHE_RAM
86 uses DCACHE_RAM_BASE
87 uses DCACHE_RAM_SIZE
88 uses CONFIG_USE_PRINTK_IN_CAR
89
90 ## ROM_SIZE is the size of boot ROM that this board will use.
91 default ROM_SIZE  = 256*1024
92
93 default USE_DCACHE_RAM=1
94 default DCACHE_RAM_BASE=0xffef0000
95 #default DCACHE_RAM_BASE=0xffbf0000
96 #default DCACHE_RAM_BASE=0xfec00000
97 default DCACHE_RAM_SIZE=0x8000
98 default CONFIG_USE_PRINTK_IN_CAR=1
99
100 ###
101 ### Leave this to 0; VGA is handled by seperate code.
102 ###
103 default CONFIG_PCI_ROM_RUN=0
104 default CONFIG_CONSOLE_VGA=0
105
106 ##
107 ## Build code for the fallback boot
108 ##
109 default HAVE_FALLBACK_BOOT=1
110
111 ##
112 ## Use TSC for udelay.
113 ##
114 default CONFIG_UDELAY_TSC=1
115 default CONFIG_TSC_X86RDTSC_CALIBRATE_WITH_TIMER2=1
116
117 ##
118 ## Build code to reset the motherboard from linuxBIOS
119 ##
120 default HAVE_HARD_RESET=1
121
122 ##
123 ## Build code to export a programmable irq routing table
124 ##
125 default HAVE_PIRQ_TABLE=1
126 default IRQ_SLOT_COUNT=15
127
128 ##
129 ## Build code to export an x86 MP table
130 ## Useful for specifying IRQ routing values
131 ##
132 default HAVE_MP_TABLE=1
133
134 ##
135 ## Build code to load acpi tables
136 ##
137 default HAVE_ACPI_TABLES=1
138
139 ##
140 ## Build code to export a CMOS option table
141 ##
142 default HAVE_OPTION_TABLE=1
143
144 ##
145 ## Build code to fill in tables both in low and high memory
146 ##
147 default HAVE_LOW_TABLES=1
148
149
150 ##
151 ## Build code to setup a generic IOAPIC
152 ##
153 default CONFIG_SMP=1
154 default CONFIG_IOAPIC=1
155
156 ###
157 ### LinuxBIOS layout values
158 ###
159
160 ## ROM_IMAGE_SIZE is the amount of space to allow linuxBIOS to occupy.
161 default ROM_IMAGE_SIZE = 65536
162 default FALLBACK_SIZE = ROM_IMAGE_SIZE
163
164 ##
165 ## Use a small 8K stack
166 ##
167 default STACK_SIZE=0x2000
168
169 ##
170 ## Use a small 16K heap
171 ##
172 default HEAP_SIZE=0x4000
173
174 ##
175 ## Only use the option table in a normal image
176 ##
177 #default USE_OPTION_TABLE = !USE_FALLBACK_IMAGE
178 default USE_OPTION_TABLE = 0
179
180 default _RAMBASE = 0x00004000
181
182 default CONFIG_ROM_PAYLOAD     = 1
183
184 ##
185 ## The default compiler
186 ##
187 default CROSS_COMPILE=""
188 default CC="$(CROSS_COMPILE)gcc -m32"
189 default HOSTCC="gcc"
190
191 ##
192 ## Set this to the max PCI bus number you 
193 ## would ever use for PCI config IO.
194 ## Setting this number very high will make 
195 ## pci_locate_device take a long time when
196 ## it can't find a device.
197 ##
198 default CONFIG_MAX_PCI_BUSES = 0x80
199
200 ##
201 ## Disable the gdb stub by default
202 ## 
203 default CONFIG_GDB_STUB=0
204
205 ##
206 ## The Serial Console
207 ##
208
209 # To Enable the Serial Console
210 default CONFIG_CONSOLE_SERIAL8250=1
211
212 ## Select the serial console baud rate
213 default TTYS0_BAUD=115200
214 #default TTYS0_BAUD=57600
215 #default TTYS0_BAUD=38400
216 #default TTYS0_BAUD=19200
217 #default TTYS0_BAUD=9600
218 #default TTYS0_BAUD=4800
219 #default TTYS0_BAUD=2400
220 #default TTYS0_BAUD=1200
221
222 # Select the serial console base port
223 default TTYS0_BASE=0x3f8
224
225 # Select the serial protocol
226 # This defaults to 8 data bits, 1 stop bit, and no parity
227 default TTYS0_LCS=0x3
228
229 ##
230 ## Select the coreboot loglevel
231 ##
232 ## EMERG      1   system is unusable               
233 ## ALERT      2   action must be taken immediately 
234 ## CRIT       3   critical conditions              
235 ## ERR        4   error conditions                 
236 ## WARNING    5   warning conditions               
237 ## NOTICE     6   normal but significant condition 
238 ## INFO       7   informational                    
239 ## DEBUG      8   debug-level messages             
240 ## SPEW       9   Way too many details             
241
242 ## Request this level of debugging output
243 default  DEFAULT_CONSOLE_LOGLEVEL=5
244 ## At a maximum only compile in this level of debugging
245 default  MAXIMUM_CONSOLE_LOGLEVEL=5
246
247 #
248 # CBFS
249
250 default CONFIG_CBFS=1
251
252 end
253