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