blob: 88c7f54d366a21551e7fa4ed85ca2a6495699a99 [file] [log] [blame]
Myles Watsonf2b380a2008-02-06 22:33:50 +00001##
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
25target serengeti_cheetah_fam10
26mainboard amd/serengeti_cheetah_fam10
27# Request this level of debugging output
Stefan Reinauer08670622009-06-30 15:17:49 +000028 option CONFIG_DEFAULT_CONSOLE_LOGLEVEL=9
Myles Watsonf2b380a2008-02-06 22:33:50 +000029# At a maximum only compile in this level of debugging
Stefan Reinauer08670622009-06-30 15:17:49 +000030 option CONFIG_MAXIMUM_CONSOLE_LOGLEVEL=9
Myles Watsonf2b380a2008-02-06 22:33:50 +000031
32# 1024KB ROM
Stefan Reinauer08670622009-06-30 15:17:49 +000033option CONFIG_ROM_SIZE=1024*1024
Myles Watsonf2b380a2008-02-06 22:33:50 +000034
35romimage "fallback"
Stefan Reinauer08670622009-06-30 15:17:49 +000036 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
Myles Watsonf2b380a2008-02-06 22:33:50 +000040 option COREBOOT_EXTRA_VERSION="$(shell cat ../../VERSION)_Fallback"
41 payload ../payload.elf.lzma
42end
43
44romimage "failover"
Stefan Reinauer08670622009-06-30 15:17:49 +000045 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
Myles Watsonf2b380a2008-02-06 22:33:50 +000049 option COREBOOT_EXTRA_VERSION="$(shell cat ../../VERSION)_Failover"
50end
51
Stefan Reinauer08670622009-06-30 15:17:49 +000052buildrom ./coreboot.rom CONFIG_ROM_SIZE "fallback" "failover"
Myles Watsonf2b380a2008-02-06 22:33:50 +000053