Arne Georg Gleditsch | 33e6d5d | 2008-08-19 17:59:34 +0000 | [diff] [blame] | 1 | ## |
| 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 | |
| 21 | target tyan_s2912_fam10 |
| 22 | mainboard tyan/s2912_fam10 |
| 23 | |
Arne Georg Gleditsch | 429d6b6 | 2008-10-30 20:17:11 +0000 | [diff] [blame] | 24 | option CC="CROSSCC" |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 25 | option CONFIG_CROSS_COMPILE="CROSS_PREFIX" |
Stefan Reinauer | 9dd27bc | 2009-06-30 17:13:58 +0000 | [diff] [blame] | 26 | option HOSTCC="CROSS_HOSTCC" |
Arne Georg Gleditsch | 429d6b6 | 2008-10-30 20:17:11 +0000 | [diff] [blame] | 27 | |
Arne Georg Gleditsch | 33e6d5d | 2008-08-19 17:59:34 +0000 | [diff] [blame] | 28 | __COMPRESSION__ |
Patrick Georgi | 2d3e712 | 2009-04-21 20:31:18 +0000 | [diff] [blame] | 29 | __LOGLEVEL__ |
Arne Georg Gleditsch | 33e6d5d | 2008-08-19 17:59:34 +0000 | [diff] [blame] | 30 | |
Stefan Reinauer | 49f8df7 | 2008-08-20 09:17:30 +0000 | [diff] [blame] | 31 | romimage "normal" |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 32 | option CONFIG_USE_FAILOVER_IMAGE=0 |
| 33 | option CONFIG_USE_FALLBACK_IMAGE=0 |
Stefan Reinauer | 49f8df7 | 2008-08-20 09:17:30 +0000 | [diff] [blame] | 34 | option COREBOOT_EXTRA_VERSION=".0-Normal" |
Arne Georg Gleditsch | 33e6d5d | 2008-08-19 17:59:34 +0000 | [diff] [blame] | 35 | payload __PAYLOAD__ |
| 36 | end |
| 37 | |
Stefan Reinauer | 49f8df7 | 2008-08-20 09:17:30 +0000 | [diff] [blame] | 38 | romimage "fallback" |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 39 | option CONFIG_USE_FAILOVER_IMAGE=0 |
| 40 | option CONFIG_USE_FALLBACK_IMAGE=1 |
Stefan Reinauer | 49f8df7 | 2008-08-20 09:17:30 +0000 | [diff] [blame] | 41 | option COREBOOT_EXTRA_VERSION=".0-Fallback" |
Arne Georg Gleditsch | 33e6d5d | 2008-08-19 17:59:34 +0000 | [diff] [blame] | 42 | payload __PAYLOAD__ |
| 43 | end |
| 44 | |
Arne Georg Gleditsch | 429d6b6 | 2008-10-30 20:17:11 +0000 | [diff] [blame] | 45 | romimage "failover" |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 46 | 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 Gleditsch | 429d6b6 | 2008-10-30 20:17:11 +0000 | [diff] [blame] | 50 | option COREBOOT_EXTRA_VERSION=".0-Failover" |
| 51 | end |
| 52 | |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 53 | buildrom ./coreboot.rom CONFIG_ROM_SIZE "normal" "fallback" "failover" |