041762eb5f9f7e61f79ee061fb08ff36ac1be89f
[coreboot.git] / src / mainboard / newisys / khepri / Options.lb
1 uses HAVE_MP_TABLE
2 uses CONFIG_CBFS
3 uses HAVE_PIRQ_TABLE
4 uses USE_FALLBACK_IMAGE
5 uses HAVE_FALLBACK_BOOT
6 uses HAVE_HARD_RESET
7 uses IRQ_SLOT_COUNT
8 uses HAVE_OPTION_TABLE
9 uses CONFIG_MAX_CPUS
10 uses CONFIG_MAX_PHYSICAL_CPUS
11 uses CONFIG_LOGICAL_CPUS
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 COREBOOT_EXTRA_VERSION
40 uses _RAMBASE
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_SERIAL8250
48 uses HAVE_INIT_TIMER
49 uses CONFIG_GDB_STUB
50 uses CROSS_COMPILE
51 uses CC
52 uses HOSTCC
53 uses OBJCOPY
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 #1G memory hole
124 default HW_MEM_HOLE_SIZEK=0x100000
125
126 #VGA Console
127 default CONFIG_CONSOLE_VGA=1
128 default CONFIG_PCI_ROM_RUN=1
129
130
131 ##
132 ## enable CACHE_AS_RAM specifics
133 ##
134 default USE_DCACHE_RAM=1
135 default DCACHE_RAM_BASE=0xcf000
136 default DCACHE_RAM_SIZE=0x1000
137 default CONFIG_USE_INIT=0
138
139 ##
140 ## Build code to setup a generic IOAPIC
141 ##
142 default CONFIG_IOAPIC=1
143
144 ##
145 ## Clean up the motherboard id strings
146 ##
147 default MAINBOARD_PART_NUMBER="Khepri"
148 default MAINBOARD_VENDOR="Newisys"
149 default MAINBOARD_PCI_SUBSYSTEM_VENDOR_ID=0x17c2
150 default MAINBOARD_PCI_SUBSYSTEM_DEVICE_ID=0x0010
151
152 ###
153 ### coreboot layout values
154 ###
155
156 ## ROM_IMAGE_SIZE is the amount of space to allow coreboot to occupy.
157 default ROM_IMAGE_SIZE = 65536
158
159 ##
160 ## Use a small 8K stack
161 ##
162 default STACK_SIZE=0x2000
163
164 ##
165 ## Use a small 16K heap
166 ##
167 default HEAP_SIZE=0x4000
168
169 ##
170 ## Only use the option table in a normal image
171 ##
172 default USE_OPTION_TABLE = !USE_FALLBACK_IMAGE
173
174 ##
175 ## Coreboot C code runs at this location in RAM
176 ##
177 default _RAMBASE=0x00004000
178
179 ##
180 ## Load the payload from the ROM
181 ##
182 default CONFIG_ROM_PAYLOAD = 1
183
184 ###
185 ### Defaults of options that you may want to override in the target config file
186 ### 
187
188 ##
189 ## The default compiler
190 ##
191 default CC="$(CROSS_COMPILE)gcc -m32"
192 default HOSTCC="gcc"
193
194 ##
195 ## Disable the gdb stub by default
196 ## 
197 default CONFIG_GDB_STUB=0
198
199 default CONFIG_USE_PRINTK_IN_CAR=1
200
201 ##
202 ## The Serial Console
203 ##
204
205 # To Enable the Serial Console
206 default CONFIG_CONSOLE_SERIAL8250=1
207
208 ## Select the serial console baud rate
209 default TTYS0_BAUD=115200
210 #default TTYS0_BAUD=57600
211 #default TTYS0_BAUD=38400
212 #default TTYS0_BAUD=19200
213 #default TTYS0_BAUD=9600
214 #default TTYS0_BAUD=4800
215 #default TTYS0_BAUD=2400
216 #default TTYS0_BAUD=1200
217
218 # Select the serial console base port
219 default TTYS0_BASE=0x3f8
220
221 # Select the serial protocol
222 # This defaults to 8 data bits, 1 stop bit, and no parity
223 default TTYS0_LCS=0x3
224
225 ##
226 ### Select the coreboot loglevel
227 ##
228 ## EMERG      1   system is unusable               
229 ## ALERT      2   action must be taken immediately 
230 ## CRIT       3   critical conditions              
231 ## ERR        4   error conditions                 
232 ## WARNING    5   warning conditions               
233 ## NOTICE     6   normal but significant condition 
234 ## INFO       7   informational                    
235 ## DEBUG      8   debug-level messages             
236 ## SPEW       9   Way too many details             
237
238 ## Request this level of debugging output
239 default  DEFAULT_CONSOLE_LOGLEVEL=8
240 ## At a maximum only compile in this level of debugging
241 default  MAXIMUM_CONSOLE_LOGLEVEL=8
242
243 ##
244 ## Select power on after power fail setting
245 default MAINBOARD_POWER_ON_AFTER_POWER_FAIL="MAINBOARD_POWER_ON"
246
247 ### End Options.lb
248 #
249 # CBFS
250 #
251 #
252 default CONFIG_CBFS=0
253 end