this should get the VIA VT8454c in shape with Kconfig
[coreboot.git] / src / mainboard / kontron / kt690 / Options.lb
1 ##
2 ## This file is part of the coreboot project.
3 ##
4 ## Copyright (C) 2008 Advanced Micro Devices, Inc.
5 ## Copyright (C) 2009 coresystems GmbH
6 ##
7 ## This program is free software; you can redistribute it and/or modify
8 ## it under the terms of the GNU General Public License as published by
9 ## the Free Software Foundation; version 2 of 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, MA  02110-1301 USA
19 ##
20 ##
21 ##
22
23 uses CONFIG_GENERATE_MP_TABLE
24 uses CONFIG_GENERATE_PIRQ_TABLE
25 uses CONFIG_GENERATE_ACPI_TABLES
26 uses CONFIG_HAVE_ACPI_RESUME
27 uses CONFIG_USE_FALLBACK_IMAGE
28 uses CONFIG_HAVE_FALLBACK_BOOT
29 uses CONFIG_HAVE_HARD_RESET
30 uses CONFIG_IRQ_SLOT_COUNT
31 uses CONFIG_HAVE_OPTION_TABLE
32 uses CONFIG_MAX_CPUS
33 uses CONFIG_MAX_PHYSICAL_CPUS
34 uses CONFIG_LOGICAL_CPUS
35 uses CONFIG_IOAPIC
36 uses CONFIG_SMP
37 uses CONFIG_FALLBACK_SIZE
38 uses CONFIG_ROM_SIZE
39 uses CONFIG_ROM_SECTION_SIZE
40 uses CONFIG_ROM_IMAGE_SIZE
41 uses CONFIG_ROM_SECTION_SIZE
42 uses CONFIG_ROM_SECTION_OFFSET
43 uses CONFIG_ROM_PAYLOAD
44 uses CONFIG_COMPRESSED_PAYLOAD_LZMA
45 uses CONFIG_ROMBASE
46 uses CONFIG_XIP_ROM_SIZE
47 uses CONFIG_XIP_ROM_BASE
48 uses CONFIG_STACK_SIZE
49 uses CONFIG_HEAP_SIZE
50 uses CONFIG_USE_OPTION_TABLE
51 uses CONFIG_LB_CKS_RANGE_START
52 uses CONFIG_LB_CKS_RANGE_END
53 uses CONFIG_LB_CKS_LOC
54 uses CONFIG_MAINBOARD_PART_NUMBER
55 uses CONFIG_MAINBOARD_VENDOR
56 uses CONFIG_MAINBOARD
57 uses CONFIG_MAINBOARD_PCI_SUBSYSTEM_VENDOR_ID
58 uses CONFIG_MAINBOARD_PCI_SUBSYSTEM_DEVICE_ID
59 uses COREBOOT_EXTRA_VERSION
60 uses CONFIG_RAMBASE
61 uses CONFIG_TTYS0_BAUD
62 uses CONFIG_TTYS0_BASE
63 uses CONFIG_TTYS0_LCS
64 uses CONFIG_DEFAULT_CONSOLE_LOGLEVEL
65 uses CONFIG_MAXIMUM_CONSOLE_LOGLEVEL
66 uses CONFIG_MAINBOARD_POWER_ON_AFTER_POWER_FAIL
67 uses CONFIG_CONSOLE_SERIAL8250
68 uses CONFIG_HAVE_INIT_TIMER
69 uses CONFIG_GDB_STUB
70 uses CONFIG_GDB_STUB
71 uses CONFIG_CROSS_COMPILE
72 uses CC
73 uses HOSTCC
74 uses CONFIG_OBJCOPY
75 uses CONFIG_CONSOLE_VGA
76 uses CONFIG_PCI_ROM_RUN
77 uses CONFIG_HW_MEM_HOLE_SIZEK
78 uses CONFIG_HT_CHAIN_UNITID_BASE
79 uses CONFIG_HT_CHAIN_END_UNITID_BASE
80 uses CONFIG_SB_HT_CHAIN_ON_BUS0
81
82 uses CONFIG_USE_DCACHE_RAM
83 uses CONFIG_DCACHE_RAM_BASE
84 uses CONFIG_DCACHE_RAM_SIZE
85 uses CONFIG_DCACHE_RAM_GLOBAL_VAR_SIZE
86 uses CONFIG_USE_INIT
87
88 uses CONFIG_SB_HT_CHAIN_UNITID_OFFSET_ONLY
89 uses CONFIG_USE_PRINTK_IN_CAR
90
91 uses CONFIG_VIDEO_MB
92 uses CONFIG_GFXUMA
93 uses CONFIG_HAVE_MAINBOARD_RESOURCES
94
95 ###
96 ### Build options
97 ###
98
99 ##
100 ## CONFIG_ROM_SIZE is the size of boot ROM that this board will use.
101 ##
102 default CONFIG_ROM_SIZE=524288
103
104 ##
105 ## CONFIG_FALLBACK_SIZE is the amount of the ROM the complete fallback image will use
106 ##
107 #default CONFIG_FALLBACK_SIZE = CONFIG_ROM_IMAGE_SIZE
108 #256K
109 default CONFIG_FALLBACK_SIZE = CONFIG_ROM_IMAGE_SIZE
110
111 ##
112 ## Build code for the fallback boot
113 ##
114 default CONFIG_HAVE_FALLBACK_BOOT=1
115
116 ##
117 ## Build code to reset the motherboard from coreboot
118 ##
119 default CONFIG_HAVE_HARD_RESET=1
120
121 ##
122 ## Build code to export a programmable irq routing table
123 ##
124 default CONFIG_GENERATE_PIRQ_TABLE=1
125 default CONFIG_IRQ_SLOT_COUNT=11
126
127 ##
128 ## Build code to export an x86 MP table
129 ## Useful for specifying IRQ routing values
130 ##
131 default CONFIG_GENERATE_MP_TABLE=1
132
133 ## ACPI tables will be included
134 default CONFIG_GENERATE_ACPI_TABLES=1
135
136 ##
137 ## Build code to export a CMOS option table
138 ##
139 default CONFIG_HAVE_OPTION_TABLE=0
140
141 ##
142 ## Move the default coreboot cmos range off of AMD RTC registers
143 ##
144 default CONFIG_LB_CKS_RANGE_START=49
145 default CONFIG_LB_CKS_RANGE_END=122
146 default CONFIG_LB_CKS_LOC=123
147
148 ##
149 ## Build code for SMP support
150 ## Only worry about 2 micro processors
151 ##
152 default CONFIG_SMP=1
153 default CONFIG_MAX_CPUS=2
154
155 default CONFIG_MAX_PHYSICAL_CPUS=1
156 default CONFIG_LOGICAL_CPUS=1
157
158 #1G memory hole
159 default CONFIG_HW_MEM_HOLE_SIZEK=0x100000
160
161 #VGA Console
162 default CONFIG_CONSOLE_VGA=1
163 default CONFIG_PCI_ROM_RUN=1
164
165 # BTDC: Only one HT device on Herring.
166 #HT Unit ID offset
167 #default CONFIG_HT_CHAIN_UNITID_BASE=0x6
168 default CONFIG_HT_CHAIN_UNITID_BASE=0x0
169
170
171 #real SB Unit ID
172 default CONFIG_HT_CHAIN_END_UNITID_BASE=0x1
173
174 #make the SB HT chain on bus 0
175 default CONFIG_SB_HT_CHAIN_ON_BUS0=1
176
177 ##
178 ## enable CACHE_AS_RAM specifics
179 ##
180 default CONFIG_USE_DCACHE_RAM=1
181 default CONFIG_DCACHE_RAM_BASE=0xc8000
182 default CONFIG_DCACHE_RAM_SIZE=0x8000
183 default CONFIG_DCACHE_RAM_GLOBAL_VAR_SIZE=0x01000
184 default CONFIG_USE_INIT=0
185
186 ##
187 ## Build code to setup a generic IOAPIC
188 ##
189 default CONFIG_IOAPIC=1
190
191 ##
192 ## Clean up the motherboard id strings
193 ##
194 default CONFIG_MAINBOARD_PART_NUMBER="KT690"
195 default CONFIG_MAINBOARD_VENDOR="KONTRON"
196 default CONFIG_MAINBOARD_PCI_SUBSYSTEM_VENDOR_ID=0x1488
197 default CONFIG_MAINBOARD_PCI_SUBSYSTEM_DEVICE_ID=0x6900
198
199
200 ###
201 ### coreboot layout values
202 ###
203
204 ## CONFIG_ROM_IMAGE_SIZE is the amount of space to allow coreboot to occupy.
205 default CONFIG_ROM_IMAGE_SIZE = 65536
206
207 ##
208 ## Use a small 32K stack
209 ##
210 default CONFIG_STACK_SIZE=0x8000
211
212 ##
213 ## Use a small 32K heap
214 ##
215 default CONFIG_HEAP_SIZE=0x8000
216
217 ##
218 ## Only use the option table in a normal image
219 ##
220 #default CONFIG_USE_OPTION_TABLE = !CONFIG_USE_FALLBACK_IMAGE
221 default CONFIG_USE_OPTION_TABLE = 0
222
223 ##
224 ## coreboot C code runs at this location in RAM
225 ##
226 default CONFIG_RAMBASE=0x00100000
227
228 ##
229 ## Load the payload from the ROM
230 ##
231 default CONFIG_ROM_PAYLOAD = 1
232
233 ###
234 ### Defaults of options that you may want to override in the target config file
235 ###
236
237 ##
238 ## The default compiler
239 ##
240 default CC="$(CONFIG_CROSS_COMPILE)gcc -m32"
241 default HOSTCC="gcc"
242
243 ##
244 ## Disable the gdb stub by default
245 ##
246 default CONFIG_GDB_STUB=0
247
248
249 default CONFIG_USE_PRINTK_IN_CAR=1
250
251 ##
252 ## The Serial Console
253 ##
254
255 # To Enable the Serial Console
256 default CONFIG_CONSOLE_SERIAL8250=1
257
258 ## Select the serial console baud rate
259 default CONFIG_TTYS0_BAUD=115200
260 #default CONFIG_TTYS0_BAUD=57600
261 #default CONFIG_TTYS0_BAUD=38400
262 #default CONFIG_TTYS0_BAUD=19200
263 #default CONFIG_TTYS0_BAUD=9600
264 #default CONFIG_TTYS0_BAUD=4800
265 #default CONFIG_TTYS0_BAUD=2400
266 #default CONFIG_TTYS0_BAUD=1200
267
268 # Select the serial console base port
269 default CONFIG_TTYS0_BASE=0x3f8
270
271 # Select the serial protocol
272 # This defaults to 8 data bits, 1 stop bit, and no parity
273 default CONFIG_TTYS0_LCS=0x3
274
275 ##
276 ### Select the coreboot loglevel
277 ##
278 ## EMERG      1   system is unusable
279 ## ALERT      2   action must be taken immediately
280 ## CRIT       3   critical conditions
281 ## ERR        4   error conditions
282 ## WARNING    5   warning conditions
283 ## NOTICE     6   normal but significant condition
284 ## INFO       7   informational
285 ## CONFIG_DEBUG      8   debug-level messages
286 ## SPEW       9   Way too many details
287
288 ## Request this level of debugging output
289 default  CONFIG_DEFAULT_CONSOLE_LOGLEVEL=8
290 ## At a maximum only compile in this level of debugging
291 default  CONFIG_MAXIMUM_CONSOLE_LOGLEVEL=8
292
293 ##
294 ## Select power on after power fail setting
295 default CONFIG_MAINBOARD_POWER_ON_AFTER_POWER_FAIL="MAINBOARD_POWER_ON"
296
297 default CONFIG_VIDEO_MB=1
298 default CONFIG_GFXUMA=1
299 default CONFIG_HAVE_MAINBOARD_RESOURCES=1
300
301 end