blob: ab9568fe7f1cee309113978af927912366bbd177 [file] [log] [blame]
Uwe Hermannd9ab7982007-09-21 23:13:28 +00001##
Stefan Reinauer7e61e452008-01-18 10:35:56 +00002## This file is part of the coreboot project.
Uwe Hermannd9ab7982007-09-21 23:13:28 +00003##
4## Copyright (C) 2007 Uwe Hermann <uwe@hermann-uwe.de>
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 Reinauerbe7f7982009-03-13 15:42:27 +000021target VENDOR_MAINBOARD
22mainboard VENDOR/MAINBOARD
23
24option CC="CROSSCC"
Stefan Reinauer08670622009-06-30 15:17:49 +000025option CONFIG_CROSS_COMPILE="CROSS_PREFIX"
Stefan Reinauer9dd27bc2009-06-30 17:13:58 +000026option HOSTCC="CROSS_HOSTCC"
Uwe Hermannd9ab7982007-09-21 23:13:28 +000027
28__COMPRESSION__
Patrick Georgi2d3e7122009-04-21 20:31:18 +000029__LOGLEVEL__
Uwe Hermannd9ab7982007-09-21 23:13:28 +000030
31romimage "normal"
Stefan Reinauer08670622009-06-30 15:17:49 +000032 option CONFIG_USE_FAILOVER_IMAGE = 0
33 option CONFIG_USE_FALLBACK_IMAGE = 0
Stefan Reinauerf8ee1802008-01-18 15:08:58 +000034 option COREBOOT_EXTRA_VERSION = ".0Normal"
Uwe Hermannd9ab7982007-09-21 23:13:28 +000035 payload __PAYLOAD__
36end
37
38romimage "fallback"
Stefan Reinauer08670622009-06-30 15:17:49 +000039 option CONFIG_USE_FAILOVER_IMAGE = 0
40 option CONFIG_USE_FALLBACK_IMAGE = 1
Stefan Reinauerf8ee1802008-01-18 15:08:58 +000041 option COREBOOT_EXTRA_VERSION = ".0Fallback"
Uwe Hermannd9ab7982007-09-21 23:13:28 +000042 payload __PAYLOAD__
43end
44
45romimage "failover"
Stefan Reinauer08670622009-06-30 15:17:49 +000046 option CONFIG_USE_FAILOVER_IMAGE = 1
47 option CONFIG_USE_FALLBACK_IMAGE = 0
48 option CONFIG_ROM_IMAGE_SIZE = CONFIG_FAILOVER_SIZE
49 option CONFIG_XIP_ROM_SIZE = CONFIG_FAILOVER_SIZE
Stefan Reinauerf8ee1802008-01-18 15:08:58 +000050 option COREBOOT_EXTRA_VERSION = ".0Failover"
Uwe Hermannd9ab7982007-09-21 23:13:28 +000051end
52
Stefan Reinauer08670622009-06-30 15:17:49 +000053# buildrom ./coreboot.rom CONFIG_ROM_SIZE "normal" "fallback"
54buildrom ./coreboot.rom CONFIG_ROM_SIZE "normal" "fallback" "failover"