Lee Leahy | c421041 | 2015-06-29 11:37:56 -0700 | [diff] [blame] | 1 | ## |
| 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 Leahy | c421041 | 2015-06-29 11:37:56 -0700 | [diff] [blame] | 16 | |
| 17 | subdirs-y += spd |
| 18 | |
Subrata Banik | 50b9258 | 2016-07-21 23:47:38 +0530 | [diff] [blame] | 19 | bootblock-y += bootblock_mainboard.c |
| 20 | |
Duncan Laurie | 88b21f3 | 2015-09-04 10:24:40 -0700 | [diff] [blame] | 21 | romstage-y += boardid.c |
Lee Leahy | c421041 | 2015-06-29 11:37:56 -0700 | [diff] [blame] | 22 | romstage-y += pei_data.c |
| 23 | |
Subrata Banik | 50b9258 | 2016-07-21 23:47:38 +0530 | [diff] [blame] | 24 | bootblock-$(CONFIG_CHROMEOS) += chromeos.c |
Lee Leahy | 5c68bbc | 2015-09-16 11:01:19 -0700 | [diff] [blame] | 25 | verstage-$(CONFIG_CHROMEOS) += chromeos.c |
Lee Leahy | c421041 | 2015-06-29 11:37:56 -0700 | [diff] [blame] | 26 | romstage-$(CONFIG_CHROMEOS) += chromeos.c |
| 27 | ramstage-$(CONFIG_CHROMEOS) += chromeos.c |
Duncan Laurie | 88b21f3 | 2015-09-04 10:24:40 -0700 | [diff] [blame] | 28 | |
Lee Leahy | c421041 | 2015-06-29 11:37:56 -0700 | [diff] [blame] | 29 | ramstage-$(CONFIG_EC_GOOGLE_CHROMEEC) += ec.c |
Duncan Laurie | 88b21f3 | 2015-09-04 10:24:40 -0700 | [diff] [blame] | 30 | |
| 31 | ramstage-y += boardid.c |
Lee Leahy | c421041 | 2015-06-29 11:37:56 -0700 | [diff] [blame] | 32 | ramstage-y += mainboard.c |
| 33 | ramstage-y += pei_data.c |
| 34 | ramstage-y += ramstage.c |
Duncan Laurie | 88b21f3 | 2015-09-04 10:24:40 -0700 | [diff] [blame] | 35 | |
Lee Leahy | c421041 | 2015-06-29 11:37:56 -0700 | [diff] [blame] | 36 | smm-$(CONFIG_HAVE_SMI_HANDLER) += smihandler.c |
Rizwan Qureshi | 06868f8 | 2016-08-23 13:38:19 +0530 | [diff] [blame] | 37 | |
| 38 | ifeq ($(CONFIG_PLATFORM_USES_FSP2_0),y) |
| 39 | romstage-srcs := $(subst $(MAINBOARDDIR)/romstage.c,$(MAINBOARDDIR)/romstage_fsp20.c,$(romstage-srcs)) |
| 40 | endif |