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