2 ## This file is part of the coreboot project.
4 ## Copyright (C) 2007 AMD
5 ## Written by Yinghai Lu <yinghailu@gmail.com> for AMD.
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.
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.
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
22 # Sample config file for
25 mainboard gigabyte/m57sli
27 option ROM_SIZE=0x100000
28 option FALLBACK_SIZE=(ROM_SIZE-0x1000)
31 option USE_FAILOVER_IMAGE=0
32 option USE_FALLBACK_IMAGE=1
33 option CONFIG_COMPRESSED_PAYLOAD_LZMA=1
34 option CONFIG_PRECOMPRESSED_PAYLOAD=1
35 option ROM_IMAGE_SIZE=0x17000
36 option XIP_ROM_SIZE=0x40000
37 option COREBOOT_EXTRA_VERSION="$(shell cat ../../VERSION)_Fallback"
38 payload ../payload.elf.lzma
42 option USE_FAILOVER_IMAGE=1
43 option USE_FALLBACK_IMAGE=0
44 option ROM_IMAGE_SIZE=FAILOVER_SIZE
45 option XIP_ROM_SIZE=FAILOVER_SIZE
46 option COREBOOT_EXTRA_VERSION="$(shell cat ../../VERSION)_Failover"
49 buildrom ./coreboot.rom ROM_SIZE "fallback" "failover"