This patch unifies the use of config options in v2 to all start with CONFIG_
[coreboot.git] / targets / amd / serengeti_cheetah_fam10 / Config.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 # 512KB ROM
33 option CONFIG_ROM_SIZE=1024*1024
34
35 # Cheetah Family 10
36 #romimage "normal"
37 #       1MB ROM
38 #       option CONFIG_ROM_SIZE = 0x100000
39 #       option CONFIG_USE_FAILOVER_IMAGE=0
40 #       option CONFIG_USE_FALLBACK_IMAGE=0
41 #       option CONFIG_ROM_IMAGE_SIZE=0x20000
42 #       option CONFIG_ROM_IMAGE_SIZE=0x30000
43 #       option CONFIG_XIP_ROM_SIZE=0x40000
44 #       option COREBOOT_EXTRA_VERSION="$(shell cat ../../VERSION)_Normal"
45 #       payload ../payload.elf
46 #end
47
48 romimage "fallback"
49         option CONFIG_USE_FAILOVER_IMAGE=0
50         option CONFIG_USE_FALLBACK_IMAGE=1
51 #       option CONFIG_ROM_IMAGE_SIZE=0x13800
52 #       option CONFIG_ROM_IMAGE_SIZE=0x19800
53         option CONFIG_ROM_IMAGE_SIZE=0x7f000
54 #       option CONFIG_ROM_IMAGE_SIZE=0x15800
55         option CONFIG_XIP_ROM_SIZE=0x80000
56         option COREBOOT_EXTRA_VERSION="$(shell cat ../../VERSION)_Fallback"
57         payload ../payload.elf
58 end
59
60 romimage "failover"
61         option CONFIG_USE_FAILOVER_IMAGE=1
62         option CONFIG_USE_FALLBACK_IMAGE=0
63         option CONFIG_ROM_IMAGE_SIZE=CONFIG_FAILOVER_SIZE
64         option CONFIG_XIP_ROM_SIZE=CONFIG_FAILOVER_SIZE
65         option COREBOOT_EXTRA_VERSION="$(shell cat ../../VERSION)_Failover"
66 end
67
68 #buildrom ./coreboot.rom CONFIG_ROM_SIZE "normal" "fallback" "failover"
69 buildrom ./coreboot.rom CONFIG_ROM_SIZE "fallback" "failover"
70