Apply linuxbios-rename-other-payload-options.patch
[coreboot.git] / src / mainboard / tyan / s2895 / Options.lb
1 uses HAVE_MP_TABLE
2 uses HAVE_PIRQ_TABLE
3 uses USE_FALLBACK_IMAGE
4 uses HAVE_FALLBACK_BOOT
5 uses USE_FAILOVER_IMAGE
6 uses HAVE_FAILOVER_BOOT
7 uses HAVE_HARD_RESET
8 uses IRQ_SLOT_COUNT
9 uses HAVE_OPTION_TABLE
10 uses CONFIG_MAX_CPUS
11 uses CONFIG_MAX_PHYSICAL_CPUS
12 uses CONFIG_LOGICAL_CPUS
13 uses CONFIG_IOAPIC
14 uses CONFIG_SMP
15 uses FALLBACK_SIZE
16 uses FAILOVER_SIZE
17 uses ROM_SIZE
18 uses ROM_SECTION_SIZE
19 uses ROM_IMAGE_SIZE
20 uses ROM_SECTION_SIZE
21 uses ROM_SECTION_OFFSET
22 uses CONFIG_ROM_PAYLOAD
23 uses CONFIG_ROM_PAYLOAD_START
24 uses CONFIG_COMPRESSED_PAYLOAD_LZMA
25 uses PAYLOAD_SIZE
26 uses _ROMBASE
27 uses XIP_ROM_SIZE
28 uses XIP_ROM_BASE
29 uses STACK_SIZE
30 uses HEAP_SIZE
31 uses USE_OPTION_TABLE
32 uses LB_CKS_RANGE_START
33 uses LB_CKS_RANGE_END
34 uses LB_CKS_LOC
35 uses MAINBOARD
36 uses MAINBOARD_PART_NUMBER
37 uses MAINBOARD_VENDOR
38 uses MAINBOARD_PCI_SUBSYSTEM_VENDOR_ID
39 uses MAINBOARD_PCI_SUBSYSTEM_DEVICE_ID 
40 uses LINUXBIOS_EXTRA_VERSION
41 uses _RAMBASE
42 uses CONFIG_GDB_STUB
43 uses CROSS_COMPILE
44 uses CC
45 uses HOSTCC
46 uses OBJCOPY
47 uses TTYS0_BAUD
48 uses TTYS0_BASE
49 uses TTYS0_LCS
50 uses DEFAULT_CONSOLE_LOGLEVEL
51 uses MAXIMUM_CONSOLE_LOGLEVEL
52 uses MAINBOARD_POWER_ON_AFTER_POWER_FAIL
53 uses CONFIG_CONSOLE_SERIAL8250
54 uses HAVE_INIT_TIMER
55 uses CONFIG_GDB_STUB
56 uses CONFIG_CHIP_NAME
57 uses CONFIG_CONSOLE_VGA
58 uses CONFIG_PCI_ROM_RUN
59 uses HW_MEM_HOLE_SIZEK
60 uses K8_HT_FREQ_1G_SUPPORT
61
62 uses USE_DCACHE_RAM
63 uses DCACHE_RAM_BASE
64 uses DCACHE_RAM_SIZE
65 uses CONFIG_USE_INIT
66
67 uses SERIAL_CPU_INIT
68
69 uses ENABLE_APIC_EXT_ID
70 uses APIC_ID_OFFSET
71 uses LIFT_BSP_APIC_ID
72
73 uses HT_CHAIN_UNITID_BASE
74 uses HT_CHAIN_END_UNITID_BASE
75 uses SB_HT_CHAIN_ON_BUS0
76 uses SB_HT_CHAIN_UNITID_OFFSET_ONLY
77
78 uses CONFIG_LB_MEM_TOPK
79
80 ## ROM_SIZE is the size of boot ROM that this board will use.
81 #512K bytes 
82 default ROM_SIZE=524288
83
84 #1M bytes
85 #default ROM_SIZE=1048576
86
87 ##
88 ## FALLBACK_SIZE is the amount of the ROM the complete fallback image will use
89 ##
90 #default FALLBACK_SIZE=131072
91 #default FALLBACK_SIZE=0x40000
92
93 #FALLBACK: 256K-4K
94 default FALLBACK_SIZE=0x3f000
95 #FAILOVER: 4K
96 default FAILOVER_SIZE=0x01000
97
98 #more 1M for pgtbl
99 default CONFIG_LB_MEM_TOPK=2048
100
101 ##
102 ## Build code for the fallback boot
103 ##
104 default HAVE_FALLBACK_BOOT=1
105 default HAVE_FAILOVER_BOOT=1
106
107 ##
108 ## Build code to reset the motherboard from linuxBIOS
109 ##
110 default HAVE_HARD_RESET=1
111
112 ##
113 ## Build code to export a programmable irq routing table
114 ##
115 default HAVE_PIRQ_TABLE=1
116 default IRQ_SLOT_COUNT=11
117
118 ##
119 ## Build code to export an x86 MP table
120 ## Useful for specifying IRQ routing values
121 ##
122 default HAVE_MP_TABLE=1
123
124 ##
125 ## Build code to export a CMOS option table
126 ##
127 default HAVE_OPTION_TABLE=1
128
129 ##
130 ## Move the default LinuxBIOS cmos range off of AMD RTC registers
131 ##
132 default LB_CKS_RANGE_START=49
133 default LB_CKS_RANGE_END=122
134 default LB_CKS_LOC=123
135
136 ##
137 ## Build code for SMP support
138 ## Only worry about 2 micro processors
139 ##
140 default CONFIG_SMP=1
141 default CONFIG_MAX_CPUS=4
142 default CONFIG_MAX_PHYSICAL_CPUS=2
143 default CONFIG_LOGICAL_CPUS=1
144
145 default SERIAL_CPU_INIT=0
146
147 #CHIP_NAME ?
148 #default CONFIG_CHIP_NAME=1
149
150 #1G memory hole
151 default HW_MEM_HOLE_SIZEK=0x100000
152
153 ##HT Unit ID offset, default is 1, the typical one
154 default HT_CHAIN_UNITID_BASE=0x0
155
156 ##real SB Unit ID, default is 0x20, mean dont touch it at last
157 #default HT_CHAIN_END_UNITID_BASE=0x0
158
159 #make the SB HT chain on bus 0, default is not (0)
160 default SB_HT_CHAIN_ON_BUS0=2
161
162 ##only offset for SB chain?, default is yes(1)
163 default SB_HT_CHAIN_UNITID_OFFSET_ONLY=0
164
165 #Opteron K8 1G HT Support
166 default K8_HT_FREQ_1G_SUPPORT=1
167
168 #VGA
169 default CONFIG_CONSOLE_VGA=1
170 default CONFIG_PCI_ROM_RUN=1
171
172 ##
173 ## enable CACHE_AS_RAM specifics
174 ##
175 default USE_DCACHE_RAM=1
176 default DCACHE_RAM_BASE=0xcf000
177 default DCACHE_RAM_SIZE=0x1000
178 default CONFIG_USE_INIT=0
179
180 default ENABLE_APIC_EXT_ID=0
181 default APIC_ID_OFFSET=0x10
182 default LIFT_BSP_APIC_ID=0
183
184
185 ##
186 ## Build code to setup a generic IOAPIC
187 ##
188 default CONFIG_IOAPIC=1
189
190 ##
191 ## Clean up the motherboard id strings
192 ##
193 default MAINBOARD_PART_NUMBER="s2895"
194 default MAINBOARD_VENDOR="Tyan"
195 default MAINBOARD_PCI_SUBSYSTEM_VENDOR_ID=0x10f1
196 default MAINBOARD_PCI_SUBSYSTEM_DEVICE_ID=0x2895
197
198 ###
199 ### LinuxBIOS layout values
200 ###
201
202 ## ROM_IMAGE_SIZE is the amount of space to allow linuxBIOS to occupy.
203 default ROM_IMAGE_SIZE = 65536
204
205 ##
206 ## Use a small 8K stack
207 ##
208 default STACK_SIZE=0x2000
209
210 ##
211 ## Use a small 16K heap
212 ##
213 default HEAP_SIZE=0x4000
214
215 ##
216 ## Only use the option table in a normal image
217 ##
218 default USE_OPTION_TABLE = (!USE_FALLBACK_IMAGE) && (!USE_FAILOVER_IMAGE )
219
220 ##
221 ## LinuxBIOS C code runs at this location in RAM
222 ##
223 default _RAMBASE=0x00100000
224
225 ##
226 ## Load the payload from the ROM
227 ##
228 default CONFIG_ROM_PAYLOAD = 1
229
230 ###
231 ### Defaults of options that you may want to override in the target config file
232 ### 
233
234 ##
235 ## The default compiler
236 ##
237 default CC="$(CROSS_COMPILE)gcc-4.0.2 -m32"
238 default HOSTCC="gcc-4.0.2"
239
240 ##
241 ## Disable the gdb stub by default
242 ## 
243 default CONFIG_GDB_STUB=0
244
245 ##
246 ## The Serial Console
247 ##
248
249 # To Enable the Serial Console
250 default CONFIG_CONSOLE_SERIAL8250=1
251
252 ## Select the serial console baud rate
253 default TTYS0_BAUD=115200
254 #default TTYS0_BAUD=57600
255 #default TTYS0_BAUD=38400
256 #default TTYS0_BAUD=19200
257 #default TTYS0_BAUD=9600
258 #default TTYS0_BAUD=4800
259 #default TTYS0_BAUD=2400
260 #default TTYS0_BAUD=1200
261
262 # Select the serial console base port
263 default TTYS0_BASE=0x3f8
264
265 # Select the serial protocol
266 # This defaults to 8 data bits, 1 stop bit, and no parity
267 default TTYS0_LCS=0x3
268
269 ##
270 ### Select the linuxBIOS loglevel
271 ##
272 ## EMERG      1   system is unusable               
273 ## ALERT      2   action must be taken immediately 
274 ## CRIT       3   critical conditions              
275 ## ERR        4   error conditions                 
276 ## WARNING    5   warning conditions               
277 ## NOTICE     6   normal but significant condition 
278 ## INFO       7   informational                    
279 ## DEBUG      8   debug-level messages             
280 ## SPEW       9   Way too many details             
281
282 ## Request this level of debugging output
283 default  DEFAULT_CONSOLE_LOGLEVEL=8
284 ## At a maximum only compile in this level of debugging
285 default  MAXIMUM_CONSOLE_LOGLEVEL=8
286
287 ##
288 ## Select power on after power fail setting
289 default MAINBOARD_POWER_ON_AFTER_POWER_FAIL="MAINBOARD_POWER_ON"
290
291 ### End Options.lb
292 end