Uwe Hermann | 20a98c9 | 2009-06-05 23:02:43 +0000 | [diff] [blame] | 1 | ## |
| 2 | ## This file is part of the coreboot project. |
| 3 | ## |
| 4 | ## Copyright (C) 2009 One Laptop per Child, Association, Inc. |
| 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 as published by |
| 8 | ## the Free Software Foundation; either version 2 of the License, or |
| 9 | ## (at your option) any later version. |
| 10 | ## |
| 11 | ## This program is distributed in the hope that it will be useful, |
| 12 | ## but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 | ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 14 | ## GNU General Public License for more details. |
| 15 | ## |
| 16 | ## You should have received a copy of the GNU General Public License |
| 17 | ## along with this program; if not, write to the Free Software |
| 18 | ## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
| 19 | ## |
| 20 | |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 21 | uses CONFIG_HAVE_MP_TABLE |
Uwe Hermann | 20a98c9 | 2009-06-05 23:02:43 +0000 | [diff] [blame] | 22 | uses CONFIG_CBFS |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 23 | uses CONFIG_HAVE_PIRQ_TABLE |
| 24 | uses CONFIG_USE_FALLBACK_IMAGE |
| 25 | uses CONFIG_HAVE_FALLBACK_BOOT |
| 26 | uses CONFIG_HAVE_HARD_RESET |
| 27 | uses CONFIG_HAVE_OPTION_TABLE |
| 28 | uses CONFIG_USE_OPTION_TABLE |
Uwe Hermann | 20a98c9 | 2009-06-05 23:02:43 +0000 | [diff] [blame] | 29 | uses CONFIG_ROM_PAYLOAD |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 30 | uses CONFIG_IRQ_SLOT_COUNT |
| 31 | uses CONFIG_MAINBOARD |
| 32 | uses CONFIG_MAINBOARD_VENDOR |
| 33 | uses CONFIG_MAINBOARD_PART_NUMBER |
Uwe Hermann | 20a98c9 | 2009-06-05 23:02:43 +0000 | [diff] [blame] | 34 | uses COREBOOT_EXTRA_VERSION |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 35 | uses CONFIG_ARCH |
| 36 | uses CONFIG_FALLBACK_SIZE |
| 37 | uses CONFIG_STACK_SIZE |
| 38 | uses CONFIG_HEAP_SIZE |
| 39 | uses CONFIG_ROM_SIZE |
| 40 | uses CONFIG_ROM_SECTION_SIZE |
| 41 | uses CONFIG_ROM_IMAGE_SIZE |
| 42 | uses CONFIG_ROM_SECTION_SIZE |
| 43 | uses CONFIG_ROM_SECTION_OFFSET |
Uwe Hermann | 20a98c9 | 2009-06-05 23:02:43 +0000 | [diff] [blame] | 44 | uses CONFIG_ROM_PAYLOAD_START |
| 45 | uses CONFIG_COMPRESSED_PAYLOAD_NRV2B |
| 46 | uses CONFIG_COMPRESSED_PAYLOAD_LZMA |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 47 | uses CONFIG_PAYLOAD_SIZE |
| 48 | uses CONFIG_ROMBASE |
| 49 | uses CONFIG_RAMBASE |
| 50 | uses CONFIG_XIP_ROM_SIZE |
| 51 | uses CONFIG_XIP_ROM_BASE |
| 52 | uses CONFIG_HAVE_MP_TABLE |
| 53 | uses CONFIG_HAVE_ACPI_TABLES |
| 54 | uses CONFIG_CROSS_COMPILE |
Uwe Hermann | 20a98c9 | 2009-06-05 23:02:43 +0000 | [diff] [blame] | 55 | uses CC |
Stefan Reinauer | 9dd27bc | 2009-06-30 17:13:58 +0000 | [diff] [blame] | 56 | uses HOSTCC |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 57 | uses CONFIG_OBJCOPY |
| 58 | uses CONFIG_DEFAULT_CONSOLE_LOGLEVEL |
| 59 | uses CONFIG_MAXIMUM_CONSOLE_LOGLEVEL |
Uwe Hermann | 20a98c9 | 2009-06-05 23:02:43 +0000 | [diff] [blame] | 60 | uses CONFIG_CONSOLE_SERIAL8250 |
| 61 | uses CONFIG_UDELAY_TSC |
| 62 | uses CONFIG_TSC_X86RDTSC_CALIBRATE_WITH_TIMER2 |
| 63 | uses CONFIG_PCI_ROM_RUN |
| 64 | uses CONFIG_CONSOLE_VGA |
| 65 | uses CONFIG_MAX_PCI_BUSES |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 66 | uses CONFIG_TTYS0_BAUD |
Uwe Hermann | 20a98c9 | 2009-06-05 23:02:43 +0000 | [diff] [blame] | 67 | uses CONFIG_VIDEO_MB |
| 68 | uses CONFIG_IOAPIC |
| 69 | |
Uwe Hermann | 0ffff34 | 2009-06-07 13:46:50 +0000 | [diff] [blame] | 70 | ## New options |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 71 | uses CONFIG_USE_DCACHE_RAM |
| 72 | uses CONFIG_DCACHE_RAM_BASE |
| 73 | uses CONFIG_DCACHE_RAM_SIZE |
Uwe Hermann | 20a98c9 | 2009-06-05 23:02:43 +0000 | [diff] [blame] | 74 | uses CONFIG_USE_INIT |
Stefan Reinauer | 9ca6ed5 | 2009-06-09 15:22:47 +0000 | [diff] [blame] | 75 | #uses MAX_RAM_SLOTS |
| 76 | #uses USB_ENABLE |
| 77 | #uses EHCI_ENABLE |
| 78 | #uses HPET_ENABLE |
| 79 | #uses USB_PORTNUM |
| 80 | #uses FULL_ROM_SIZE |
| 81 | #uses FULL_ROM_BASE |
| 82 | #uses PAYLOAD_IS_SEABIOS |
| 83 | #uses VIACONFIG_TOP_SM_SIZE_MB |
| 84 | #uses VIACONFIG_VGA_PCI_10 |
| 85 | #uses VIACONFIG_VGA_PCI_14 |
Uwe Hermann | 20a98c9 | 2009-06-05 23:02:43 +0000 | [diff] [blame] | 86 | |
Uwe Hermann | 0ffff34 | 2009-06-07 13:46:50 +0000 | [diff] [blame] | 87 | ## New options |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 88 | default CONFIG_USE_DCACHE_RAM = 1 |
| 89 | default CONFIG_DCACHE_RAM_BASE = 0xffef0000 |
| 90 | # default CONFIG_DCACHE_RAM_BASE = 0xffbf0000 |
| 91 | # default CONFIG_DCACHE_RAM_BASE = 0xfec00000 # HPET may use this. |
| 92 | default CONFIG_DCACHE_RAM_SIZE = 8 * 1024 |
Uwe Hermann | 0ffff34 | 2009-06-07 13:46:50 +0000 | [diff] [blame] | 93 | default CONFIG_USE_INIT = 0 |
Stefan Reinauer | 9ca6ed5 | 2009-06-09 15:22:47 +0000 | [diff] [blame] | 94 | #default MAX_RAM_SLOTS = 2 |
| 95 | #default USB_ENABLE = 1 |
| 96 | #default EHCI_ENABLE = 1 |
| 97 | #default HPET_ENABLE = 1 |
| 98 | #default USB_PORTNUM = 2 |
| 99 | #default FULL_ROM_SIZE = 512 * 1024 |
| 100 | #default FULL_ROM_BASE = (0xffffffff - FULL_ROM_SIZE + 1) |
| 101 | #default VIACONFIG_TOP_SM_SIZE_MB = 0 |
Uwe Hermann | 0ffff34 | 2009-06-07 13:46:50 +0000 | [diff] [blame] | 102 | # default VIACONFIG_VGA_PCI_10 = 0xd0000008 |
| 103 | # default VIACONFIG_VGA_PCI_14 = 0xfd000000 |
Stefan Reinauer | 9ca6ed5 | 2009-06-09 15:22:47 +0000 | [diff] [blame] | 104 | #default VIACONFIG_VGA_PCI_10 = 0xf8000008 |
| 105 | #default VIACONFIG_VGA_PCI_14 = 0xfc000000 |
Uwe Hermann | 20a98c9 | 2009-06-05 23:02:43 +0000 | [diff] [blame] | 106 | |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 107 | default CONFIG_ROM_SIZE = 512 * 1024 |
Uwe Hermann | 20a98c9 | 2009-06-05 23:02:43 +0000 | [diff] [blame] | 108 | default CONFIG_IOAPIC = 1 |
| 109 | |
Uwe Hermann | 0ffff34 | 2009-06-07 13:46:50 +0000 | [diff] [blame] | 110 | # Define framebuffer size of VX800's integrated graphics card. |
| 111 | # Supports: 32, 64, 128, 256. |
Uwe Hermann | 20a98c9 | 2009-06-05 23:02:43 +0000 | [diff] [blame] | 112 | default CONFIG_VIDEO_MB = 64 |
| 113 | |
| 114 | default CONFIG_CONSOLE_SERIAL8250 = 1 |
| 115 | default CONFIG_PCI_ROM_RUN = 0 |
| 116 | default CONFIG_CONSOLE_VGA = 0 |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 117 | default CONFIG_HAVE_FALLBACK_BOOT = 1 |
| 118 | default CONFIG_HAVE_MP_TABLE = 0 |
Uwe Hermann | 20a98c9 | 2009-06-05 23:02:43 +0000 | [diff] [blame] | 119 | default CONFIG_UDELAY_TSC = 1 |
| 120 | default CONFIG_TSC_X86RDTSC_CALIBRATE_WITH_TIMER2 = 1 |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 121 | default CONFIG_HAVE_HARD_RESET = 0 |
| 122 | default CONFIG_HAVE_PIRQ_TABLE = 0 |
Uwe Hermann | 4e2ffb8 | 2009-07-15 00:03:28 +0000 | [diff] [blame] | 123 | default CONFIG_IRQ_SLOT_COUNT = 13 |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 124 | default CONFIG_HAVE_ACPI_TABLES = 1 |
| 125 | default CONFIG_HAVE_OPTION_TABLE = 1 |
| 126 | default CONFIG_ROM_IMAGE_SIZE = 128 * 1024 |
Patrick Georgi | b339e10 | 2009-08-11 17:35:02 +0000 | [diff] [blame^] | 127 | default CONFIG_FALLBACK_SIZE = CONFIG_ROM_IMAGE_SIZE |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 128 | default CONFIG_USE_FALLBACK_IMAGE = 1 |
| 129 | default CONFIG_STACK_SIZE = 16 * 1024 |
| 130 | default CONFIG_HEAP_SIZE = 20 * 1024 |
| 131 | # default CONFIG_USE_OPTION_TABLE = !CONFIG_USE_FALLBACK_IMAGE |
| 132 | default CONFIG_USE_OPTION_TABLE = 0 |
| 133 | default CONFIG_RAMBASE = 0x00004000 |
Uwe Hermann | 20a98c9 | 2009-06-05 23:02:43 +0000 | [diff] [blame] | 134 | default CONFIG_ROM_PAYLOAD = 1 |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 135 | default CONFIG_CROSS_COMPILE = "" |
| 136 | default CC = "$(CONFIG_CROSS_COMPILE)gcc -m32" |
Stefan Reinauer | 9dd27bc | 2009-06-30 17:13:58 +0000 | [diff] [blame] | 137 | default HOSTCC = "gcc" |
Uwe Hermann | 4e2ffb8 | 2009-07-15 00:03:28 +0000 | [diff] [blame] | 138 | default CONFIG_DEFAULT_CONSOLE_LOGLEVEL = 9 |
| 139 | default CONFIG_MAXIMUM_CONSOLE_LOGLEVEL = 9 |
Patrick Georgi | b339e10 | 2009-08-11 17:35:02 +0000 | [diff] [blame^] | 140 | default CONFIG_CBFS=1 |
Uwe Hermann | 20a98c9 | 2009-06-05 23:02:43 +0000 | [diff] [blame] | 141 | |
| 142 | ## |
| 143 | ## Set this to the max PCI bus number you would ever use for PCI config I/O. |
| 144 | ## Setting this number very high will make pci_locate_device() take a long |
| 145 | ## time when it can't find a device. |
| 146 | ## |
| 147 | default CONFIG_MAX_PCI_BUSES = 3 |
Uwe Hermann | 20a98c9 | 2009-06-05 23:02:43 +0000 | [diff] [blame] | 148 | |
Uwe Hermann | 20a98c9 | 2009-06-05 23:02:43 +0000 | [diff] [blame] | 149 | end |