blob: 64e0349028e8ff1bf857d056a2844b03e3e41138 [file] [log] [blame]
Jon Harrisoncfb9cd22009-07-01 10:57:25 +00001##
2## This file is part of the coreboot project.
3##
4## Copyright (C) 2008 VIA Technologies, Inc.
5## (Written by Aaron Lwe <aaron.lwe@gmail.com> for VIA)
6##
7## This program is free software; you can redistribute it and/or modify
8## it under the terms of the GNU General Public License as published by
9## the Free Software Foundation; either version 2 of the License, or
10## (at your option) any later version.
11##
12## This program is distributed in the hope that it will be useful,
13## but WITHOUT ANY WARRANTY; without even the implied warranty of
14## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15## GNU General Public License for more details.
16##
17## You should have received a copy of the GNU General Public License
18## along with this program; if not, write to the Free Software
19## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
20##
21
22uses CONFIG_HAVE_MP_TABLE
23uses CONFIG_CBFS
24uses CONFIG_HAVE_PIRQ_TABLE
25uses CONFIG_HAVE_FAILOVER_BOOT
26uses CONFIG_USE_FAILOVER_IMAGE
27uses CONFIG_USE_FALLBACK_IMAGE
28uses CONFIG_HAVE_FALLBACK_BOOT
29uses CONFIG_HAVE_HARD_RESET
30uses CONFIG_HAVE_OPTION_TABLE
31uses CONFIG_USE_OPTION_TABLE
32uses CONFIG_ROM_PAYLOAD
33uses CONFIG_IRQ_SLOT_COUNT
34uses CONFIG_MAINBOARD
35uses CONFIG_MAINBOARD_VENDOR
36uses CONFIG_MAINBOARD_PART_NUMBER
37uses COREBOOT_EXTRA_VERSION
38uses CONFIG_ARCH
39uses CONFIG_LB_MEM_TOPK
40uses CONFIG_FALLBACK_SIZE
41uses CONFIG_STACK_SIZE
42uses CONFIG_HEAP_SIZE
43uses CONFIG_ROM_SIZE
44uses CONFIG_ROM_SECTION_SIZE
45uses CONFIG_ROM_IMAGE_SIZE
46uses CONFIG_ROM_SECTION_SIZE
47uses CONFIG_ROM_SECTION_OFFSET
48uses CONFIG_ROM_PAYLOAD_START
49uses CONFIG_COMPRESSED_PAYLOAD_NRV2B
50uses CONFIG_COMPRESSED_PAYLOAD_LZMA
51uses CONFIG_PAYLOAD_SIZE
52uses CONFIG_ROMBASE
53uses CONFIG_RAMBASE
54uses CONFIG_XIP_ROM_SIZE
55uses CONFIG_XIP_ROM_BASE
56uses CONFIG_HAVE_MP_TABLE
57uses CONFIG_HAVE_ACPI_TABLES
58uses CONFIG_HAVE_ACPI_RESUME
59uses CONFIG_CROSS_COMPILE
60uses CC
Jon Harrison9a7368d2009-07-01 13:19:25 +000061uses HOSTCC
Jon Harrisoncfb9cd22009-07-01 10:57:25 +000062uses CONFIG_OBJCOPY
63uses CONFIG_DEFAULT_CONSOLE_LOGLEVEL
64uses CONFIG_MAXIMUM_CONSOLE_LOGLEVEL
65uses CONFIG_CONSOLE_SERIAL8250
66uses CONFIG_UDELAY_TSC
67uses CONFIG_TSC_X86RDTSC_CALIBRATE_WITH_TIMER2
68uses CONFIG_PCI_ROM_RUN
69uses CONFIG_CONSOLE_VGA
70uses CONFIG_MAX_PCI_BUSES
71uses CONFIG_TTYS0_BAUD
72uses CONFIG_VIDEO_MB
73uses CONFIG_IOAPIC
74uses CONFIG_COMPRESS
75uses CONFIG_EPIA_VT8237R_INIT
76
77default CONFIG_EPIA_VT8237R_INIT = 1
78#default CONFIG_LB_MEM_TOPK = 4 * 1024
79default CONFIG_ROM_SIZE = 512 * 1024
80default CONFIG_COMPRESS = 1
81default CONFIG_IOAPIC = 0
82default CONFIG_VIDEO_MB = 64
83default CONFIG_CONSOLE_SERIAL8250 = 1
84default CONFIG_PCI_ROM_RUN = 0
85default CONFIG_CONSOLE_VGA = 0
86default CONFIG_HAVE_FAILOVER_BOOT = 0
87default CONFIG_USE_FAILOVER_IMAGE = 0
88default CONFIG_HAVE_FALLBACK_BOOT = 1
89default CONFIG_HAVE_MP_TABLE = 0
90default CONFIG_UDELAY_TSC = 1
91default CONFIG_TSC_X86RDTSC_CALIBRATE_WITH_TIMER2 = 1
92default CONFIG_HAVE_HARD_RESET = 0
93default CONFIG_HAVE_PIRQ_TABLE = 1
94default CONFIG_IRQ_SLOT_COUNT = 9
95default CONFIG_HAVE_ACPI_TABLES = 0
96default CONFIG_HAVE_OPTION_TABLE = 1
97#default CONFIG_ROM_IMAGE_SIZE = 67 * 1024
98#default CONFIG_PAYLOAD_SIZE = 125 * 1024
99default CONFIG_ROM_IMAGE_SIZE = 128 * 1024
100default CONFIG_PAYLOAD_SIZE = 256 * 1024
Patrick Georgib339e102009-08-11 17:35:02 +0000101default CONFIG_FALLBACK_SIZE = CONFIG_ROM_IMAGE_SIZE
Jon Harrisoncfb9cd22009-07-01 10:57:25 +0000102default CONFIG_USE_FALLBACK_IMAGE = 1
103default CONFIG_STACK_SIZE = 8 * 1024
104default CONFIG_HEAP_SIZE = 16 * 1024
105#default CONFIG_USE_OPTION_TABLE = !CONFIG_USE_FALLBACK_IMAGE
106default CONFIG_USE_OPTION_TABLE = 0
107default CONFIG_RAMBASE = 0x00004000
108default CONFIG_ROM_PAYLOAD = 1
109default CONFIG_CROSS_COMPILE = ""
110default CC = "$(CROSS_COMPILE)gcc -m32 -fno-stack-protector"
Jon Harrison9a7368d2009-07-01 13:19:25 +0000111default HOSTCC = "gcc"
Jon Harrisoncfb9cd22009-07-01 10:57:25 +0000112#default CONFIG_MAINBOARD = "EPIA-N"
113
114##
115## Set this to the max PCI bus number you would ever use for PCI config I/O.
116## Setting this number very high will make pci_locate_device() take a long
117## time when it can't find a device.
118##
119default CONFIG_MAX_PCI_BUSES = 3
120
121
122#
123# CBFS
124#
125#
Patrick Georgib339e102009-08-11 17:35:02 +0000126default CONFIG_CBFS=1
Jon Harrisoncfb9cd22009-07-01 10:57:25 +0000127end