blob: 933074b4c527e41943b4cf666ffcc0517f80d39a [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
Subrata Banik50b92582016-07-21 23:47:38 +053021bootblock-$(CONFIG_CHROMEOS) += chromeos.c
Lee Leahy5c68bbc2015-09-16 11:01:19 -070022verstage-$(CONFIG_CHROMEOS) += chromeos.c
Lee Leahyc4210412015-06-29 11:37:56 -070023romstage-$(CONFIG_CHROMEOS) += chromeos.c
24ramstage-$(CONFIG_CHROMEOS) += chromeos.c
Duncan Laurie88b21f32015-09-04 10:24:40 -070025
Lee Leahyc4210412015-06-29 11:37:56 -070026ramstage-$(CONFIG_EC_GOOGLE_CHROMEEC) += ec.c
Duncan Laurie88b21f32015-09-04 10:24:40 -070027
Lee Leahyc4210412015-06-29 11:37:56 -070028ramstage-y += mainboard.c
Lee Leahyc4210412015-06-29 11:37:56 -070029ramstage-y += ramstage.c
Duncan Laurie88b21f32015-09-04 10:24:40 -070030
Kyösti Mälkki9265f892019-07-07 23:58:34 +030031smm-y += smihandler.c
Rizwan Qureshi06868f82016-08-23 13:38:19 +053032
33ifeq ($(CONFIG_PLATFORM_USES_FSP2_0),y)
34romstage-srcs := $(subst $(MAINBOARDDIR)/romstage.c,$(MAINBOARDDIR)/romstage_fsp20.c,$(romstage-srcs))
35endif