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