This patch unifies the use of config options in v2 to all start with CONFIG_
[coreboot.git] / targets / tyan / s2912_fam10 / 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 ##
7 ## This program is free software; you can redistribute it and/or modify
8 ## it under the terms of the GNU General Public License as published by
9 ## the Free Software Foundation; either version 2 of the License, or
10 ## (at your option) any later version.
11 ##
12 ## This program is distributed in the hope that it will be useful,
13 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
14 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 ## GNU General Public License for more details.
16 ##
17 ## You should have received a copy of the GNU General Public License
18 ## along with this program; if not, write to the Free Software
19 ## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
20 ##
21
22 # Sample config file for s2912
23
24 target s2912_fam10
25 mainboard tyan/s2912_fam10
26
27 # Make room for ATI ES1000 VGA ROM
28 option CONFIG_ROM_SIZE=ROM_SIZE-44*1024
29
30 romimage "normal"
31         option CONFIG_USE_FAILOVER_IMAGE=0
32         option CONFIG_USE_FALLBACK_IMAGE=0
33         option CONFIG_ROM_IMAGE_SIZE=0x20000
34         option CONFIG_XIP_ROM_SIZE=0x40000
35         option COREBOOT_EXTRA_VERSION="$(shell cat ../../VERSION)_Normal"
36 #       payload ../../../../payloads/forcedeth--filo_hda2_vga_5_4_2_mcp55.zelf
37         payload ../payload.elf
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=0x20000
44         option CONFIG_XIP_ROM_SIZE=0x40000
45         option COREBOOT_EXTRA_VERSION="$(shell cat ../../VERSION)_Fallback"
46 #       payload ../../../../payloads/forcedeth--filo_hda2_vga_5_4_2_mcp55.zelf
47         payload ../payload.elf
48 end
49
50 romimage "failover"
51         option CONFIG_USE_FAILOVER_IMAGE=1
52         option CONFIG_USE_FALLBACK_IMAGE=0
53         option CONFIG_ROM_IMAGE_SIZE=CONFIG_FAILOVER_SIZE
54         option CONFIG_XIP_ROM_SIZE=CONFIG_FAILOVER_SIZE
55         option COREBOOT_EXTRA_VERSION="$(shell cat ../../VERSION)_Failover"
56 end
57
58 buildrom ./coreboot.rom CONFIG_ROM_SIZE "normal" "fallback" "failover"