Change AMD vendorcode build
[coreboot.git] / src / mainboard / amd / torpedo / Makefile.inc
1 #
2 # This file is part of the coreboot project.
3 #
4 # Copyright (C) 2011 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; version 2 of the License.
9 #
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 # GNU General Public License for more details.
14 #
15 # You should have received a copy of the GNU General Public License
16 # along with this program; if not, write to the Free Software
17 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
18 #
19
20 ifeq ($(CONFIG_AHCI_BIOS),y)
21 stripped_ahcibios_id = $(call strip_quotes,$(CONFIG_AHCI_BIOS_ID))
22 cbfs-files-$(CONFIG_AHCI_BIOS) += pci$(stripped_ahcibios_id).rom
23 pci$(stripped_ahcibios_id).rom-file := $(call strip_quotes,$(CONFIG_AHCI_BIOS_FILE))
24 pci$(stripped_ahcibios_id).rom-type := optionrom
25 endif
26
27 ifeq ($(CONFIG_XHC_BIOS),y)
28 stripped_xhcbios_id = $(call strip_quotes,$(CONFIG_XHC_BIOS_ID))
29 cbfs-files-$(CONFIG_XHC_BIOS) += pci$(stripped_xhcbios_id).rom
30 pci$(stripped_xhcbios_id).rom-file := $(call strip_quotes,$(CONFIG_XHC_BIOS_FILE))
31 pci$(stripped_xhcbios_id).rom-type := optionrom
32 endif
33
34 romstage-y += buildOpts.c
35 romstage-y += agesawrapper.c
36 romstage-y += dimmSpd.c
37 romstage-y += BiosCallOuts.c
38 romstage-y += PlatformGnbPcie.c
39 romstage-y += gpio.c
40
41 ramstage-y += buildOpts.c
42 ramstage-y += agesawrapper.c
43 ramstage-y += dimmSpd.c
44 ramstage-y += BiosCallOuts.c
45 ramstage-y += PlatformGnbPcie.c
46
47 ramstage-y += reset.c
48 ramstage-y += pmio.c
49