Myles Watson | f2b380a | 2008-02-06 22:33:50 +0000 | [diff] [blame] | 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 |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 28 | option CONFIG_DEFAULT_CONSOLE_LOGLEVEL=9 |
Myles Watson | f2b380a | 2008-02-06 22:33:50 +0000 | [diff] [blame] | 29 | # At a maximum only compile in this level of debugging |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 30 | option CONFIG_MAXIMUM_CONSOLE_LOGLEVEL=9 |
Myles Watson | f2b380a | 2008-02-06 22:33:50 +0000 | [diff] [blame] | 31 | |
| 32 | # 1024KB ROM |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 33 | option CONFIG_ROM_SIZE=1024*1024 |
Myles Watson | f2b380a | 2008-02-06 22:33:50 +0000 | [diff] [blame] | 34 | |
| 35 | romimage "fallback" |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 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 |
Myles Watson | f2b380a | 2008-02-06 22:33:50 +0000 | [diff] [blame] | 40 | option COREBOOT_EXTRA_VERSION="$(shell cat ../../VERSION)_Fallback" |
| 41 | payload ../payload.elf.lzma |
| 42 | end |
| 43 | |
| 44 | romimage "failover" |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 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 |
Myles Watson | f2b380a | 2008-02-06 22:33:50 +0000 | [diff] [blame] | 49 | option COREBOOT_EXTRA_VERSION="$(shell cat ../../VERSION)_Failover" |
| 50 | end |
| 51 | |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 52 | buildrom ./coreboot.rom CONFIG_ROM_SIZE "fallback" "failover" |
Myles Watson | f2b380a | 2008-02-06 22:33:50 +0000 | [diff] [blame] | 53 | |