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