Rudolf Marek | 1a00256 | 2007-11-02 23:17:57 +0000 | [diff] [blame] | 1 | ## |
Stefan Reinauer | 7e61e45 | 2008-01-18 10:35:56 +0000 | [diff] [blame] | 2 | ## This file is part of the coreboot project. |
Rudolf Marek | 1a00256 | 2007-11-02 23:17:57 +0000 | [diff] [blame] | 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 | |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 20 | uses CONFIG_HAVE_MP_TABLE |
Peter Stuge | 483b7bb | 2009-04-14 07:40:01 +0000 | [diff] [blame] | 21 | uses CONFIG_CBFS |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 22 | uses CONFIG_HAVE_PIRQ_TABLE |
| 23 | uses CONFIG_USE_FALLBACK_IMAGE |
| 24 | uses CONFIG_HAVE_FALLBACK_BOOT |
| 25 | uses CONFIG_HAVE_HARD_RESET |
| 26 | uses CONFIG_IRQ_SLOT_COUNT |
| 27 | uses CONFIG_HAVE_OPTION_TABLE |
Rudolf Marek | 1a00256 | 2007-11-02 23:17:57 +0000 | [diff] [blame] | 28 | uses CONFIG_MAX_CPUS |
| 29 | uses CONFIG_MAX_PHYSICAL_CPUS |
| 30 | uses CONFIG_LOGICAL_CPUS |
| 31 | uses CONFIG_IOAPIC |
| 32 | uses CONFIG_SMP |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 33 | uses CONFIG_FALLBACK_SIZE |
| 34 | uses CONFIG_ROM_SIZE |
| 35 | uses CONFIG_ROM_SECTION_SIZE |
| 36 | uses CONFIG_ROM_IMAGE_SIZE |
| 37 | uses CONFIG_ROM_SECTION_SIZE |
| 38 | uses CONFIG_ROM_SECTION_OFFSET |
Rudolf Marek | 1a00256 | 2007-11-02 23:17:57 +0000 | [diff] [blame] | 39 | uses CONFIG_ROM_PAYLOAD |
| 40 | uses CONFIG_ROM_PAYLOAD_START |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 41 | uses CONFIG_PAYLOAD_SIZE |
| 42 | uses CONFIG_ROMBASE |
| 43 | uses CONFIG_XIP_ROM_SIZE |
| 44 | uses CONFIG_XIP_ROM_BASE |
| 45 | uses CONFIG_STACK_SIZE |
| 46 | uses CONFIG_HEAP_SIZE |
| 47 | # uses CONFIG_USE_OPTION_TABLE |
Uwe Hermann | c4f5365 | 2008-03-08 19:14:42 +0000 | [diff] [blame] | 48 | # uses CONFIG_LB_MEM_TOPK |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 49 | uses CONFIG_HAVE_ACPI_TABLES |
| 50 | uses CONFIG_HAVE_ACPI_RESUME |
| 51 | uses CONFIG_LB_CKS_RANGE_START |
| 52 | uses CONFIG_LB_CKS_RANGE_END |
| 53 | uses CONFIG_LB_CKS_LOC |
| 54 | uses CONFIG_MAINBOARD |
| 55 | uses CONFIG_MAINBOARD_PART_NUMBER |
| 56 | uses CONFIG_MAINBOARD_VENDOR |
| 57 | uses CONFIG_MAINBOARD_PCI_SUBSYSTEM_VENDOR_ID |
| 58 | uses CONFIG_MAINBOARD_PCI_SUBSYSTEM_DEVICE_ID |
Stefan Reinauer | f8ee180 | 2008-01-18 15:08:58 +0000 | [diff] [blame] | 59 | uses COREBOOT_EXTRA_VERSION |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 60 | uses CONFIG_RAMBASE |
Rudolf Marek | 1a00256 | 2007-11-02 23:17:57 +0000 | [diff] [blame] | 61 | uses CONFIG_GDB_STUB |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 62 | uses CONFIG_CROSS_COMPILE |
Rudolf Marek | 1a00256 | 2007-11-02 23:17:57 +0000 | [diff] [blame] | 63 | uses CC |
Stefan Reinauer | 9dd27bc | 2009-06-30 17:13:58 +0000 | [diff] [blame] | 64 | uses HOSTCC |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 65 | uses CONFIG_OBJCOPY |
| 66 | uses CONFIG_TTYS0_BAUD |
| 67 | uses CONFIG_TTYS0_BASE |
| 68 | uses CONFIG_TTYS0_LCS |
| 69 | uses CONFIG_DEFAULT_CONSOLE_LOGLEVEL |
| 70 | uses CONFIG_MAXIMUM_CONSOLE_LOGLEVEL |
| 71 | uses CONFIG_MAINBOARD_POWER_ON_AFTER_POWER_FAIL |
Rudolf Marek | 1a00256 | 2007-11-02 23:17:57 +0000 | [diff] [blame] | 72 | uses CONFIG_CONSOLE_SERIAL8250 |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 73 | uses CONFIG_HAVE_INIT_TIMER |
Rudolf Marek | 1a00256 | 2007-11-02 23:17:57 +0000 | [diff] [blame] | 74 | uses CONFIG_GDB_STUB |
Rudolf Marek | 1a00256 | 2007-11-02 23:17:57 +0000 | [diff] [blame] | 75 | uses CONFIG_CONSOLE_VGA |
| 76 | uses CONFIG_PCI_ROM_RUN |
Uwe Hermann | c4f5365 | 2008-03-08 19:14:42 +0000 | [diff] [blame] | 77 | # bx_b001- uses K8_HW_MEM_HOLE_SIZEK |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 78 | uses CONFIG_K8_HT_FREQ_1G_SUPPORT |
| 79 | uses CONFIG_USE_DCACHE_RAM |
| 80 | uses CONFIG_DCACHE_RAM_BASE |
| 81 | uses CONFIG_DCACHE_RAM_SIZE |
| 82 | uses CONFIG_DCACHE_RAM_GLOBAL_VAR_SIZE |
Rudolf Marek | 1a00256 | 2007-11-02 23:17:57 +0000 | [diff] [blame] | 83 | uses CONFIG_USE_INIT |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 84 | uses CONFIG_ENABLE_APIC_EXT_ID |
| 85 | uses CONFIG_APIC_ID_OFFSET |
| 86 | uses CONFIG_LIFT_BSP_APIC_ID |
| 87 | uses CONFIG_HT_CHAIN_UNITID_BASE |
| 88 | uses CONFIG_HT_CHAIN_END_UNITID_BASE |
Uwe Hermann | c4f5365 | 2008-03-08 19:14:42 +0000 | [diff] [blame] | 89 | # bx_b001- uses K8_SB_HT_CHAIN_ON_BUS0 |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 90 | uses CONFIG_SB_HT_CHAIN_UNITID_OFFSET_ONLY |
Uwe Hermann | c4f5365 | 2008-03-08 19:14:42 +0000 | [diff] [blame] | 91 | # bx_b005+ |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 92 | uses CONFIG_SB_HT_CHAIN_ON_BUS0 |
Stefan Reinauer | 3ac07e4 | 2007-11-04 19:03:42 +0000 | [diff] [blame] | 93 | uses CONFIG_COMPRESSED_PAYLOAD_NRV2B |
| 94 | uses CONFIG_COMPRESSED_PAYLOAD_LZMA |
Marc Jones | 9cc49b2 | 2008-11-03 22:46:27 +0000 | [diff] [blame] | 95 | uses CONFIG_USE_PRINTK_IN_CAR |
Stefan Reinauer | 3ac07e4 | 2007-11-04 19:03:42 +0000 | [diff] [blame] | 96 | |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 97 | default CONFIG_ROM_SIZE = 512 * 1024 |
Patrick Georgi | b339e10 | 2009-08-11 17:35:02 +0000 | [diff] [blame^] | 98 | default CONFIG_FALLBACK_SIZE = CONFIG_ROM_IMAGE_SIZE |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 99 | default CONFIG_HAVE_FALLBACK_BOOT = 1 |
| 100 | default CONFIG_HAVE_HARD_RESET = 0 |
| 101 | default CONFIG_HAVE_PIRQ_TABLE = 0 |
| 102 | default CONFIG_IRQ_SLOT_COUNT = 11 # FIXME? |
| 103 | default CONFIG_HAVE_MP_TABLE = 1 |
| 104 | default CONFIG_HAVE_OPTION_TABLE = 0 # FIXME |
Uwe Hermann | c4f5365 | 2008-03-08 19:14:42 +0000 | [diff] [blame] | 105 | # Move the default coreboot CMOS range off of AMD RTC registers. |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 106 | default CONFIG_LB_CKS_RANGE_START = 49 |
| 107 | default CONFIG_LB_CKS_RANGE_END = 122 |
| 108 | default CONFIG_LB_CKS_LOC = 123 |
Uwe Hermann | c4f5365 | 2008-03-08 19:14:42 +0000 | [diff] [blame] | 109 | default CONFIG_SMP = 1 |
| 110 | default CONFIG_MAX_CPUS = 2 |
| 111 | default CONFIG_MAX_PHYSICAL_CPUS = 1 |
| 112 | default CONFIG_LOGICAL_CPUS = 1 |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 113 | default CONFIG_HAVE_ACPI_TABLES = 1 |
Rudolf Marek | 1a00256 | 2007-11-02 23:17:57 +0000 | [diff] [blame] | 114 | |
Uwe Hermann | c4f5365 | 2008-03-08 19:14:42 +0000 | [diff] [blame] | 115 | # 1G memory hole |
| 116 | # bx_b001- default K8_HW_MEM_HOLE_SIZEK = 0x100000 |
Rudolf Marek | 1a00256 | 2007-11-02 23:17:57 +0000 | [diff] [blame] | 117 | |
Uwe Hermann | c4f5365 | 2008-03-08 19:14:42 +0000 | [diff] [blame] | 118 | # Opteron K8 1G HT support |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 119 | default CONFIG_K8_HT_FREQ_1G_SUPPORT = 1 |
Rudolf Marek | 1a00256 | 2007-11-02 23:17:57 +0000 | [diff] [blame] | 120 | |
Uwe Hermann | c4f5365 | 2008-03-08 19:14:42 +0000 | [diff] [blame] | 121 | # HT Unit ID offset, default is 1, the typical one. |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 122 | default CONFIG_HT_CHAIN_UNITID_BASE = 0x0 |
Rudolf Marek | 1a00256 | 2007-11-02 23:17:57 +0000 | [diff] [blame] | 123 | |
Uwe Hermann | c4f5365 | 2008-03-08 19:14:42 +0000 | [diff] [blame] | 124 | # Real SB Unit ID, default is 0x20, mean don't touch it at last. |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 125 | # default CONFIG_HT_CHAIN_END_UNITID_BASE = 0x0 |
Rudolf Marek | 1a00256 | 2007-11-02 23:17:57 +0000 | [diff] [blame] | 126 | |
Uwe Hermann | c4f5365 | 2008-03-08 19:14:42 +0000 | [diff] [blame] | 127 | # Make the SB HT chain on bus 0, default is not (0). |
| 128 | # bx_b001- default K8_SB_HT_CHAIN_ON_BUS0 = 2 |
Rudolf Marek | 1a00256 | 2007-11-02 23:17:57 +0000 | [diff] [blame] | 129 | |
Uwe Hermann | c4f5365 | 2008-03-08 19:14:42 +0000 | [diff] [blame] | 130 | # bx_b005+ make the SB HT chain on bus 0. |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 131 | default CONFIG_SB_HT_CHAIN_ON_BUS0 = 1 |
Rudolf Marek | 1a00256 | 2007-11-02 23:17:57 +0000 | [diff] [blame] | 132 | |
Uwe Hermann | c4f5365 | 2008-03-08 19:14:42 +0000 | [diff] [blame] | 133 | # Only offset for SB chain?, default is yes(1). |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 134 | default CONFIG_SB_HT_CHAIN_UNITID_OFFSET_ONLY = 0 |
Rudolf Marek | 1a00256 | 2007-11-02 23:17:57 +0000 | [diff] [blame] | 135 | |
Uwe Hermann | c4f5365 | 2008-03-08 19:14:42 +0000 | [diff] [blame] | 136 | default CONFIG_CONSOLE_VGA = 1 # Needed for VGA. |
| 137 | default CONFIG_PCI_ROM_RUN = 1 # Needed for VGA. |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 138 | default CONFIG_USE_DCACHE_RAM = 1 |
| 139 | default CONFIG_DCACHE_RAM_BASE = 0xcc000 |
| 140 | default CONFIG_DCACHE_RAM_SIZE = 0x4000 |
| 141 | default CONFIG_DCACHE_RAM_GLOBAL_VAR_SIZE = 0x01000 |
Uwe Hermann | c4f5365 | 2008-03-08 19:14:42 +0000 | [diff] [blame] | 142 | default CONFIG_USE_INIT = 0 |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 143 | default CONFIG_ENABLE_APIC_EXT_ID = 0 |
| 144 | default CONFIG_APIC_ID_OFFSET = 0x10 |
| 145 | default CONFIG_LIFT_BSP_APIC_ID = 0 |
Uwe Hermann | c4f5365 | 2008-03-08 19:14:42 +0000 | [diff] [blame] | 146 | default CONFIG_IOAPIC = 1 |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 147 | default CONFIG_MAINBOARD_VENDOR = "ASUS" |
| 148 | default CONFIG_MAINBOARD_PART_NUMBER = "A8V-E SE" |
| 149 | default CONFIG_MAINBOARD_PCI_SUBSYSTEM_VENDOR_ID = 0x1043 |
| 150 | # default CONFIG_MAINBOARD_PCI_SUBSYSTEM_DEVICE_ID = 0x1234 # FIXME |
| 151 | default CONFIG_ROM_IMAGE_SIZE = 64 * 1024 |
| 152 | default CONFIG_STACK_SIZE = 8 * 1024 |
| 153 | default CONFIG_HEAP_SIZE = 256 * 1024 |
Uwe Hermann | c4f5365 | 2008-03-08 19:14:42 +0000 | [diff] [blame] | 154 | # More 1M for pgtbl. |
| 155 | # default CONFIG_LB_MEM_TOPK = 2048 |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 156 | default CONFIG_RAMBASE = 0x00004000 |
| 157 | # default CONFIG_USE_OPTION_TABLE = !CONFIG_USE_FALLBACK_IMAGE |
Rudolf Marek | 1a00256 | 2007-11-02 23:17:57 +0000 | [diff] [blame] | 158 | default CONFIG_ROM_PAYLOAD = 1 |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 159 | default CC = "$(CONFIG_CROSS_COMPILE)gcc -m32" |
Stefan Reinauer | 9dd27bc | 2009-06-30 17:13:58 +0000 | [diff] [blame] | 160 | default HOSTCC = "gcc" |
Uwe Hermann | c4f5365 | 2008-03-08 19:14:42 +0000 | [diff] [blame] | 161 | default CONFIG_GDB_STUB = 0 |
Marc Jones | 9cc49b2 | 2008-11-03 22:46:27 +0000 | [diff] [blame] | 162 | default CONFIG_USE_PRINTK_IN_CAR = 1 |
Uwe Hermann | c4f5365 | 2008-03-08 19:14:42 +0000 | [diff] [blame] | 163 | default CONFIG_CONSOLE_SERIAL8250 = 1 |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 164 | default CONFIG_TTYS0_BAUD = 115200 |
| 165 | default CONFIG_TTYS0_BASE = 0x3f8 |
| 166 | default CONFIG_TTYS0_LCS = 0x3 # 8n1 |
| 167 | default CONFIG_DEFAULT_CONSOLE_LOGLEVEL = 8 |
| 168 | default CONFIG_MAXIMUM_CONSOLE_LOGLEVEL = 8 |
| 169 | default CONFIG_MAINBOARD_POWER_ON_AFTER_POWER_FAIL = "MAINBOARD_POWER_ON" |
Ronald G. Minnich | d469cda | 2009-03-31 16:32:01 +0000 | [diff] [blame] | 170 | # |
Peter Stuge | 483b7bb | 2009-04-14 07:40:01 +0000 | [diff] [blame] | 171 | # CBFS |
Ronald G. Minnich | d469cda | 2009-03-31 16:32:01 +0000 | [diff] [blame] | 172 | # |
| 173 | # |
Patrick Georgi | b339e10 | 2009-08-11 17:35:02 +0000 | [diff] [blame^] | 174 | default CONFIG_CBFS=1 |
Rudolf Marek | 1a00256 | 2007-11-02 23:17:57 +0000 | [diff] [blame] | 175 | end |