1ed0208d15174141713c0b538a5e2dad12ba0070
[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=CONFIG_ROM_SIZE-44*1024
29
30 romimage "normal"
31         option CONFIG_USE_FAILOVER_IMAGE=0
32         option CONFIG_USE_FALLBACK_IMAGE=0
33         option COREBOOT_EXTRA_VERSION="$(shell cat ../../VERSION)_Normal"
34         payload ../payload.elf
35 end
36
37 romimage "fallback" 
38         option CONFIG_USE_FAILOVER_IMAGE=0
39         option CONFIG_USE_FALLBACK_IMAGE=1
40         option COREBOOT_EXTRA_VERSION="$(shell cat ../../VERSION)_Fallback"
41 #       payload ../../../../payloads/forcedeth--filo_hda2_vga_5_4_2_mcp55.zelf
42         payload ../payload.elf
43 end
44
45 romimage "failover"
46         option CONFIG_USE_FAILOVER_IMAGE=1
47         option CONFIG_USE_FALLBACK_IMAGE=0
48         option CONFIG_ROM_IMAGE_SIZE=CONFIG_FAILOVER_SIZE
49         option CONFIG_XIP_ROM_SIZE=CONFIG_FAILOVER_SIZE
50         option COREBOOT_EXTRA_VERSION="$(shell cat ../../VERSION)_Failover"
51 end
52
53 buildrom ./coreboot.rom CONFIG_ROM_SIZE "normal" "fallback" "failover"