Add Supermicro h8dm3 mainboard. This is mostly a copy from the h8dmr.
[coreboot.git] / targets / supermicro / h8dme / Config-lab.lb
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 h8dmre
20 mainboard supermicro/h8dme
21
22 option ROM_SIZE=0x100000
23 # 44K for ATI ROM in 1M; 4K for failover
24 option FALLBACK_SIZE=(ROM_SIZE-0xC000)
25
26 romimage "fallback"
27         option USE_FAILOVER_IMAGE=0
28         option USE_FALLBACK_IMAGE=1
29         option CONFIG_COMPRESSED_PAYLOAD_LZMA=1
30         option CONFIG_PRECOMPRESSED_PAYLOAD=1
31         option ROM_IMAGE_SIZE=0x18000
32         option XIP_ROM_SIZE=0x40000
33         option COREBOOT_EXTRA_VERSION="$(shell cat ../../VERSION)_Fallback"
34         payload ../payload.elf.lzma
35 end
36
37 romimage "failover"
38         option USE_FAILOVER_IMAGE=1
39         option USE_FALLBACK_IMAGE=0
40         option ROM_IMAGE_SIZE=FAILOVER_SIZE
41         option XIP_ROM_SIZE=FAILOVER_SIZE
42         option COREBOOT_EXTRA_VERSION="$(shell cat ../../VERSION)_Failover"
43 end
44
45 buildrom ./coreboot.rom ROM_SIZE "fallback" "failover"