This patch unifies the use of config options in v2 to all start with CONFIG_
[coreboot.git] / targets / gigabyte / ga_2761gxdk / Config.lb
1 ##
2 ## This file is part of the coreboot project.
3 ##
4 ## Copyright (C) 2007 AMD
5 ## Written by Yinghai Lu <yinghailu@gmail.com> for AMD.
6 ## Copyright (C) 2007 Silicon Integrated Systems Corp. (SiS)
7 ## Written by Morgan Tsai <my_tsai@sis.com> for SiS.
8 ##
9 ## This program is free software; you can redistribute it and/or modify
10 ## it under the terms of the GNU General Public License as published by
11 ## the Free Software Foundation; either version 2 of the License, or
12 ## (at your option) any later version.
13 ##
14 ## This program is distributed in the hope that it will be useful,
15 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
16 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17 ## GNU General Public License for more details.
18 ##
19 ## You should have received a copy of the GNU General Public License
20 ## along with this program; if not, write to the Free Software
21 ## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
22 ##
23
24 target ga_2761gxdk
25 mainboard gigabyte/ga_2761gxdk
26
27 romimage "normal"
28 #       32K for VGA BIOS
29         option CONFIG_ROM_SIZE = (512*1024 - 32*1024)
30
31         option CONFIG_USE_FAILOVER_IMAGE=0
32         option CONFIG_ROM_IMAGE_SIZE=0x20000
33         option CONFIG_XIP_ROM_SIZE=0x40000
34         option COREBOOT_EXTRA_VERSION="$(shell cat ../../VERSION)_Normal"
35 #       payload ../../../../payloads/filo_uda1.elf
36         payload ../payload.elf
37 end
38
39 romimage "fallback"
40         option CONFIG_USE_FAILOVER_IMAGE=0
41         option CONFIG_USE_FALLBACK_IMAGE=1
42         option CONFIG_ROM_IMAGE_SIZE=0x20000
43         option CONFIG_XIP_ROM_SIZE=0x40000
44         option COREBOOT_EXTRA_VERSION="$(shell cat ../../VERSION)_Fallback"
45 #       payload ../../../../payloads/filo_uda1.elf
46         payload ../payload.elf
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="$(shell cat ../../VERSION)_Failover"
55 end
56
57 #       buildrom ./coreboot.rom CONFIG_ROM_SIZE "normal" "fallback"
58         buildrom ./coreboot.rom CONFIG_ROM_SIZE "normal" "fallback" "failover"