blob: 2ec827d3d81a11fae5c90af953cd3ceafacaa5a9 [file] [log] [blame]
Arne Georg Gleditsch33e6d5d2008-08-19 17:59:34 +00001##
2## This file is part of the coreboot project.
3##
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
21target tyan_s2912_fam10
22mainboard tyan/s2912_fam10
23
Arne Georg Gleditsch429d6b62008-10-30 20:17:11 +000024option 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"
Arne Georg Gleditsch429d6b62008-10-30 20:17:11 +000027
Arne Georg Gleditsch33e6d5d2008-08-19 17:59:34 +000028__COMPRESSION__
Patrick Georgi2d3e7122009-04-21 20:31:18 +000029__LOGLEVEL__
Arne Georg Gleditsch33e6d5d2008-08-19 17:59:34 +000030
Stefan Reinauer49f8df72008-08-20 09:17:30 +000031romimage "normal"
Stefan Reinauer08670622009-06-30 15:17:49 +000032 option CONFIG_USE_FAILOVER_IMAGE=0
33 option CONFIG_USE_FALLBACK_IMAGE=0
Stefan Reinauer49f8df72008-08-20 09:17:30 +000034 option COREBOOT_EXTRA_VERSION=".0-Normal"
Arne Georg Gleditsch33e6d5d2008-08-19 17:59:34 +000035 payload __PAYLOAD__
36end
37
Stefan Reinauer49f8df72008-08-20 09:17:30 +000038romimage "fallback"
Stefan Reinauer08670622009-06-30 15:17:49 +000039 option CONFIG_USE_FAILOVER_IMAGE=0
40 option CONFIG_USE_FALLBACK_IMAGE=1
Stefan Reinauer49f8df72008-08-20 09:17:30 +000041 option COREBOOT_EXTRA_VERSION=".0-Fallback"
Arne Georg Gleditsch33e6d5d2008-08-19 17:59:34 +000042 payload __PAYLOAD__
43end
44
Arne Georg Gleditsch429d6b62008-10-30 20:17:11 +000045romimage "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
Arne Georg Gleditsch429d6b62008-10-30 20:17:11 +000050 option COREBOOT_EXTRA_VERSION=".0-Failover"
51end
52
Stefan Reinauer08670622009-06-30 15:17:49 +000053buildrom ./coreboot.rom CONFIG_ROM_SIZE "normal" "fallback" "failover"