Kyösti Mälkki | d4955f0 | 2017-09-08 07:14:17 +0300 | [diff] [blame] | 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; 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 | |
| 14 | ifeq ($(CONFIG_DRIVERS_AMD_PI),y) |
| 15 | |
Kyösti Mälkki | d4955f0 | 2017-09-08 07:14:17 +0300 | [diff] [blame] | 16 | romstage-y += romstage.c |
| 17 | romstage-y += mtrr_fixme.c |
| 18 | romstage-y += state_machine.c |
| 19 | |
| 20 | ramstage-y += state_machine.c |
| 21 | |
| 22 | cpu_incs-y += $(src)/drivers/amd/agesa/cache_as_ram.S |
Kyösti Mälkki | 5639736 | 2017-09-07 22:13:10 +0300 | [diff] [blame^] | 23 | postcar-y += exit_car.S |
Kyösti Mälkki | d4955f0 | 2017-09-08 07:14:17 +0300 | [diff] [blame] | 24 | |
Kyösti Mälkki | d4955f0 | 2017-09-08 07:14:17 +0300 | [diff] [blame] | 25 | romstage-y += def_callouts.c |
| 26 | romstage-y += eventlog.c |
| 27 | |
| 28 | ramstage-y += def_callouts.c |
| 29 | ramstage-y += eventlog.c |
| 30 | ramstage-y += heapmanager.c |
| 31 | ramstage-y += acpi_tables.c |
| 32 | |
| 33 | romstage-$(CONFIG_CPU_AMD_AGESA) += oem_s3.c |
| 34 | ramstage-$(CONFIG_CPU_AMD_AGESA) += oem_s3.c s3_mtrr.c |
| 35 | |
| 36 | endif |