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