87441d07e4c2bef28426adcb2863aa09cfee84d5
[coreboot.git] / src / mainboard / island / aruma / Options.lb
1 uses HAVE_MP_TABLE
2 uses HAVE_PIRQ_TABLE
3 uses HAVE_ACPI_TABLES
4 uses USE_FALLBACK_IMAGE
5 uses HAVE_FALLBACK_BOOT
6 uses HAVE_HARD_RESET
7 uses HARD_RESET_BUS
8 uses HARD_RESET_DEVICE
9 uses HARD_RESET_FUNCTION
10 uses IRQ_SLOT_COUNT
11 uses HAVE_OPTION_TABLE
12 uses CONFIG_MAX_CPUS
13 uses CONFIG_IOAPIC
14 uses CONFIG_SMP
15 uses FALLBACK_SIZE
16 uses ROM_SIZE
17 uses ROM_SECTION_SIZE
18 uses ROM_IMAGE_SIZE
19 uses ROM_SECTION_SIZE
20 uses ROM_SECTION_OFFSET
21 uses CONFIG_ROM_STREAM
22 uses CONFIG_ROM_STREAM_START
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
34 uses MAINBOARD_PART_NUMBER
35 uses MAINBOARD_VENDOR
36 uses MAINBOARD_PCI_SUBSYSTEM_VENDOR_ID
37 uses MAINBOARD_PCI_SUBSYSTEM_DEVICE_ID
38 uses LINUXBIOS_EXTRA_VERSION
39 uses _RAMBASE
40 uses CC
41 uses HOSTCC
42 uses CROSS_COMPILE
43 uses TTYS0_BAUD
44 uses TTYS0_BASE
45 uses TTYS0_LCS
46 uses DEFAULT_CONSOLE_LOGLEVEL
47 uses MAXIMUM_CONSOLE_LOGLEVEL
48 uses MAINBOARD_POWER_ON_AFTER_POWER_FAIL
49 uses CONFIG_CONSOLE_SERIAL8250
50 uses HAVE_INIT_TIMER
51 uses CONFIG_GDB_STUB
52 uses CONFIG_CONSOLE_VGA
53 uses CONFIG_PCI_ROM_RUN
54
55 ###
56 ### Build options
57 ###
58
59 ##
60 ## ROM_SIZE is the size of boot ROM that this board will use.
61 ##
62 default ROM_SIZE=524288
63
64 ##
65 ## FALLBACK_SIZE is the amount of the ROM the complete fallback image will use
66 ##
67 #default FALLBACK_SIZE=131072
68 # 256k
69 default FALLBACK_SIZE=0x40000
70
71 ##
72 ## Build code for the fallback boot
73 ##
74 default HAVE_FALLBACK_BOOT=1
75
76 ##
77 ## incoherent_ht.c does all the work. we don't want hard reset.
78 ##
79 default HAVE_HARD_RESET=0
80
81 ##
82 ## Funky hard reset implementation
83 ## 
84 default HARD_RESET_BUS=1
85 default HARD_RESET_DEVICE=4
86 default HARD_RESET_FUNCTION=0
87
88 ##
89 ## Build code to export a programmable irq routing table
90 ##
91 default HAVE_PIRQ_TABLE=1
92 default IRQ_SLOT_COUNT=23
93
94 ##
95 ## Build code to export an x86 MP table
96 ## Useful for specifying IRQ routing values
97 ##
98 default HAVE_MP_TABLE=1
99 default HAVE_ACPI_TABLES=1
100
101 ##
102 ## Build code to export a CMOS option table
103 ##
104 default HAVE_OPTION_TABLE=1
105
106 ##
107 ## Move the default LinuxBIOS cmos range off of AMD RTC registers
108 ##
109 default LB_CKS_RANGE_START=49
110 default LB_CKS_RANGE_END=122
111 default LB_CKS_LOC=123
112
113 ##
114 ## Build code for SMP support
115 ## Only worry about 2 micro processors
116 ##
117 default CONFIG_SMP=1
118 default CONFIG_MAX_CPUS=4
119 #default ALLOW_HT_OVERCLOCKING=1
120
121 ##
122 ## Build code to setup a generic IOAPIC
123 ##
124 default CONFIG_IOAPIC=1
125
126 ##
127 ## Clean up the motherboard id strings
128 ##
129 default MAINBOARD_PART_NUMBER="ARUMA"
130 default MAINBOARD_VENDOR="ISLAND"
131 default MAINBOARD_PCI_SUBSYSTEM_VENDOR_ID=0x1022
132 default MAINBOARD_PCI_SUBSYSTEM_DEVICE_ID=0x36c0
133
134
135 ###
136 ### LinuxBIOS layout values
137 ###
138
139 ## ROM_IMAGE_SIZE is the amount of space to allow linuxBIOS to occupy.
140 default ROM_IMAGE_SIZE = 65536
141
142 ##
143 ## Use a small 8K stack
144 ##
145 default STACK_SIZE=0x2000
146
147 ##
148 ## Use a 32K heap
149 ##
150 default HEAP_SIZE=0x8000
151
152 ##
153 ## Only use the option table in a normal image
154 ##
155 default USE_OPTION_TABLE = !USE_FALLBACK_IMAGE
156
157 ##
158 ## LinuxBIOS C code runs at this location in RAM
159 ##
160 default _RAMBASE=0x00004000
161
162 ##
163 ## Load the payload from the ROM
164 ##
165 default CONFIG_ROM_STREAM = 1
166
167 ###
168 ### Defaults of options that you may want to override in the target config file
169 ### 
170
171 ##
172 ## The default compiler
173 ##
174 default CC="$(CROSS_COMPILE)gcc -m32"
175 default HOSTCC="gcc"
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 TTYS0_BAUD=115200
186 #default TTYS0_BAUD=57600
187 #default TTYS0_BAUD=38400
188 default TTYS0_BAUD=19200
189 #default TTYS0_BAUD=9600
190 #default TTYS0_BAUD=4800
191 #default TTYS0_BAUD=2400
192 #default TTYS0_BAUD=1200
193
194 # Select the serial console base port
195 default TTYS0_BASE=0x3f8
196
197 # Select the serial protocol
198 # This defaults to 8 data bits, 1 stop bit, and no parity
199 default TTYS0_LCS=0x3
200
201 ##
202 ### Select the linuxBIOS 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 ## DEBUG      8   debug-level messages             
212 ## SPEW       9   Way too many details             
213
214 ## Request this level of debugging output
215 default  DEFAULT_CONSOLE_LOGLEVEL=8
216 ## At a maximum only compile in this level of debugging
217 default  MAXIMUM_CONSOLE_LOGLEVEL=8
218
219 ##
220 ## Select power on after power fail setting
221 default MAINBOARD_POWER_ON_AFTER_POWER_FAIL="MAINBOARD_POWER_ON"
222
223 #VGA
224 default CONFIG_CONSOLE_VGA=1
225 default CONFIG_PCI_ROM_RUN=1
226
227 ### End Options.lb
228 end