blob: dfb385da80c2b1a157aeae65394e5ac8fb3ecb34 [file] [log] [blame]
Kyösti Mälkkid4955f02017-09-08 07:14:17 +03001#
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; version 2 of the License.
7#
8# This program is distributed in the hope that it will be useful,
9# but WITHOUT ANY WARRANTY; without even the implied warranty of
10# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11# GNU General Public License for more details.
12#
13
14ifeq ($(CONFIG_DRIVERS_AMD_PI),y)
15
Kyösti Mälkkid4955f02017-09-08 07:14:17 +030016romstage-y += romstage.c
17romstage-y += mtrr_fixme.c
18romstage-y += state_machine.c
19
20ramstage-y += state_machine.c
21
22cpu_incs-y += $(src)/drivers/amd/agesa/cache_as_ram.S
Kyösti Mälkki56397362017-09-07 22:13:10 +030023postcar-y += exit_car.S
Kyösti Mälkkid4955f02017-09-08 07:14:17 +030024
Kyösti Mälkkid4955f02017-09-08 07:14:17 +030025romstage-y += def_callouts.c
26romstage-y += eventlog.c
27
28ramstage-y += def_callouts.c
29ramstage-y += eventlog.c
30ramstage-y += heapmanager.c
31ramstage-y += acpi_tables.c
32
33romstage-$(CONFIG_CPU_AMD_AGESA) += oem_s3.c
34ramstage-$(CONFIG_CPU_AMD_AGESA) += oem_s3.c s3_mtrr.c
35
36endif