Major CONFIG_IRQ_TABLE_COUNT fixing and cleanups. Some of these boards
[coreboot.git] / src / mainboard / newisys / khepri / Options.lb
1 uses CONFIG_HAVE_MP_TABLE
2 uses CONFIG_HAVE_PIRQ_TABLE
3 uses CONFIG_USE_FALLBACK_IMAGE
4 uses CONFIG_HAVE_FALLBACK_BOOT
5 uses CONFIG_HAVE_HARD_RESET
6 uses CONFIG_IRQ_SLOT_COUNT
7 uses CONFIG_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 CONFIG_FALLBACK_SIZE
14 uses CONFIG_ROM_SIZE
15 uses CONFIG_ROM_SECTION_SIZE
16 uses CONFIG_ROM_IMAGE_SIZE
17 uses CONFIG_ROM_SECTION_SIZE
18 uses CONFIG_ROM_SECTION_OFFSET
19 uses CONFIG_ROM_PAYLOAD
20 uses CONFIG_COMPRESSED_PAYLOAD_LZMA
21 uses CONFIG_PRECOMPRESSED_PAYLOAD
22 uses CONFIG_ROMBASE
23 uses CONFIG_XIP_ROM_SIZE
24 uses CONFIG_XIP_ROM_BASE
25 uses CONFIG_STACK_SIZE
26 uses CONFIG_HEAP_SIZE
27 uses CONFIG_USE_OPTION_TABLE
28 uses CONFIG_LB_CKS_RANGE_START
29 uses CONFIG_LB_CKS_RANGE_END
30 uses CONFIG_LB_CKS_LOC
31 uses CONFIG_MAINBOARD_PART_NUMBER
32 uses CONFIG_MAINBOARD_VENDOR
33 uses CONFIG_MAINBOARD
34 uses CONFIG_MAINBOARD_PCI_SUBSYSTEM_VENDOR_ID
35 uses CONFIG_MAINBOARD_PCI_SUBSYSTEM_DEVICE_ID
36 uses COREBOOT_EXTRA_VERSION
37 uses CONFIG_RAMBASE
38 uses CONFIG_TTYS0_BAUD
39 uses CONFIG_TTYS0_BASE
40 uses CONFIG_TTYS0_LCS
41 uses CONFIG_DEFAULT_CONSOLE_LOGLEVEL
42 uses CONFIG_MAXIMUM_CONSOLE_LOGLEVEL
43 uses CONFIG_MAINBOARD_POWER_ON_AFTER_POWER_FAIL
44 uses CONFIG_CONSOLE_SERIAL8250
45 uses CONFIG_HAVE_INIT_TIMER
46 uses CONFIG_GDB_STUB
47 uses CONFIG_CROSS_COMPILE
48 uses CC
49 uses HOSTCC
50 uses CONFIG_OBJCOPY
51 uses CONFIG_CONSOLE_VGA
52 uses CONFIG_PCI_ROM_RUN
53 uses CONFIG_HW_MEM_HOLE_SIZEK
54
55 uses CONFIG_USE_DCACHE_RAM
56 uses CONFIG_DCACHE_RAM_BASE
57 uses CONFIG_DCACHE_RAM_SIZE
58 uses CONFIG_USE_INIT
59 uses CONFIG_USE_PRINTK_IN_CAR
60
61 ###
62 ### Build options
63 ###
64
65 ##
66 ## CONFIG_ROM_SIZE is the size of boot ROM that this board will use.
67 ##
68 default CONFIG_ROM_SIZE=524288
69
70 ##
71 ## CONFIG_FALLBACK_SIZE is the amount of the ROM the complete fallback image will use
72 ##
73 default CONFIG_FALLBACK_SIZE = CONFIG_ROM_IMAGE_SIZE
74
75 ##
76 ## Build code for the fallback boot
77 ##
78 default CONFIG_HAVE_FALLBACK_BOOT=1
79
80 ##
81 ## Build code to reset the motherboard from coreboot
82 ##
83 default CONFIG_HAVE_HARD_RESET=1
84
85 ##
86 ## Build code to export a programmable irq routing table
87 ##
88 default CONFIG_HAVE_PIRQ_TABLE=1
89 default CONFIG_IRQ_SLOT_COUNT=9
90
91 ##
92 ## Build code to export an x86 MP table
93 ## Useful for specifying IRQ routing values
94 ##
95 default CONFIG_HAVE_MP_TABLE=1
96
97 ##
98 ## Build code to export a CMOS option table
99 ##
100 default CONFIG_HAVE_OPTION_TABLE=1
101
102 ##
103 ## Move the default coreboot cmos range off of AMD RTC registers
104 ##
105 default CONFIG_LB_CKS_RANGE_START=49
106 default CONFIG_LB_CKS_RANGE_END=122
107 default CONFIG_LB_CKS_LOC=123
108
109 ##
110 ## Build code for SMP support
111 ## Only worry about 2 micro processors
112 ##
113 default CONFIG_SMP=1
114 default CONFIG_MAX_CPUS=4
115 default CONFIG_MAX_PHYSICAL_CPUS=2
116 default CONFIG_LOGICAL_CPUS=1
117
118 #1G memory hole
119 default CONFIG_HW_MEM_HOLE_SIZEK=0x100000
120
121 #VGA Console
122 default CONFIG_CONSOLE_VGA=1
123 default CONFIG_PCI_ROM_RUN=1
124
125
126 ##
127 ## enable CACHE_AS_RAM specifics
128 ##
129 default CONFIG_USE_DCACHE_RAM=1
130 default CONFIG_DCACHE_RAM_BASE=0xcf000
131 default CONFIG_DCACHE_RAM_SIZE=0x1000
132 default CONFIG_USE_INIT=0
133
134 ##
135 ## Build code to setup a generic IOAPIC
136 ##
137 default CONFIG_IOAPIC=1
138
139 ##
140 ## Clean up the motherboard id strings
141 ##
142 default CONFIG_MAINBOARD_PART_NUMBER="Khepri"
143 default CONFIG_MAINBOARD_VENDOR="Newisys"
144 default CONFIG_MAINBOARD_PCI_SUBSYSTEM_VENDOR_ID=0x17c2
145 default CONFIG_MAINBOARD_PCI_SUBSYSTEM_DEVICE_ID=0x0010
146
147 ###
148 ### coreboot layout values
149 ###
150
151 ## CONFIG_ROM_IMAGE_SIZE is the amount of space to allow coreboot to occupy.
152 default CONFIG_ROM_IMAGE_SIZE = 65536
153
154 ##
155 ## Use a small 8K stack
156 ##
157 default CONFIG_STACK_SIZE=0x2000
158
159 ##
160 ## Use a small 16K heap
161 ##
162 default CONFIG_HEAP_SIZE=0x4000
163
164 ##
165 ## Only use the option table in a normal image
166 ##
167 default CONFIG_USE_OPTION_TABLE = !CONFIG_USE_FALLBACK_IMAGE
168
169 ##
170 ## Coreboot C code runs at this location in RAM
171 ##
172 default CONFIG_RAMBASE=0x00004000
173
174 ##
175 ## Load the payload from the ROM
176 ##
177 default CONFIG_ROM_PAYLOAD = 1
178
179 ###
180 ### Defaults of options that you may want to override in the target config file
181 ### 
182
183 ##
184 ## The default compiler
185 ##
186 default CC="$(CONFIG_CROSS_COMPILE)gcc -m32"
187 default HOSTCC="gcc"
188
189 ##
190 ## Disable the gdb stub by default
191 ## 
192 default CONFIG_GDB_STUB=0
193
194 default CONFIG_USE_PRINTK_IN_CAR=1
195
196 ##
197 ## The Serial Console
198 ##
199
200 # To Enable the Serial Console
201 default CONFIG_CONSOLE_SERIAL8250=1
202
203 ## Select the serial console baud rate
204 default CONFIG_TTYS0_BAUD=115200
205 #default CONFIG_TTYS0_BAUD=57600
206 #default CONFIG_TTYS0_BAUD=38400
207 #default CONFIG_TTYS0_BAUD=19200
208 #default CONFIG_TTYS0_BAUD=9600
209 #default CONFIG_TTYS0_BAUD=4800
210 #default CONFIG_TTYS0_BAUD=2400
211 #default CONFIG_TTYS0_BAUD=1200
212
213 # Select the serial console base port
214 default CONFIG_TTYS0_BASE=0x3f8
215
216 # Select the serial protocol
217 # This defaults to 8 data bits, 1 stop bit, and no parity
218 default CONFIG_TTYS0_LCS=0x3
219
220 ##
221 ### Select the coreboot loglevel
222 ##
223 ## EMERG      1   system is unusable               
224 ## ALERT      2   action must be taken immediately 
225 ## CRIT       3   critical conditions              
226 ## ERR        4   error conditions                 
227 ## WARNING    5   warning conditions               
228 ## NOTICE     6   normal but significant condition 
229 ## INFO       7   informational                    
230 ## CONFIG_DEBUG      8   debug-level messages             
231 ## SPEW       9   Way too many details             
232
233 ## Request this level of debugging output
234 default  CONFIG_DEFAULT_CONSOLE_LOGLEVEL=8
235 ## At a maximum only compile in this level of debugging
236 default  CONFIG_MAXIMUM_CONSOLE_LOGLEVEL=8
237
238 ##
239 ## Select power on after power fail setting
240 default CONFIG_MAINBOARD_POWER_ON_AFTER_POWER_FAIL="MAINBOARD_POWER_ON"
241
242 ### End Options.lb
243 end