blob: 5f85c3a917fc5c299275acf1e1b90c696a75b54a [file] [log] [blame]
Stefan Reinauer08670622009-06-30 15:17:49 +00001uses CONFIG_HAVE_MP_TABLE
Peter Stuge483b7bb2009-04-14 07:40:01 +00002uses CONFIG_CBFS
Stefan Reinauer08670622009-06-30 15:17:49 +00003uses CONFIG_HAVE_PIRQ_TABLE
4uses CONFIG_USE_FALLBACK_IMAGE
5uses CONFIG_HAVE_FALLBACK_BOOT
6uses CONFIG_HAVE_HARD_RESET
7uses CONFIG_HAVE_OPTION_TABLE
8uses CONFIG_USE_OPTION_TABLE
arch import user (historical)54d6b082005-07-06 17:17:41 +00009uses CONFIG_COMPRESS
Ed Swierkbe13dc72006-12-15 12:56:28 +000010uses CONFIG_ROM_PAYLOAD
Ronald G. Minnichccf52a92005-09-12 13:40:10 +000011uses CONFIG_USE_INIT
Stefan Reinauer08670622009-06-30 15:17:49 +000012uses CONFIG_IRQ_SLOT_COUNT
13uses CONFIG_MAINBOARD
14uses CONFIG_MAINBOARD_VENDOR
15uses CONFIG_MAINBOARD_PART_NUMBER
Stefan Reinauerf8ee1802008-01-18 15:08:58 +000016uses COREBOOT_EXTRA_VERSION
Stefan Reinauer08670622009-06-30 15:17:49 +000017uses CONFIG_ARCH
18uses CONFIG_FALLBACK_SIZE
19uses CONFIG_STACK_SIZE
20uses CONFIG_HEAP_SIZE
21uses CONFIG_ROM_SIZE
22uses CONFIG_ROM_SECTION_SIZE
23uses CONFIG_ROM_IMAGE_SIZE
24uses CONFIG_ROM_SECTION_SIZE
25uses CONFIG_ROM_SECTION_OFFSET
Ed Swierkbe13dc72006-12-15 12:56:28 +000026uses CONFIG_ROM_PAYLOAD_START
Ed Swierk1a7a5b42006-12-15 11:42:16 +000027uses CONFIG_COMPRESSED_PAYLOAD_LZMA
Myles Watson15674b72007-12-09 17:18:29 +000028uses CONFIG_PRECOMPRESSED_PAYLOAD
Stefan Reinauer08670622009-06-30 15:17:49 +000029uses CONFIG_PAYLOAD_SIZE
30uses CONFIG_ROMBASE
31uses CONFIG_RAMBASE
32uses CONFIG_XIP_ROM_SIZE
33uses CONFIG_XIP_ROM_BASE
34uses CONFIG_HAVE_MP_TABLE
35uses CONFIG_CROSS_COMPILE
arch import user (historical)708023c2005-07-06 17:00:18 +000036uses CC
Stefan Reinauer9dd27bc2009-06-30 17:13:58 +000037uses HOSTCC
Stefan Reinauer08670622009-06-30 15:17:49 +000038uses CONFIG_OBJCOPY
arch import user (historical)708023c2005-07-06 17:00:18 +000039
arch import user (historical)54d6b082005-07-06 17:17:41 +000040uses CONFIG_CONSOLE_SERIAL8250
41
42
Stefan Reinauer08670622009-06-30 15:17:49 +000043uses CONFIG_DEFAULT_CONSOLE_LOGLEVEL
44uses CONFIG_MAXIMUM_CONSOLE_LOGLEVEL
arch import user (historical)54d6b082005-07-06 17:17:41 +000045
Ronald G. Minnichccf52a92005-09-12 13:40:10 +000046# VGA support
47uses CONFIG_CONSOLE_VGA
Ronald G. Minniche5057012005-09-12 15:20:28 +000048#uses CONFIG_LEGACY_VGABIOS
49#uses VGABIOS_START
Ronald G. Minnichccf52a92005-09-12 13:40:10 +000050uses CONFIG_PCI_ROM_RUN
51
52
arch import user (historical)54d6b082005-07-06 17:17:41 +000053default CONFIG_CONSOLE_SERIAL8250=1
Stefan Reinauer08670622009-06-30 15:17:49 +000054default CONFIG_DEFAULT_CONSOLE_LOGLEVEL=9
55default CONFIG_MAXIMUM_CONSOLE_LOGLEVEL=9
56## CONFIG_ROM_SIZE is the size of boot ROM that this board will use.
57default CONFIG_ROM_SIZE = 256*1024
arch import user (historical)708023c2005-07-06 17:00:18 +000058
59###
60### Build options
61###
62
63##
64## Build code for the fallback boot
65##
Stefan Reinauer08670622009-06-30 15:17:49 +000066default CONFIG_HAVE_FALLBACK_BOOT=1
arch import user (historical)708023c2005-07-06 17:00:18 +000067
68##
69## no MP table
70##
Stefan Reinauer08670622009-06-30 15:17:49 +000071default CONFIG_HAVE_MP_TABLE=0
arch import user (historical)708023c2005-07-06 17:00:18 +000072
73##
Stefan Reinauerf8ee1802008-01-18 15:08:58 +000074## Build code to reset the motherboard from coreboot
arch import user (historical)708023c2005-07-06 17:00:18 +000075##
Stefan Reinauer08670622009-06-30 15:17:49 +000076default CONFIG_HAVE_HARD_RESET=0
arch import user (historical)708023c2005-07-06 17:00:18 +000077
78##
79## Build code to export a programmable irq routing table
80##
Stefan Reinauer08670622009-06-30 15:17:49 +000081default CONFIG_HAVE_PIRQ_TABLE=1
82default CONFIG_IRQ_SLOT_COUNT=7
arch import user (historical)708023c2005-07-06 17:00:18 +000083#object irq_tables.o
84
85##
86## Build code to export a CMOS option table
87##
Stefan Reinauer08670622009-06-30 15:17:49 +000088default CONFIG_HAVE_OPTION_TABLE=1
arch import user (historical)708023c2005-07-06 17:00:18 +000089
90###
Stefan Reinauerf8ee1802008-01-18 15:08:58 +000091### coreboot layout values
arch import user (historical)708023c2005-07-06 17:00:18 +000092###
93
Stefan Reinauer08670622009-06-30 15:17:49 +000094## CONFIG_ROM_IMAGE_SIZE is the amount of space to allow coreboot to occupy.
95default CONFIG_ROM_IMAGE_SIZE = 65536
Patrick Georgib339e102009-08-11 17:35:02 +000096default CONFIG_FALLBACK_SIZE = CONFIG_ROM_IMAGE_SIZE
arch import user (historical)708023c2005-07-06 17:00:18 +000097
98##
99## Use a small 8K stack
100##
Stefan Reinauer08670622009-06-30 15:17:49 +0000101default CONFIG_STACK_SIZE=0x2000
arch import user (historical)708023c2005-07-06 17:00:18 +0000102
103##
104## Use a small 16K heap
105##
Stefan Reinauer08670622009-06-30 15:17:49 +0000106default CONFIG_HEAP_SIZE=0x4000
arch import user (historical)708023c2005-07-06 17:00:18 +0000107
108##
109## Only use the option table in a normal image
110##
Stefan Reinauer08670622009-06-30 15:17:49 +0000111#default CONFIG_USE_OPTION_TABLE = !CONFIG_USE_FALLBACK_IMAGE
112default CONFIG_USE_OPTION_TABLE = 0
arch import user (historical)708023c2005-07-06 17:00:18 +0000113
Stefan Reinauer08670622009-06-30 15:17:49 +0000114default CONFIG_RAMBASE = 0x00004000
arch import user (historical)708023c2005-07-06 17:00:18 +0000115
Ed Swierkbe13dc72006-12-15 12:56:28 +0000116default CONFIG_ROM_PAYLOAD = 1
arch import user (historical)708023c2005-07-06 17:00:18 +0000117
118##
119## The default compiler
120##
Stefan Reinauer08670622009-06-30 15:17:49 +0000121default CC="$(CONFIG_CROSS_COMPILE)gcc -m32"
Stefan Reinauer9dd27bc2009-06-30 17:13:58 +0000122default HOSTCC="gcc"
arch import user (historical)708023c2005-07-06 17:00:18 +0000123
Ronald G. Minnichd469cda2009-03-31 16:32:01 +0000124
125
126#
Peter Stuge483b7bb2009-04-14 07:40:01 +0000127# CBFS
Ronald G. Minnichd469cda2009-03-31 16:32:01 +0000128#
129#
Patrick Georgib339e102009-08-11 17:35:02 +0000130default CONFIG_CBFS=1
arch import user (historical)708023c2005-07-06 17:00:18 +0000131end