2 # This file is part of the coreboot project.
4 # Copyright (C) 2011 Advanced Micro Devices, Inc.
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.
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.
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
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
27 romstage-y += buildOpts.c
28 romstage-y += agesawrapper.c
29 romstage-y += dimmSpd.c
30 romstage-y += BiosCallOuts.c
31 romstage-y += PlatformGnbPcie.c
33 ramstage-y += buildOpts.c
34 ramstage-y += agesawrapper.c
35 ramstage-y += dimmSpd.c
36 ramstage-y += BiosCallOuts.c
37 ramstage-y += PlatformGnbPcie.c
41 subdirs-$(CONFIG_CPU_AMD_AGESA_FAMILY14) += ../../../vendorcode/amd/agesa/f14