Michael Gold | b70a45a | 2009-07-05 19:29:39 +0000 | [diff] [blame] | 1 | ## |
| 2 | ## This file is part of the coreboot project. |
| 3 | ## |
| 4 | ## Copyright (C) 2009 Michael Gold <mgold@ncf.ca> |
| 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 | |
| 21 | uses CC |
| 22 | uses CONFIG_CBFS |
| 23 | uses CONFIG_COMPRESSED_PAYLOAD_LZMA |
| 24 | uses CONFIG_CONSOLE_SERIAL8250 |
| 25 | uses CONFIG_CONSOLE_VGA |
| 26 | uses CONFIG_CROSS_COMPILE |
| 27 | uses CONFIG_DEFAULT_CONSOLE_LOGLEVEL |
| 28 | uses CONFIG_FALLBACK_SIZE |
| 29 | uses CONFIG_HAVE_FALLBACK_BOOT |
| 30 | uses CONFIG_HAVE_HARD_RESET |
| 31 | uses CONFIG_HAVE_MP_TABLE |
| 32 | uses CONFIG_HAVE_OPTION_TABLE |
| 33 | uses CONFIG_HAVE_PIRQ_TABLE |
| 34 | uses CONFIG_HEAP_SIZE |
| 35 | uses CONFIG_IRQ_SLOT_COUNT |
| 36 | uses CONFIG_MAINBOARD |
| 37 | uses CONFIG_MAINBOARD_PART_NUMBER |
| 38 | uses CONFIG_MAINBOARD_VENDOR |
| 39 | uses CONFIG_MAXIMUM_CONSOLE_LOGLEVEL |
| 40 | uses CONFIG_OBJCOPY |
| 41 | uses CONFIG_PAYLOAD_SIZE |
| 42 | uses CONFIG_PCI_ROM_RUN |
| 43 | uses CONFIG_RAMBASE |
| 44 | uses CONFIG_ROMBASE |
| 45 | uses CONFIG_ROM_IMAGE_SIZE |
| 46 | uses CONFIG_ROM_PAYLOAD |
| 47 | uses CONFIG_ROM_PAYLOAD_START |
| 48 | uses CONFIG_ROM_SECTION_OFFSET |
| 49 | uses CONFIG_ROM_SECTION_SIZE |
| 50 | uses CONFIG_ROM_SIZE |
| 51 | uses CONFIG_STACK_SIZE |
| 52 | uses CONFIG_TSC_X86RDTSC_CALIBRATE_WITH_TIMER2 |
| 53 | uses CONFIG_TTYS0_BASE |
| 54 | uses CONFIG_TTYS0_BAUD |
| 55 | uses CONFIG_TTYS0_LCS |
| 56 | uses CONFIG_UDELAY_TSC |
| 57 | uses CONFIG_USE_FALLBACK_IMAGE |
| 58 | uses CONFIG_USE_INIT |
| 59 | uses CONFIG_USE_OPTION_TABLE |
Michael Gold | ca807f1 | 2009-07-06 16:05:54 +0000 | [diff] [blame] | 60 | uses CONFIG_VIDEO_MB |
Michael Gold | b70a45a | 2009-07-05 19:29:39 +0000 | [diff] [blame] | 61 | uses CONFIG_XIP_ROM_BASE |
| 62 | uses CONFIG_XIP_ROM_SIZE |
| 63 | uses COREBOOT_EXTRA_VERSION |
| 64 | uses HOSTCC |
| 65 | |
| 66 | # Motherboard info, tables, etc. |
| 67 | default CONFIG_MAINBOARD_VENDOR = "Mitac" |
| 68 | default CONFIG_MAINBOARD_PART_NUMBER = "6513WU" |
| 69 | default CONFIG_IRQ_SLOT_COUNT = 8 |
| 70 | default CONFIG_HAVE_PIRQ_TABLE = 1 |
| 71 | default CONFIG_HAVE_MP_TABLE = 0 |
| 72 | default CONFIG_HAVE_OPTION_TABLE = 0 |
| 73 | default CONFIG_USE_OPTION_TABLE = 0 |
| 74 | |
| 75 | # ROM layout |
| 76 | default CONFIG_ROM_SIZE = 512 * 1024 |
| 77 | default CONFIG_ROM_IMAGE_SIZE = 128 * 1024 |
Patrick Georgi | b339e10 | 2009-08-11 17:35:02 +0000 | [diff] [blame^] | 78 | default CONFIG_FALLBACK_SIZE = CONFIG_ROM_IMAGE_SIZE |
Michael Gold | b70a45a | 2009-07-05 19:29:39 +0000 | [diff] [blame] | 79 | default CONFIG_HAVE_FALLBACK_BOOT = 1 |
| 80 | default CONFIG_ROM_PAYLOAD = 1 |
Patrick Georgi | b339e10 | 2009-08-11 17:35:02 +0000 | [diff] [blame^] | 81 | default CONFIG_CBFS=1 |
Michael Gold | b70a45a | 2009-07-05 19:29:39 +0000 | [diff] [blame] | 82 | |
| 83 | # RAM layout |
| 84 | default CONFIG_RAMBASE = 0x00004000 |
| 85 | default CONFIG_STACK_SIZE = 8 * 1024 |
| 86 | default CONFIG_HEAP_SIZE = 16 * 1024 |
| 87 | |
| 88 | # Misc. settings |
| 89 | default CONFIG_USE_INIT = 0 |
| 90 | default CONFIG_HAVE_HARD_RESET = 0 |
| 91 | default CONFIG_UDELAY_TSC = 1 |
| 92 | default CONFIG_TSC_X86RDTSC_CALIBRATE_WITH_TIMER2 = 1 |
| 93 | |
| 94 | # Compiler setup |
| 95 | default CONFIG_CROSS_COMPILE = "" |
| 96 | default CC = "$(CONFIG_CROSS_COMPILE)gcc -m32" |
| 97 | default HOSTCC = "gcc" |
| 98 | |
| 99 | # Console settings |
| 100 | default CONFIG_CONSOLE_SERIAL8250 = 1 |
| 101 | default CONFIG_TTYS0_BAUD = 115200 |
| 102 | default CONFIG_TTYS0_BASE = 0x3f8 |
| 103 | default CONFIG_TTYS0_LCS = 0x3 # 8n1 |
| 104 | default CONFIG_DEFAULT_CONSOLE_LOGLEVEL = 7 # No debugging/spew |
| 105 | default CONFIG_MAXIMUM_CONSOLE_LOGLEVEL = 9 |
| 106 | |
| 107 | # Enable onboard video |
| 108 | default CONFIG_CONSOLE_VGA = 1 |
| 109 | default CONFIG_PCI_ROM_RUN = 1 |
Michael Gold | ca807f1 | 2009-07-06 16:05:54 +0000 | [diff] [blame] | 110 | default CONFIG_VIDEO_MB = 1 |
Michael Gold | b70a45a | 2009-07-05 19:29:39 +0000 | [diff] [blame] | 111 | |
| 112 | end |