This patch unifies the use of config options in v2 to all start with CONFIG_
[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 CONFIG_CROSS_COMPILE="CROSS_PREFIX"
26 option CONFIG_HOSTCC="CROSS_HOSTCC"
27
28 __COMPRESSION__
29 __LOGLEVEL__
30
31 romimage "normal"
32         option CONFIG_USE_FAILOVER_IMAGE=0
33         option CONFIG_USE_FALLBACK_IMAGE=0
34         option CONFIG_ROM_IMAGE_SIZE=0x34000
35         option CONFIG_XIP_ROM_SIZE=0x40000
36         option COREBOOT_EXTRA_VERSION=".0-Normal"
37         payload __PAYLOAD__
38 end
39
40 romimage "fallback" 
41         option CONFIG_USE_FAILOVER_IMAGE=0
42         option CONFIG_USE_FALLBACK_IMAGE=1
43         option CONFIG_ROM_IMAGE_SIZE=0x34000
44         option CONFIG_XIP_ROM_SIZE=0x40000
45         option COREBOOT_EXTRA_VERSION=".0-Fallback"
46         payload __PAYLOAD__
47 end
48
49 romimage "failover"
50         option CONFIG_USE_FAILOVER_IMAGE=1
51         option CONFIG_USE_FALLBACK_IMAGE=0
52         option CONFIG_ROM_IMAGE_SIZE=CONFIG_FAILOVER_SIZE
53         option CONFIG_XIP_ROM_SIZE=CONFIG_FAILOVER_SIZE
54         option COREBOOT_EXTRA_VERSION=".0-Failover"
55 end
56
57 buildrom ./coreboot.rom CONFIG_ROM_SIZE "normal" "fallback" "failover"