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