Add Supermicro h8dm3 mainboard. This is mostly a copy from the h8dmr.
[coreboot.git] / targets / supermicro / h8dme / Config.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 h8dme
20 mainboard supermicro/h8dme
21
22 romimage "normal"
23         option USE_FAILOVER_IMAGE=0
24         option USE_FALLBACK_IMAGE=0
25         option ROM_IMAGE_SIZE=0x20000
26         option XIP_ROM_SIZE=0x40000
27         option COREBOOT_EXTRA_VERSION="$(shell cat ../../VERSION)_Normal"
28         payload ../payload.elf
29 end
30
31 romimage "fallback"
32         option USE_FAILOVER_IMAGE=0
33         option USE_FALLBACK_IMAGE=1
34         option ROM_IMAGE_SIZE=0x20000
35         option XIP_ROM_SIZE=0x40000
36         option COREBOOT_EXTRA_VERSION="$(shell cat ../../VERSION)_Fallback"
37         payload ../payload.elf
38 end
39
40 romimage "failover"
41         option USE_FAILOVER_IMAGE=1
42         option USE_FALLBACK_IMAGE=0
43         option ROM_IMAGE_SIZE=FAILOVER_SIZE
44         option XIP_ROM_SIZE=FAILOVER_SIZE
45         option COREBOOT_EXTRA_VERSION="$(shell cat ../../VERSION)_Failover"
46 end
47
48 buildrom ./coreboot.rom ROM_SIZE "normal" "fallback" "failover"