blob: 86be420f46ab564174404e4c29d758f1518c4e7b [file] [log] [blame]
Lee Leahyc4210412015-06-29 11:37:56 -07001##
2## This file is part of the coreboot project.
3##
4## Copyright (C) 2013 Google Inc.
5## Copyright (C) 2015 Intel Corporation.
6##
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##
Lee Leahyc4210412015-06-29 11:37:56 -070016
17subdirs-y += spd
18
Subrata Banik50b92582016-07-21 23:47:38 +053019bootblock-y += bootblock_mainboard.c
20
Duncan Laurie88b21f32015-09-04 10:24:40 -070021romstage-y += boardid.c
Lee Leahyc4210412015-06-29 11:37:56 -070022romstage-y += pei_data.c
23
Subrata Banik50b92582016-07-21 23:47:38 +053024bootblock-$(CONFIG_CHROMEOS) += chromeos.c
Lee Leahy5c68bbc2015-09-16 11:01:19 -070025verstage-$(CONFIG_CHROMEOS) += chromeos.c
Lee Leahyc4210412015-06-29 11:37:56 -070026romstage-$(CONFIG_CHROMEOS) += chromeos.c
27ramstage-$(CONFIG_CHROMEOS) += chromeos.c
Duncan Laurie88b21f32015-09-04 10:24:40 -070028
Lee Leahyc4210412015-06-29 11:37:56 -070029ramstage-$(CONFIG_EC_GOOGLE_CHROMEEC) += ec.c
Duncan Laurie88b21f32015-09-04 10:24:40 -070030
31ramstage-y += boardid.c
Lee Leahyc4210412015-06-29 11:37:56 -070032ramstage-y += mainboard.c
33ramstage-y += pei_data.c
34ramstage-y += ramstage.c
Duncan Laurie88b21f32015-09-04 10:24:40 -070035
Lee Leahyc4210412015-06-29 11:37:56 -070036smm-$(CONFIG_HAVE_SMI_HANDLER) += smihandler.c
Rizwan Qureshi06868f82016-08-23 13:38:19 +053037
38ifeq ($(CONFIG_PLATFORM_USES_FSP2_0),y)
39romstage-srcs := $(subst $(MAINBOARDDIR)/romstage.c,$(MAINBOARDDIR)/romstage_fsp20.c,$(romstage-srcs))
40endif