this should get the VIA VT8454c in shape with Kconfig
[coreboot.git] / src / mainboard / supermicro / x6dai_g / Options.lb
1 uses CONFIG_GENERATE_MP_TABLE
2 uses CONFIG_GENERATE_PIRQ_TABLE
3 uses CONFIG_USE_FALLBACK_IMAGE
4 uses CONFIG_HAVE_FALLBACK_BOOT
5 uses CONFIG_HAVE_HARD_RESET
6 uses CONFIG_IRQ_SLOT_COUNT
7 uses CONFIG_HAVE_OPTION_TABLE
8 uses CONFIG_LOGICAL_CPUS
9 uses CONFIG_MAX_CPUS
10 uses CONFIG_IOAPIC
11 uses CONFIG_SMP
12 uses CONFIG_FALLBACK_SIZE
13 uses CONFIG_ROM_SIZE
14 uses CONFIG_ROM_SECTION_SIZE
15 uses CONFIG_ROM_IMAGE_SIZE
16 uses CONFIG_ROM_SECTION_SIZE
17 uses CONFIG_ROM_SECTION_OFFSET
18 uses CONFIG_ROM_PAYLOAD
19 uses CONFIG_COMPRESSED_PAYLOAD_LZMA
20 uses CONFIG_PRECOMPRESSED_PAYLOAD
21 uses CONFIG_ROMBASE
22 uses CONFIG_XIP_ROM_SIZE
23 uses CONFIG_XIP_ROM_BASE
24 uses CONFIG_STACK_SIZE
25 uses CONFIG_HEAP_SIZE
26 uses CONFIG_USE_OPTION_TABLE
27 uses CONFIG_LB_CKS_RANGE_START
28 uses CONFIG_LB_CKS_RANGE_END
29 uses CONFIG_LB_CKS_LOC
30 uses CONFIG_MAINBOARD
31 uses CONFIG_MAINBOARD_PART_NUMBER
32 uses CONFIG_MAINBOARD_VENDOR
33 uses CONFIG_MAINBOARD_PCI_SUBSYSTEM_VENDOR_ID
34 uses CONFIG_MAINBOARD_PCI_SUBSYSTEM_DEVICE_ID
35 uses COREBOOT_EXTRA_VERSION
36 uses CONFIG_UDELAY_TSC
37 uses CONFIG_TSC_X86RDTSC_CALIBRATE_WITH_TIMER2
38 uses CONFIG_RAMBASE
39 uses CONFIG_GDB_STUB
40 uses CONFIG_CONSOLE_SERIAL8250
41 uses CONFIG_TTYS0_BAUD
42 uses CONFIG_TTYS0_BASE
43 uses CONFIG_TTYS0_LCS
44 uses CONFIG_DEFAULT_CONSOLE_LOGLEVEL
45 uses CONFIG_MAXIMUM_CONSOLE_LOGLEVEL
46 uses CONFIG_MAINBOARD_POWER_ON_AFTER_POWER_FAIL
47 uses CONFIG_CONSOLE_BTEXT
48 uses CC
49 uses HOSTCC
50 uses CONFIG_CROSS_COMPILE
51 uses CONFIG_OBJCOPY
52
53
54 ###
55 ### Build options
56 ###
57
58 ##
59 ## CONFIG_ROM_SIZE is the size of boot ROM that this board will use.
60 ##
61 default CONFIG_ROM_SIZE=1048576
62
63 ##
64 ## Build code for the fallback boot
65 ##
66 default CONFIG_HAVE_FALLBACK_BOOT=1
67
68 ##
69 ## Delay timer options
70 ## Use timer2
71 ## 
72 default CONFIG_UDELAY_TSC=1
73 default CONFIG_TSC_X86RDTSC_CALIBRATE_WITH_TIMER2=1
74
75 ##
76 ## Build code to reset the motherboard from coreboot
77 ##
78 default CONFIG_HAVE_HARD_RESET=1
79
80 ##
81 ## Build code to export a programmable irq routing table
82 ##
83 default CONFIG_GENERATE_PIRQ_TABLE=1
84 default CONFIG_IRQ_SLOT_COUNT=15
85
86 ##
87 ## Build code to export an x86 MP table
88 ## Useful for specifying IRQ routing values
89 ##
90 default CONFIG_GENERATE_MP_TABLE=1
91
92 ##
93 ## Build code to export a CMOS option table
94 ##
95 default CONFIG_HAVE_OPTION_TABLE=1
96
97 ##
98 ## Move the default coreboot cmos range off of AMD RTC registers
99 ##
100 default CONFIG_LB_CKS_RANGE_START=49
101 default CONFIG_LB_CKS_RANGE_END=122
102 default CONFIG_LB_CKS_LOC=123
103
104 ##
105 ## Build code for SMP support
106 ## Only worry about 2 micro processors
107 ##
108 default CONFIG_SMP=1
109 default CONFIG_MAX_CPUS=4
110 default CONFIG_LOGICAL_CPUS=0
111
112 ##
113 ## Build code to setup a generic IOAPIC
114 ##
115 default CONFIG_IOAPIC=1
116
117 ##
118 ## Clean up the motherboard id strings
119 ##
120 default CONFIG_MAINBOARD_PART_NUMBER="X6DAI"
121 default CONFIG_MAINBOARD_VENDOR=     "Supermicro"
122 default CONFIG_MAINBOARD_PCI_SUBSYSTEM_VENDOR_ID=0x15D9
123 default CONFIG_MAINBOARD_PCI_SUBSYSTEM_DEVICE_ID=0x6780
124
125 ###
126 ### coreboot layout values
127 ###
128
129 ## CONFIG_ROM_IMAGE_SIZE is the amount of space to allow coreboot to occupy.
130 default CONFIG_ROM_IMAGE_SIZE = 65536
131
132 ##
133 ## Use a small 8K stack
134 ##
135 default CONFIG_STACK_SIZE=0x2000
136
137 ##
138 ## Use a small 32K heap
139 ##
140 default CONFIG_HEAP_SIZE=0x8000
141
142
143 ###
144 ### Compute the location and size of where this firmware image
145 ### (coreboot plus bootloader) will live in the boot rom chip.
146 ###
147 default CONFIG_FALLBACK_SIZE = CONFIG_ROM_IMAGE_SIZE
148
149 ##
150 ## Coreboot C code runs at this location in RAM
151 ##
152 default CONFIG_RAMBASE=0x00004000
153
154 ##
155 ## Load the payload from the ROM
156 ##
157 default CONFIG_ROM_PAYLOAD=1
158
159
160 ###
161 ### Defaults of options that you may want to override in the target config file
162 ### 
163
164 ##
165 ## The default compiler
166 ##
167 default CC="$(CONFIG_CROSS_COMPILE)gcc -m32"
168 default HOSTCC="gcc"
169
170 ##
171 ## Disable the gdb stub by default
172 ##
173 default CONFIG_GDB_STUB=0
174
175 ##
176 ## The Serial Console
177 ##
178
179 # To Enable the Serial Console
180 default CONFIG_CONSOLE_SERIAL8250=1
181
182 ## Select the serial console baud rate
183 default CONFIG_TTYS0_BAUD=115200
184 #default CONFIG_TTYS0_BAUD=57600
185 #default CONFIG_TTYS0_BAUD=38400
186 #default CONFIG_TTYS0_BAUD=19200
187 #default CONFIG_TTYS0_BAUD=9600
188 #default CONFIG_TTYS0_BAUD=4800
189 #default CONFIG_TTYS0_BAUD=2400
190 #default CONFIG_TTYS0_BAUD=1200
191
192 # Select the serial console base port
193 default CONFIG_TTYS0_BASE=0x3f8
194
195 # Select the serial protocol
196 # This defaults to 8 data bits, 1 stop bit, and no parity
197 default CONFIG_TTYS0_LCS=0x3
198
199 ##
200 ### Select the coreboot loglevel
201 ##
202 ## EMERG      1   system is unusable               
203 ## ALERT      2   action must be taken immediately 
204 ## CRIT       3   critical conditions              
205 ## ERR        4   error conditions                 
206 ## WARNING    5   warning conditions               
207 ## NOTICE     6   normal but significant condition 
208 ## INFO       7   informational                    
209 ## CONFIG_DEBUG      8   debug-level messages             
210 ## SPEW       9   Way too many details             
211
212 ## Request this level of debugging output
213 default  CONFIG_DEFAULT_CONSOLE_LOGLEVEL=8
214 ## At a maximum only compile in this level of debugging
215 default  CONFIG_MAXIMUM_CONSOLE_LOGLEVEL=8
216
217 ##
218 ## Select power on after power fail setting
219 default CONFIG_MAINBOARD_POWER_ON_AFTER_POWER_FAIL="MAINBOARD_POWER_ON"
220
221 ##
222 ## Don't enable the btext console
223 ##
224 default  CONFIG_CONSOLE_BTEXT=0
225
226
227 ### End Options.lb
228 end