2 ## This file is part of the coreboot project.
4 ## Copyright (C) 2007 Philipp Degler <pdegler@rumms.uni-mannheim.de>
5 ## (Thanks to LSRA University of Mannheim for their support)
6 ## Copyright (C) 2008 Jonathan A. Kollasch <jakllsch@kollasch.net>
8 ## This program is free software; you can redistribute it and/or modify
9 ## it under the terms of the GNU General Public License as published by
10 ## the Free Software Foundation; either version 2 of the License, or
11 ## (at your option) any later version.
13 ## This program is distributed in the hope that it will be useful,
14 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
15 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 ## GNU General Public License for more details.
18 ## You should have received a copy of the GNU General Public License
19 ## along with this program; if not, write to the Free Software
20 ## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
23 uses CONFIG_GENERATE_MP_TABLE
24 uses CONFIG_GENERATE_PIRQ_TABLE
25 uses CONFIG_USE_FALLBACK_IMAGE
26 uses CONFIG_USE_FAILOVER_IMAGE
27 uses CONFIG_HAVE_FALLBACK_BOOT
28 uses CONFIG_HAVE_FAILOVER_BOOT
29 uses CONFIG_HAVE_HARD_RESET
30 uses CONFIG_IRQ_SLOT_COUNT
31 uses CONFIG_HAVE_OPTION_TABLE
33 uses CONFIG_MAX_PHYSICAL_CPUS
34 uses CONFIG_LOGICAL_CPUS
37 uses CONFIG_FALLBACK_SIZE
38 uses CONFIG_FAILOVER_SIZE
40 uses CONFIG_ROM_SECTION_SIZE
41 uses CONFIG_ROM_IMAGE_SIZE
42 uses CONFIG_ROM_SECTION_SIZE
43 uses CONFIG_ROM_SECTION_OFFSET
44 uses CONFIG_ROM_PAYLOAD
45 uses CONFIG_COMPRESSED_PAYLOAD_LZMA
47 uses CONFIG_XIP_ROM_SIZE
48 uses CONFIG_XIP_ROM_BASE
49 uses CONFIG_STACK_SIZE
51 uses CONFIG_USE_OPTION_TABLE
52 uses CONFIG_LB_CKS_RANGE_START
53 uses CONFIG_LB_CKS_RANGE_END
54 uses CONFIG_LB_CKS_LOC
55 uses CONFIG_MAINBOARD_PART_NUMBER
56 uses CONFIG_MAINBOARD_VENDOR
58 uses CONFIG_MAINBOARD_PCI_SUBSYSTEM_VENDOR_ID
59 uses CONFIG_MAINBOARD_PCI_SUBSYSTEM_DEVICE_ID
60 uses COREBOOT_EXTRA_VERSION
63 uses CONFIG_CROSS_COMPILE
67 uses CONFIG_TTYS0_BAUD
68 uses CONFIG_TTYS0_BASE
70 uses CONFIG_DEFAULT_CONSOLE_LOGLEVEL
71 uses CONFIG_MAXIMUM_CONSOLE_LOGLEVEL
72 uses CONFIG_MAINBOARD_POWER_ON_AFTER_POWER_FAIL
73 uses CONFIG_CONSOLE_SERIAL8250
74 uses CONFIG_CONSOLE_BTEXT
75 uses CONFIG_HAVE_INIT_TIMER
77 uses CONFIG_CONSOLE_VGA
78 uses CONFIG_PCI_ROM_RUN
79 uses CONFIG_HW_MEM_HOLE_SIZEK
81 uses CONFIG_USE_DCACHE_RAM
82 uses CONFIG_DCACHE_RAM_BASE
83 uses CONFIG_DCACHE_RAM_SIZE
85 uses CONFIG_DCACHE_RAM_GLOBAL_VAR_SIZE
86 uses CONFIG_AP_CODE_IN_CAR
87 uses CONFIG_USE_PRINTK_IN_CAR
88 uses CONFIG_MEM_TRAIN_SEQ
89 uses CONFIG_WAIT_BEFORE_CPUS_INIT
91 uses CONFIG_ENABLE_APIC_EXT_ID
92 uses CONFIG_APIC_ID_OFFSET
93 uses CONFIG_LIFT_BSP_APIC_ID
95 uses CONFIG_PCI_64BIT_PREF_MEM
97 uses CONFIG_HT_CHAIN_UNITID_BASE
98 uses CONFIG_HT_CHAIN_END_UNITID_BASE
99 uses CONFIG_SB_HT_CHAIN_ON_BUS0
100 uses CONFIG_SB_HT_CHAIN_UNITID_OFFSET_ONLY
102 uses CONFIG_LB_MEM_TOPK
105 ## CONFIG_ROM_SIZE is the size of boot ROM that this board will use.
107 default CONFIG_ROM_SIZE=(512*1024)
110 ## CONFIG_FALLBACK_SIZE is the amount of the ROM the complete fallback image will use
112 default CONFIG_FALLBACK_SIZE = CONFIG_ROM_IMAGE_SIZE
115 default CONFIG_FAILOVER_SIZE=(4*1024)
122 ## Build code for the fallback boot
124 default CONFIG_HAVE_FALLBACK_BOOT=1
125 default CONFIG_HAVE_FAILOVER_BOOT=1
128 ## Build code to reset the motherboard from coreboot
130 default CONFIG_HAVE_HARD_RESET=1
133 ## Build code to export a programmable irq routing table
135 default CONFIG_GENERATE_PIRQ_TABLE=1
136 default CONFIG_IRQ_SLOT_COUNT=13
139 ## Build code to export an x86 MP table
140 ## Useful for specifying IRQ routing values
142 default CONFIG_GENERATE_MP_TABLE=1
145 ## Build code to export a CMOS option table
147 default CONFIG_HAVE_OPTION_TABLE=1
150 ## Move the default coreboot cmos range off of AMD RTC registers
152 default CONFIG_LB_CKS_RANGE_START=49
153 default CONFIG_LB_CKS_RANGE_END=122
154 default CONFIG_LB_CKS_LOC=123
157 ## Build code for SMP support
158 ## Only worry about 2 micro processors
161 default CONFIG_MAX_CPUS=2
162 default CONFIG_MAX_PHYSICAL_CPUS=1
163 default CONFIG_LOGICAL_CPUS=1
166 default CONFIG_HW_MEM_HOLE_SIZEK=0x100000
168 ##HT Unit ID offset, default is 1, the typical one
169 default CONFIG_HT_CHAIN_UNITID_BASE=0
171 ##real SB Unit ID, default is 0x20, mean dont touch it at last
172 #default CONFIG_HT_CHAIN_END_UNITID_BASE=0x10
174 #make the SB HT chain on bus 0, default is not (0)
175 default CONFIG_SB_HT_CHAIN_ON_BUS0=2
177 ##only offset for SB chain?, default is yes(1)
178 default CONFIG_SB_HT_CHAIN_UNITID_OFFSET_ONLY=0
181 #default CONFIG_CONSOLE_BTEXT=1
184 default CONFIG_CONSOLE_VGA=1
185 default CONFIG_PCI_ROM_RUN=1
188 ## enable CACHE_AS_RAM specifics
190 default CONFIG_USE_DCACHE_RAM=1
191 #default CONFIG_DCACHE_RAM_BASE=0xcf000
192 #default CONFIG_DCACHE_RAM_SIZE=0x1000
193 default CONFIG_DCACHE_RAM_BASE=0xc8000
194 default CONFIG_DCACHE_RAM_SIZE=0x08000
195 default CONFIG_DCACHE_RAM_GLOBAL_VAR_SIZE=0x01000
196 default CONFIG_USE_INIT=0
198 default CONFIG_AP_CODE_IN_CAR=0
199 default CONFIG_MEM_TRAIN_SEQ=2
200 default CONFIG_WAIT_BEFORE_CPUS_INIT=0
203 #default CONFIG_ENABLE_APIC_EXT_ID=0
204 #default CONFIG_APIC_ID_OFFSET=0x10
205 #default CONFIG_LIFT_BSP_APIC_ID=0
208 #default CONFIG_PCI_64BIT_PREF_MEM=1
211 ## Build code to setup a generic IOAPIC
213 default CONFIG_IOAPIC=1
216 ## Clean up the motherboard id strings
218 default CONFIG_MAINBOARD_PART_NUMBER="K8N Neo3 (MS-7135)"
219 default CONFIG_MAINBOARD_VENDOR="MSI"
220 default CONFIG_MAINBOARD_PCI_SUBSYSTEM_VENDOR_ID=0x1462
221 default CONFIG_MAINBOARD_PCI_SUBSYSTEM_DEVICE_ID=0x7135
224 ### coreboot layout values
227 ## CONFIG_ROM_IMAGE_SIZE is the amount of space to allow coreboot to occupy.
228 default CONFIG_ROM_IMAGE_SIZE = (64*1024) - CONFIG_FAILOVER_SIZE
231 ## Use a small 8K stack
233 default CONFIG_STACK_SIZE=0x2000
236 ## Use a small 16K heap
238 default CONFIG_HEAP_SIZE=0x4000
241 ## Only use the option table in a normal image
243 #efault CONFIG_USE_OPTION_TABLE = !CONFIG_USE_FALLBACK_IMAGE
244 default CONFIG_USE_OPTION_TABLE = (!CONFIG_USE_FALLBACK_IMAGE) && (!CONFIG_USE_FAILOVER_IMAGE )
247 ## coreboot C code runs at this location in RAM
249 default CONFIG_RAMBASE=0x00004000
252 ## Load the payload from the ROM
254 default CONFIG_ROM_PAYLOAD = 1
257 ### Defaults of options that you may want to override in the target config file
261 ## The default compiler
263 default CC="$(CONFIG_CROSS_COMPILE)gcc -m32"
267 ## Disable the gdb stub by default
269 default CONFIG_GDB_STUB=0
271 default CONFIG_USE_PRINTK_IN_CAR=1
274 ## The Serial Console
277 # To Enable the Serial Console
278 default CONFIG_CONSOLE_SERIAL8250=1
280 ## Select the serial console baud rate
281 default CONFIG_TTYS0_BAUD=115200
282 #default CONFIG_TTYS0_BAUD=57600
283 #default CONFIG_TTYS0_BAUD=38400
284 #default CONFIG_TTYS0_BAUD=19200
285 #default CONFIG_TTYS0_BAUD=9600
286 #default CONFIG_TTYS0_BAUD=4800
287 #default CONFIG_TTYS0_BAUD=2400
288 #default CONFIG_TTYS0_BAUD=1200
290 # Select the serial console base port
291 default CONFIG_TTYS0_BASE=0x3f8
293 # Select the serial protocol
294 # This defaults to 8 data bits, 1 stop bit, and no parity
295 default CONFIG_TTYS0_LCS=0x3
298 ### Select the coreboot loglevel
300 ## EMERG 1 system is unusable
301 ## ALERT 2 action must be taken immediately
302 ## CRIT 3 critical conditions
303 ## ERR 4 error conditions
304 ## WARNING 5 warning conditions
305 ## NOTICE 6 normal but significant condition
306 ## INFO 7 informational
307 ## CONFIG_DEBUG 8 debug-level messages
308 ## SPEW 9 Way too many details
310 ## Request this level of debugging output
311 default CONFIG_DEFAULT_CONSOLE_LOGLEVEL=8
312 ## At a maximum only compile in this level of debugging
313 default CONFIG_MAXIMUM_CONSOLE_LOGLEVEL=8
316 ## Select power on after power fail setting
317 default CONFIG_MAINBOARD_POWER_ON_AFTER_POWER_FAIL="MAINBOARD_POWER_ON"