this should get the VIA VT8454c in shape with Kconfig
[coreboot.git] / targets / tyan / s2912 / 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
25 mainboard tyan/s2912
26
27 romimage "normal"
28         option CONFIG_USE_FAILOVER_IMAGE=0
29         option CONFIG_USE_FALLBACK_IMAGE=0
30         option COREBOOT_EXTRA_VERSION="$(shell cat ../../VERSION)_Normal"
31         payload ../payload.elf
32 end
33
34 romimage "fallback" 
35         option CONFIG_USE_FAILOVER_IMAGE=0
36         option CONFIG_USE_FALLBACK_IMAGE=1
37         option COREBOOT_EXTRA_VERSION="$(shell cat ../../VERSION)_Fallback"
38 #       payload ../../../../payloads/forcedeth--filo_hda2_vga_5_4_2_mcp55.zelf
39         payload ../payload.elf
40 end
41
42 romimage "failover"
43         option CONFIG_USE_FAILOVER_IMAGE=1
44         option CONFIG_USE_FALLBACK_IMAGE=0
45         option CONFIG_ROM_IMAGE_SIZE=CONFIG_FAILOVER_SIZE
46         option CONFIG_XIP_ROM_SIZE=CONFIG_FAILOVER_SIZE
47         option COREBOOT_EXTRA_VERSION="$(shell cat ../../VERSION)_Failover"
48 end
49
50 buildrom ./coreboot.rom CONFIG_ROM_SIZE "normal" "fallback" "failover"