Stefan Reinauer | 00636b0 | 2012-04-04 00:08:51 +0200 | [diff] [blame] | 1 | # |
| 2 | # This file is part of the coreboot project. |
| 3 | # |
| 4 | # Copyright (C) 2010 Google 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 | # |
Stefan Reinauer | 00636b0 | 2012-04-04 00:08:51 +0200 | [diff] [blame] | 15 | |
Vladimir Serbinenko | 144eea0 | 2016-02-10 02:36:04 +0100 | [diff] [blame] | 16 | ifeq ($(CONFIG_NORTHBRIDGE_INTEL_SANDYBRIDGE)$(CONFIG_NORTHBRIDGE_INTEL_IVYBRIDGE),y) |
Stefan Reinauer | e1133b7 | 2015-04-27 14:04:38 -0700 | [diff] [blame] | 17 | |
Kyösti Mälkki | cb08e16 | 2013-10-15 17:19:41 +0300 | [diff] [blame] | 18 | ramstage-y += ram_calc.c |
Patrick Georgi | 23f38cd | 2012-11-16 14:50:32 +0100 | [diff] [blame] | 19 | ramstage-y += northbridge.c |
Patrick Rudolph | 0b643d2 | 2017-07-05 20:07:06 +0200 | [diff] [blame] | 20 | ramstage-y += pcie.c |
Patrick Georgi | 23f38cd | 2012-11-16 14:50:32 +0100 | [diff] [blame] | 21 | ramstage-y += gma.c |
Iru Cai | 8e7928a | 2015-10-18 23:40:34 +0800 | [diff] [blame] | 22 | ramstage-$(CONFIG_SANDYBRIDGE_IVYBRIDGE_LVDS) += gma_sandybridge_lvds.c |
| 23 | ramstage-$(CONFIG_SANDYBRIDGE_IVYBRIDGE_LVDS) += gma_ivybridge_lvds.c |
Stefan Reinauer | 00636b0 | 2012-04-04 00:08:51 +0200 | [diff] [blame] | 24 | |
Vladimir Serbinenko | 822bc65 | 2014-01-03 15:55:40 +0100 | [diff] [blame] | 25 | ramstage-y += acpi.c |
Stefan Reinauer | 00636b0 | 2012-04-04 00:08:51 +0200 | [diff] [blame] | 26 | |
Kyösti Mälkki | cb08e16 | 2013-10-15 17:19:41 +0300 | [diff] [blame] | 27 | romstage-y += ram_calc.c |
Vladimir Serbinenko | 144eea0 | 2016-02-10 02:36:04 +0100 | [diff] [blame] | 28 | ifeq ($(CONFIG_USE_NATIVE_RAMINIT),y) |
| 29 | romstage-y += raminit.c |
Patrick Rudolph | fd5fa2a | 2016-11-11 18:22:33 +0100 | [diff] [blame] | 30 | romstage-y += raminit_common.c |
Patrick Rudolph | 305035c | 2016-11-11 18:38:50 +0100 | [diff] [blame] | 31 | romstage-y += raminit_sandy.c |
| 32 | romstage-y += raminit_ivy.c |
Vladimir Serbinenko | 144eea0 | 2016-02-10 02:36:04 +0100 | [diff] [blame] | 33 | romstage-y += ../../../device/dram/ddr3.c |
| 34 | else |
| 35 | romstage-y += raminit_mrc.c |
Vladimir Serbinenko | bd82d18 | 2016-02-12 19:23:02 +0100 | [diff] [blame] | 36 | cbfs-files-y += mrc.bin |
| 37 | mrc.bin-file := $(call strip_quotes,$(CONFIG_MRC_FILE)) |
| 38 | mrc.bin-position := 0xfffa0000 |
| 39 | mrc.bin-type := mrc |
Vladimir Serbinenko | 144eea0 | 2016-02-10 02:36:04 +0100 | [diff] [blame] | 40 | endif |
Vladimir Serbinenko | ffbb3c0 | 2016-02-10 01:36:25 +0100 | [diff] [blame] | 41 | romstage-y += romstage.c |
Nico Huber | bb9469c | 2015-10-21 11:49:23 +0200 | [diff] [blame] | 42 | romstage-y += iommu.c |
Stefan Reinauer | 00636b0 | 2012-04-04 00:08:51 +0200 | [diff] [blame] | 43 | romstage-y += early_init.c |
Vadim Bendebury | 7a3f36a | 2012-04-18 15:47:32 -0700 | [diff] [blame] | 44 | romstage-y += report_platform.c |
Stefan Reinauer | 6cb3a59 | 2015-07-13 09:39:15 +0200 | [diff] [blame] | 45 | romstage-y += ../../../arch/x86/walkcbfs.S |
Stefan Reinauer | 00636b0 | 2012-04-04 00:08:51 +0200 | [diff] [blame] | 46 | |
Stefan Reinauer | 00636b0 | 2012-04-04 00:08:51 +0200 | [diff] [blame] | 47 | smm-$(CONFIG_HAVE_SMI_HANDLER) += finalize.c |
| 48 | |
Arthur Heymans | 6fcd7b8 | 2018-06-03 12:16:24 +0200 | [diff] [blame] | 49 | postcar-y += ram_calc.c |
| 50 | |
Stefan Reinauer | e1133b7 | 2015-04-27 14:04:38 -0700 | [diff] [blame] | 51 | endif |