blob: c4e699a5f20ff7292343138504941934029510ec [file] [log] [blame]
Marc Jones54b8e7a2013-10-29 17:57:30 -06001#
2# This file is part of the coreboot project.
3#
4# Copyright (C) 2010 Google Inc.
Martin Roth2dd3f872014-04-25 15:09:27 -06005# Copyright (C) 2013-2014 Sage Electronic Engineering, LLC.
Marc Jones54b8e7a2013-10-29 17:57:30 -06006#
7# This program is free software; you can redistribute it and/or modify
8# it under the terms of the GNU General Public License as published by
9# the Free Software Foundation; version 2 of the License.
10#
11# This program is distributed in the hope that it will be useful,
12# but WITHOUT ANY WARRANTY; without even the implied warranty of
13# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14# GNU General Public License for more details.
15#
16# You should have received a copy of the GNU General Public License
17# along with this program; if not, write to the Free Software
18# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
19#
20
Stefan Reinauere1133b72015-04-27 14:04:38 -070021ifeq ($(CONFIG_NORTHBRIDGE_INTEL_FSP_SANDYBRIDGE)$(CONFIG_NORTHBRIDGE_INTEL_FSP_IVYBRIDGE),y)
22
Martin Roth2dd3f872014-04-25 15:09:27 -060023subdirs-y += fsp
Marc Jones54b8e7a2013-10-29 17:57:30 -060024ramstage-y += northbridge.c
Kyösti Mälkkif1e3c762014-12-22 12:28:07 +020025ramstage-y += ram_calc.c
Marc Jones54b8e7a2013-10-29 17:57:30 -060026ramstage-y += gma.c
27
Vladimir Serbinenko822bc652014-01-03 15:55:40 +010028ramstage-y += acpi.c
Marc Jones54b8e7a2013-10-29 17:57:30 -060029
30romstage-y += raminit.c
Kyösti Mälkkif1e3c762014-12-22 12:28:07 +020031romstage-y += ram_calc.c
Marc Jones54b8e7a2013-10-29 17:57:30 -060032romstage-y += early_init.c
33romstage-y += report_platform.c
34romstage-y += ../../../arch/x86/lib/walkcbfs.S
Marc Jones54b8e7a2013-10-29 17:57:30 -060035
36smm-$(CONFIG_HAVE_SMI_HANDLER) += udelay.c
37smm-$(CONFIG_HAVE_SMI_HANDLER) += finalize.c
38
Patrick Georgi58f73a62014-05-17 14:00:12 +020039CPPFLAGS_common += -I$(src)/northbridge/intel/fsp_sandybridge/fsp
Marc Jones54b8e7a2013-10-29 17:57:30 -060040
Stefan Reinauere1133b72015-04-27 14:04:38 -070041endif