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 | |
Subrata Banik | 50b9258 | 2016-07-21 23:47:38 +0530 | [diff] [blame] | 21 | bootblock-$(CONFIG_CHROMEOS) += chromeos.c |
Lee Leahy | 5c68bbc | 2015-09-16 11:01:19 -0700 | [diff] [blame] | 22 | verstage-$(CONFIG_CHROMEOS) += chromeos.c |
Lee Leahy | c421041 | 2015-06-29 11:37:56 -0700 | [diff] [blame] | 23 | romstage-$(CONFIG_CHROMEOS) += chromeos.c |
| 24 | ramstage-$(CONFIG_CHROMEOS) += chromeos.c |
Duncan Laurie | 88b21f3 | 2015-09-04 10:24:40 -0700 | [diff] [blame] | 25 | |
Lee Leahy | c421041 | 2015-06-29 11:37:56 -0700 | [diff] [blame] | 26 | ramstage-$(CONFIG_EC_GOOGLE_CHROMEEC) += ec.c |
Duncan Laurie | 88b21f3 | 2015-09-04 10:24:40 -0700 | [diff] [blame] | 27 | |
Lee Leahy | c421041 | 2015-06-29 11:37:56 -0700 | [diff] [blame] | 28 | ramstage-y += mainboard.c |
Lee Leahy | c421041 | 2015-06-29 11:37:56 -0700 | [diff] [blame] | 29 | ramstage-y += ramstage.c |
Duncan Laurie | 88b21f3 | 2015-09-04 10:24:40 -0700 | [diff] [blame] | 30 | |
Kyösti Mälkki | 9265f89 | 2019-07-07 23:58:34 +0300 | [diff] [blame^] | 31 | smm-y += smihandler.c |
Rizwan Qureshi | 06868f8 | 2016-08-23 13:38:19 +0530 | [diff] [blame] | 32 | |
| 33 | ifeq ($(CONFIG_PLATFORM_USES_FSP2_0),y) |
| 34 | romstage-srcs := $(subst $(MAINBOARDDIR)/romstage.c,$(MAINBOARDDIR)/romstage_fsp20.c,$(romstage-srcs)) |
| 35 | endif |