This patch unifies the use of config options in v2 to all start with CONFIG_
[coreboot.git] / targets / supermicro / h8dme / Config.lb.kernel
1 ##
2 ## This file is part of the coreboot project.
3 ##
4 ## This program is free software; you can redistribute it and/or modify
5 ## it under the terms of the GNU General Public License as published by
6 ## the Free Software Foundation; either version 2 of the License, or
7 ## (at your option) any later version.
8 ##
9 ## This program is distributed in the hope that it will be useful,
10 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
11 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12 ## GNU General Public License for more details.
13 ##
14 ## You should have received a copy of the GNU General Public License
15 ## along with this program; if not, write to the Free Software
16 ## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
17 ##
18
19 target h8dme
20 mainboard supermicro/h8dme
21
22 option CONFIG_ROM_SIZE=0x200000
23 option CONFIG_FALLBACK_SIZE=(CONFIG_ROM_SIZE-0x1000)
24
25 romimage "fallback"
26         option CONFIG_USE_FAILOVER_IMAGE=0
27         option CONFIG_USE_FALLBACK_IMAGE=1
28         option CONFIG_COMPRESSED_PAYLOAD_LZMA=1
29         option CONFIG_PRECOMPRESSED_PAYLOAD=1
30         option CONFIG_ROM_IMAGE_SIZE=0x18000
31         option CONFIG_XIP_ROM_SIZE=0x40000
32         option COREBOOT_EXTRA_VERSION="$(shell cat ../../VERSION)_Fallback"
33
34 end
35
36 romimage "failover"
37         option CONFIG_USE_FAILOVER_IMAGE=1
38         option CONFIG_USE_FALLBACK_IMAGE=0
39         option CONFIG_ROM_IMAGE_SIZE=CONFIG_FAILOVER_SIZE
40         option CONFIG_XIP_ROM_SIZE=CONFIG_FAILOVER_SIZE
41         option COREBOOT_EXTRA_VERSION="$(shell cat ../../VERSION)_Failover"
42 end
43
44
45 buildrom ./coreboot.rom CONFIG_ROM_SIZE "fallback" "failover"