b09c15fabea20e8c08bf02b3562e77ad942dca78
[coreboot.git] / targets / tyan / s2912_fam10 / Config-abuild.lb
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
24 option CC="CROSSCC"
25 option CROSS_COMPILE="CROSS_PREFIX"
26 option HOSTCC="CROSS_HOSTCC"
27
28 __COMPRESSION__
29
30 romimage "normal"
31         option USE_FAILOVER_IMAGE=0
32         option USE_FALLBACK_IMAGE=0
33         option ROM_IMAGE_SIZE=0x20000
34         option XIP_ROM_SIZE=0x40000
35         option COREBOOT_EXTRA_VERSION=".0-Normal"
36         payload __PAYLOAD__
37 end
38
39 romimage "fallback" 
40         option USE_FAILOVER_IMAGE=0
41         option USE_FALLBACK_IMAGE=1
42         option ROM_IMAGE_SIZE=0x20000
43         option XIP_ROM_SIZE=0x40000
44         option COREBOOT_EXTRA_VERSION=".0-Fallback"
45         payload __PAYLOAD__
46 end
47
48 romimage "failover"
49         option USE_FAILOVER_IMAGE=1
50         option USE_FALLBACK_IMAGE=0
51         option ROM_IMAGE_SIZE=FAILOVER_SIZE
52         option XIP_ROM_SIZE=FAILOVER_SIZE
53         option COREBOOT_EXTRA_VERSION=".0-Failover"
54 end
55
56 buildrom ./coreboot.rom ROM_SIZE "normal" "fallback" "failover"