this should get the VIA VT8454c in shape with Kconfig
[coreboot.git] / targets / amd / serengeti_cheetah_fam10 / Config-lab.lb
1 ##
2 ## This file is part of the coreboot project.
3 ##
4 ## Copyright (C) 2007 Advanced Micro Devices, Inc.
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 # Sample config file for
22 # the amd cheetah_fam10
23 # This will make a target directory of ./serengeti_cheetah_fam10
24
25 target serengeti_cheetah_fam10
26 mainboard amd/serengeti_cheetah_fam10
27 # Request this level of debugging output
28         option  CONFIG_DEFAULT_CONSOLE_LOGLEVEL=9
29 # At a maximum only compile in this level of debugging
30         option  CONFIG_MAXIMUM_CONSOLE_LOGLEVEL=9
31
32 # 1024KB ROM
33 option CONFIG_ROM_SIZE=1024*1024
34
35 romimage "fallback"
36         option CONFIG_USE_FAILOVER_IMAGE=0
37         option CONFIG_USE_FALLBACK_IMAGE=1
38         option CONFIG_ROM_IMAGE_SIZE=0x30000
39         option CONFIG_XIP_ROM_SIZE=0x40000
40         option COREBOOT_EXTRA_VERSION="$(shell cat ../../VERSION)_Fallback"
41         payload ../payload.elf.lzma
42 end
43
44 romimage "failover"
45         option CONFIG_USE_FAILOVER_IMAGE=1
46         option CONFIG_USE_FALLBACK_IMAGE=0
47         option CONFIG_ROM_IMAGE_SIZE=CONFIG_FAILOVER_SIZE
48         option CONFIG_XIP_ROM_SIZE=CONFIG_FAILOVER_SIZE
49         option COREBOOT_EXTRA_VERSION="$(shell cat ../../VERSION)_Failover"
50 end
51
52 buildrom ./coreboot.rom CONFIG_ROM_SIZE "fallback" "failover"
53