Apply linuxbios-rename-other-payload-options.patch
[coreboot.git] / src / mainboard / agami / aruma / Options.lb
1 uses HAVE_MP_TABLE
2 uses HAVE_PIRQ_TABLE
3 uses HAVE_ACPI_TABLES
4 uses ACPI_SSDTX_NUM
5 uses USE_FALLBACK_IMAGE
6 uses HAVE_FALLBACK_BOOT
7 uses HAVE_HARD_RESET
8 uses IRQ_SLOT_COUNT
9 uses HAVE_OPTION_TABLE
10 uses CONFIG_MAX_CPUS
11 uses CONFIG_MAX_PHYSICAL_CPUS
12 uses CONFIG_LOGICAL_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_PAYLOAD
22 uses CONFIG_ROM_PAYLOAD_START
23 uses CONFIG_COMPRESSED_PAYLOAD_LZMA
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
35 uses MAINBOARD_PART_NUMBER
36 uses MAINBOARD_VENDOR
37 uses MAINBOARD_PCI_SUBSYSTEM_VENDOR_ID
38 uses MAINBOARD_PCI_SUBSYSTEM_DEVICE_ID
39 uses LINUXBIOS_EXTRA_VERSION
40 uses _RAMBASE
41 uses CC
42 uses HOSTCC
43 uses CROSS_COMPILE
44 uses TTYS0_BAUD
45 uses TTYS0_BASE
46 uses TTYS0_LCS
47 uses DEFAULT_CONSOLE_LOGLEVEL
48 uses MAXIMUM_CONSOLE_LOGLEVEL
49 uses MAINBOARD_POWER_ON_AFTER_POWER_FAIL
50 uses CONFIG_CONSOLE_SERIAL8250
51 uses HAVE_INIT_TIMER
52 uses CONFIG_GDB_STUB
53 uses CONFIG_CONSOLE_VGA
54 uses CONFIG_PCI_ROM_RUN
55 uses CONFIG_CHIP_NAME
56
57 uses USE_DCACHE_RAM
58 uses DCACHE_RAM_BASE
59 uses DCACHE_RAM_SIZE
60 uses CONFIG_USE_INIT
61
62 uses SERIAL_CPU_INIT
63
64 uses ENABLE_APIC_EXT_ID
65 uses APIC_ID_OFFSET
66 uses LIFT_BSP_APIC_ID
67
68 ###
69 ### Build options
70 ###
71
72 ##
73 ## ROM_SIZE is the size of boot ROM that this board will use.
74 ##
75 default ROM_SIZE=524288
76
77 ##
78 ## FALLBACK_SIZE is the amount of the ROM the complete fallback image will use
79 ##
80 #default FALLBACK_SIZE=131072
81 # 256k
82 default FALLBACK_SIZE=0x40000
83
84 ##
85 ## Build code for the fallback boot
86 ##
87 default HAVE_FALLBACK_BOOT=1
88
89 ##
90 ## Use hard_reset for rebooting, it uses reg. 0xcf9 in the amd8111.
91 ##
92 default HAVE_HARD_RESET=1
93
94 ##
95 ## Build code to export a programmable irq routing table
96 ##
97 default HAVE_PIRQ_TABLE=1
98 default IRQ_SLOT_COUNT=23
99
100 ##
101 ## Build code to export an x86 MP table
102 ## Useful for specifying IRQ routing values
103 ##
104 default HAVE_MP_TABLE=1
105 default HAVE_ACPI_TABLES=1
106
107 ## extra SSDT num
108 default ACPI_SSDTX_NUM=3
109
110 ##
111 ## Build code to export a CMOS option table
112 ##
113 default HAVE_OPTION_TABLE=1
114
115 ##
116 ## Move the default LinuxBIOS cmos range off of AMD RTC registers
117 ##
118 default LB_CKS_RANGE_START=49
119 default LB_CKS_RANGE_END=122
120 default LB_CKS_LOC=123
121
122 ##
123 ## Build code for SMP support
124 ## Only worry about 2 micro processors
125 ##
126 default CONFIG_SMP=1
127 default CONFIG_MAX_CPUS=8
128 default CONFIG_MAX_PHYSICAL_CPUS=4
129 default CONFIG_LOGICAL_CPUS=1
130 #default ALLOW_HT_OVERCLOCKING=1
131
132 default ENABLE_APIC_EXT_ID=1
133 default APIC_ID_OFFSET=0x10
134 default LIFT_BSP_APIC_ID=0
135
136 ##
137 ## enable CACHE_AS_RAM specifics
138 ##
139 default USE_DCACHE_RAM=1
140 default DCACHE_RAM_BASE=0xcc000
141 default DCACHE_RAM_SIZE=0x4000
142 default CONFIG_USE_INIT=0
143
144 ##
145 ## Build code to setup a generic IOAPIC
146 ##
147 default CONFIG_IOAPIC=1
148
149 ##
150 ## Clean up the motherboard id strings
151 ##
152 default MAINBOARD_PART_NUMBER="ARUMA"
153 default MAINBOARD_VENDOR="AGAMI"
154 default MAINBOARD_PCI_SUBSYSTEM_VENDOR_ID=0x1022
155 default MAINBOARD_PCI_SUBSYSTEM_DEVICE_ID=0x36c0
156
157
158 ###
159 ### LinuxBIOS layout values
160 ###
161
162 ## ROM_IMAGE_SIZE is the amount of space to allow linuxBIOS to occupy.
163 default ROM_IMAGE_SIZE = 65536
164
165 ##
166 ## Use a small 8K stack
167 ##
168 default STACK_SIZE=0x2000
169
170 ##
171 ## Use a 32K heap
172 ##
173 default HEAP_SIZE=0x8000
174
175 ##
176 ## Only use the option table in a normal image
177 ##
178 default USE_OPTION_TABLE = !USE_FALLBACK_IMAGE
179
180 ##
181 ## LinuxBIOS C code runs at this location in RAM
182 ##
183 default _RAMBASE=0x00004000
184
185 ##
186 ## Load the payload from the ROM
187 ##
188 default CONFIG_ROM_PAYLOAD = 1
189
190 ###
191 ### Defaults of options that you may want to override in the target config file
192 ### 
193
194 ##
195 ## The default compiler
196 ##
197 default CC="$(CROSS_COMPILE)gcc -m32"
198 default HOSTCC="gcc"
199
200 ##
201 ## The Serial Console
202 ##
203
204 # To Enable the Serial Console
205 default CONFIG_CONSOLE_SERIAL8250=1
206
207 ## Select the serial console baud rate
208 #default TTYS0_BAUD=115200
209 #default TTYS0_BAUD=57600
210 #default TTYS0_BAUD=38400
211 default TTYS0_BAUD=19200
212 #default TTYS0_BAUD=9600
213 #default TTYS0_BAUD=4800
214 #default TTYS0_BAUD=2400
215 #default TTYS0_BAUD=1200
216
217 # Select the serial console base port
218 default TTYS0_BASE=0x3f8
219
220 # Select the serial protocol
221 # This defaults to 8 data bits, 1 stop bit, and no parity
222 default TTYS0_LCS=0x3
223
224 ##
225 ### Select the linuxBIOS loglevel
226 ##
227 ## EMERG      1   system is unusable               
228 ## ALERT      2   action must be taken immediately 
229 ## CRIT       3   critical conditions              
230 ## ERR        4   error conditions                 
231 ## WARNING    5   warning conditions               
232 ## NOTICE     6   normal but significant condition 
233 ## INFO       7   informational                    
234 ## DEBUG      8   debug-level messages             
235 ## SPEW       9   Way too many details             
236
237
238 ## These values can be overwritten by LinuxBIOSv2/targets/agami/aruma/Config.lb
239 ## Request this level of debugging output
240 default  DEFAULT_CONSOLE_LOGLEVEL=8
241 ## At a maximum only compile in this level of debugging
242 default  MAXIMUM_CONSOLE_LOGLEVEL=8
243
244 ##
245 ## Select power on after power fail setting
246 default MAINBOARD_POWER_ON_AFTER_POWER_FAIL="MAINBOARD_POWER_ON"
247
248 #VGA
249 default CONFIG_CONSOLE_VGA=1
250 default CONFIG_PCI_ROM_RUN=1
251
252 ### End Options.lb
253 end