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