e9a623acf1c4ca09160f11309001a7db8db228e3
[coreboot.git] / src / mainboard / asus / a8v-e_se / Options.lb
1 ##
2 ## This file is part of the coreboot project.
3 ##
4 ## Copyright (C) 2007 Rudolf Marek <r.marek@assembler.cz>
5 ##
6 ## This program is free software; you can redistribute it and/or modify
7 ## it under the terms of the GNU General Public License v2 as published by
8 ## the Free Software Foundation.
9 ##
10 ## This program is distributed in the hope that it will be useful,
11 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
12 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 ## GNU General Public License for more details.
14 ##
15 ## You should have received a copy of the GNU General Public License
16 ## along with this program; if not, write to the Free Software
17 ## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
18 ##
19
20 uses HAVE_MP_TABLE
21 uses HAVE_PIRQ_TABLE
22 uses USE_FALLBACK_IMAGE
23 uses HAVE_FALLBACK_BOOT
24 uses HAVE_HARD_RESET
25 uses IRQ_SLOT_COUNT
26 uses HAVE_OPTION_TABLE
27 uses CONFIG_MAX_CPUS
28 uses CONFIG_MAX_PHYSICAL_CPUS
29 uses CONFIG_LOGICAL_CPUS
30 uses CONFIG_IOAPIC
31 uses CONFIG_SMP
32 uses FALLBACK_SIZE
33 uses ROM_SIZE
34 uses ROM_SECTION_SIZE
35 uses ROM_IMAGE_SIZE
36 uses ROM_SECTION_SIZE
37 uses ROM_SECTION_OFFSET
38 uses CONFIG_ROM_PAYLOAD
39 uses CONFIG_ROM_PAYLOAD_START
40 uses PAYLOAD_SIZE
41 uses _ROMBASE
42 uses XIP_ROM_SIZE
43 uses XIP_ROM_BASE
44 uses STACK_SIZE
45 uses HEAP_SIZE
46 # uses USE_OPTION_TABLE
47 # uses CONFIG_LB_MEM_TOPK
48 uses HAVE_ACPI_TABLES
49 uses LB_CKS_RANGE_START
50 uses LB_CKS_RANGE_END
51 uses LB_CKS_LOC
52 uses MAINBOARD
53 uses MAINBOARD_PART_NUMBER
54 uses MAINBOARD_VENDOR
55 uses MAINBOARD_PCI_SUBSYSTEM_VENDOR_ID
56 uses MAINBOARD_PCI_SUBSYSTEM_DEVICE_ID
57 uses COREBOOT_EXTRA_VERSION
58 uses _RAMBASE
59 uses CONFIG_GDB_STUB
60 uses CROSS_COMPILE
61 uses CC
62 uses HOSTCC
63 uses OBJCOPY
64 uses TTYS0_BAUD
65 uses TTYS0_BASE
66 uses TTYS0_LCS
67 uses DEFAULT_CONSOLE_LOGLEVEL
68 uses MAXIMUM_CONSOLE_LOGLEVEL
69 uses MAINBOARD_POWER_ON_AFTER_POWER_FAIL
70 uses CONFIG_CONSOLE_SERIAL8250
71 uses HAVE_INIT_TIMER
72 uses CONFIG_GDB_STUB
73 uses CONFIG_CHIP_NAME
74 uses CONFIG_CONSOLE_VGA
75 uses CONFIG_PCI_ROM_RUN
76 # bx_b001- uses K8_HW_MEM_HOLE_SIZEK
77 uses K8_HT_FREQ_1G_SUPPORT
78 uses USE_DCACHE_RAM
79 uses DCACHE_RAM_BASE
80 uses DCACHE_RAM_SIZE
81 uses DCACHE_RAM_GLOBAL_VAR_SIZE
82 uses CONFIG_USE_INIT
83 uses ENABLE_APIC_EXT_ID
84 uses APIC_ID_OFFSET
85 uses LIFT_BSP_APIC_ID
86 uses HT_CHAIN_UNITID_BASE
87 uses HT_CHAIN_END_UNITID_BASE
88 # bx_b001- uses K8_SB_HT_CHAIN_ON_BUS0
89 uses SB_HT_CHAIN_UNITID_OFFSET_ONLY
90 # bx_b005+
91 uses SB_HT_CHAIN_ON_BUS0
92 uses CONFIG_COMPRESSED_PAYLOAD_NRV2B
93 uses CONFIG_COMPRESSED_PAYLOAD_LZMA
94
95 default ROM_SIZE = 512 * 1024
96 default FALLBACK_SIZE = 256 * 1024
97 default HAVE_FALLBACK_BOOT = 1
98 default HAVE_HARD_RESET = 0
99 default HAVE_PIRQ_TABLE = 0
100 default IRQ_SLOT_COUNT = 11     # FIXME?
101 default HAVE_MP_TABLE = 1
102 default HAVE_OPTION_TABLE = 0   # FIXME
103 # Move the default coreboot CMOS range off of AMD RTC registers.
104 default LB_CKS_RANGE_START = 49
105 default LB_CKS_RANGE_END = 122
106 default LB_CKS_LOC = 123
107 default CONFIG_SMP = 1
108 default CONFIG_MAX_CPUS = 2
109 default CONFIG_MAX_PHYSICAL_CPUS = 1
110 default CONFIG_LOGICAL_CPUS = 1
111 default HAVE_ACPI_TABLES = 1
112 # default CONFIG_CHIP_NAME = 1
113
114 # 1G memory hole
115 # bx_b001- default K8_HW_MEM_HOLE_SIZEK = 0x100000
116
117 # Opteron K8 1G HT support
118 default K8_HT_FREQ_1G_SUPPORT = 1
119
120 # HT Unit ID offset, default is 1, the typical one.
121 default HT_CHAIN_UNITID_BASE = 0x0
122
123 # Real SB Unit ID, default is 0x20, mean don't touch it at last.
124 # default HT_CHAIN_END_UNITID_BASE = 0x0
125
126 # Make the SB HT chain on bus 0, default is not (0).
127 # bx_b001- default K8_SB_HT_CHAIN_ON_BUS0 = 2
128
129 # bx_b005+ make the SB HT chain on bus 0.
130 default SB_HT_CHAIN_ON_BUS0 = 1
131
132 # Only offset for SB chain?, default is yes(1).
133 default SB_HT_CHAIN_UNITID_OFFSET_ONLY = 0
134
135 default CONFIG_CONSOLE_VGA = 1          # Needed for VGA.
136 default CONFIG_PCI_ROM_RUN = 1          # Needed for VGA.
137 default USE_DCACHE_RAM = 1
138 default DCACHE_RAM_BASE = 0xcc000
139 default DCACHE_RAM_SIZE = 0x4000
140 default DCACHE_RAM_GLOBAL_VAR_SIZE = 0x01000
141 default CONFIG_USE_INIT = 0
142 default ENABLE_APIC_EXT_ID = 0
143 default APIC_ID_OFFSET = 0x10
144 default LIFT_BSP_APIC_ID = 0
145 default CONFIG_IOAPIC = 1
146 default MAINBOARD_VENDOR = "ASUS"
147 default MAINBOARD_PART_NUMBER = "A8V-E SE"
148 default MAINBOARD_PCI_SUBSYSTEM_VENDOR_ID = 0x1043
149 # default MAINBOARD_PCI_SUBSYSTEM_DEVICE_ID = 0x1234    # FIXME
150 default ROM_IMAGE_SIZE = 64 * 1024
151 default STACK_SIZE = 8 * 1024
152 default HEAP_SIZE = 256 * 1024
153 # More 1M for pgtbl.
154 # default CONFIG_LB_MEM_TOPK = 2048
155 default _RAMBASE = 0x00004000
156 # default USE_OPTION_TABLE = !USE_FALLBACK_IMAGE
157 default CONFIG_ROM_PAYLOAD = 1
158 default CC = "$(CROSS_COMPILE)gcc -m32"
159 default HOSTCC = "gcc"
160 default CONFIG_GDB_STUB = 0
161 default CONFIG_CONSOLE_SERIAL8250 = 1
162 default TTYS0_BAUD = 115200
163 default TTYS0_BASE = 0x3f8
164 default TTYS0_LCS = 0x3         # 8n1
165 default DEFAULT_CONSOLE_LOGLEVEL = 8
166 default MAXIMUM_CONSOLE_LOGLEVEL = 8
167 default MAINBOARD_POWER_ON_AFTER_POWER_FAIL = "MAINBOARD_POWER_ON"
168 end