463503be69540a679937c31556bcaa484a7b9504
[coreboot.git] / targets / gigabyte / ga_2761gxdk / 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 gigabyte_ga_2761gxdk
22 mainboard gigabyte/ga_2761gxdk
23
24 __COMPRESSION__
25
26 option ROM_SIZE = 512*1024
27
28 romimage "normal"
29         option USE_FAILOVER_IMAGE=0
30         option USE_FALLBACK_IMAGE=0
31         option ROM_IMAGE_SIZE=0x28000
32         option XIP_ROM_SIZE=0x40000
33         option COREBOOT_EXTRA_VERSION=".0-Normal"
34         payload __PAYLOAD__
35 end
36
37 romimage "fallback" 
38         option USE_FAILOVER_IMAGE=0
39         option USE_FALLBACK_IMAGE=1
40         option ROM_IMAGE_SIZE=0x20000
41         option XIP_ROM_SIZE=0x40000
42         option COREBOOT_EXTRA_VERSION=".0-Fallback"
43         payload __PAYLOAD__
44 end
45
46 romimage "failover"
47         option USE_FAILOVER_IMAGE=1
48         option USE_FALLBACK_IMAGE=0
49         option ROM_IMAGE_SIZE=FAILOVER_SIZE
50         option XIP_ROM_SIZE=FAILOVER_SIZE
51         option COREBOOT_EXTRA_VERSION=".0-Failover"
52 end
53
54
55 buildrom ./coreboot.rom ROM_SIZE "normal" "fallback" "failover"