Aaron Durbin | 76c3700 | 2012-10-30 09:03:43 -0500 | [diff] [blame] | 1 | ## |
| 2 | ## This file is part of the coreboot project. |
| 3 | ## |
| 4 | ## Copyright (C) 2010 Google Inc. |
| 5 | ## |
| 6 | ## This program is free software; you can redistribute it and/or modify |
| 7 | ## it under the terms of the GNU General Public License as published by |
| 8 | ## the Free Software Foundation; version 2 of the License. |
| 9 | ## |
| 10 | ## This program is distributed in the hope that it will be useful, |
| 11 | ## but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 13 | ## GNU General Public License for more details. |
| 14 | ## |
Aaron Durbin | 76c3700 | 2012-10-30 09:03:43 -0500 | [diff] [blame] | 15 | |
Stefan Reinauer | 13e4182 | 2015-04-27 14:02:36 -0700 | [diff] [blame] | 16 | ifeq ($(CONFIG_SOUTHBRIDGE_INTEL_LYNXPOINT),y) |
| 17 | |
Arthur Heymans | 8e646e7 | 2018-06-05 11:19:22 +0200 | [diff] [blame] | 18 | bootblock-y += bootblock.c |
| 19 | |
Aaron Durbin | 76c3700 | 2012-10-30 09:03:43 -0500 | [diff] [blame] | 20 | ramstage-y += pch.c |
| 21 | ramstage-y += azalia.c |
| 22 | ramstage-y += lpc.c |
Aaron Durbin | 76c3700 | 2012-10-30 09:03:43 -0500 | [diff] [blame] | 23 | ramstage-y += pcie.c |
| 24 | ramstage-y += sata.c |
| 25 | ramstage-y += usb_ehci.c |
Duncan Laurie | 2d9d39a | 2013-05-29 15:27:55 -0700 | [diff] [blame] | 26 | ramstage-y += usb_xhci.c |
Aaron Durbin | 76c3700 | 2012-10-30 09:03:43 -0500 | [diff] [blame] | 27 | ramstage-y += me_9.x.c |
| 28 | ramstage-y += smbus.c |
Duncan Laurie | 0a7c49e | 2013-06-20 12:40:55 -0700 | [diff] [blame] | 29 | ramstage-y += hda_verb.c |
Duncan Laurie | b39ba2e | 2013-03-22 11:21:14 -0700 | [diff] [blame] | 30 | ramstage-$(CONFIG_INTEL_LYNXPOINT_LP) += serialio.c |
Aaron Durbin | 76c3700 | 2012-10-30 09:03:43 -0500 | [diff] [blame] | 31 | |
Matt DeVillier | b17f4e8 | 2016-11-16 15:10:50 -0600 | [diff] [blame] | 32 | ifneq ($(CONFIG_VARIANT_DIR),) |
| 33 | ramstage-srcs += src/mainboard/$(MAINBOARDDIR)/variants/$(VARIANT_DIR)/hda_verb.c |
| 34 | else |
Vladimir Serbinenko | 75c8387 | 2014-09-05 01:01:31 +0200 | [diff] [blame] | 35 | ramstage-srcs += src/mainboard/$(MAINBOARDDIR)/hda_verb.c |
Matt DeVillier | b17f4e8 | 2016-11-16 15:10:50 -0600 | [diff] [blame] | 36 | endif |
Vladimir Serbinenko | 75c8387 | 2014-09-05 01:01:31 +0200 | [diff] [blame] | 37 | |
Duncan Laurie | 8584b22 | 2013-02-15 13:52:28 -0800 | [diff] [blame] | 38 | ramstage-y += rcba.c |
Aaron Durbin | 76c3700 | 2012-10-30 09:03:43 -0500 | [diff] [blame] | 39 | ramstage-y += me_status.c |
Aaron Durbin | 76c3700 | 2012-10-30 09:03:43 -0500 | [diff] [blame] | 40 | ramstage-y += watchdog.c |
| 41 | ramstage-y += acpi.c |
| 42 | |
| 43 | ramstage-$(CONFIG_ELOG) += elog.c |
Aaron Durbin | 76c3700 | 2012-10-30 09:03:43 -0500 | [diff] [blame] | 44 | |
Duncan Laurie | 55cdf55 | 2013-03-08 16:01:44 -0800 | [diff] [blame] | 45 | ramstage-$(CONFIG_HAVE_SMI_HANDLER) += smi.c pmutil.c |
Tristan Corrick | 63626b1 | 2018-11-30 22:53:50 +1300 | [diff] [blame] | 46 | smm-$(CONFIG_HAVE_SMI_HANDLER) += smihandler.c me_9.x.c pch.c |
Duncan Laurie | 1f52908 | 2013-07-30 15:53:45 -0700 | [diff] [blame] | 47 | smm-$(CONFIG_HAVE_SMI_HANDLER) += pmutil.c usb_ehci.c usb_xhci.c |
Aaron Durbin | 76c3700 | 2012-10-30 09:03:43 -0500 | [diff] [blame] | 48 | |
Aaron Durbin | 239c2e8 | 2012-12-19 11:31:17 -0600 | [diff] [blame] | 49 | romstage-y += early_usb.c early_smbus.c early_me.c me_status.c early_pch.c |
Patrick Rudolph | 45022ae | 2018-10-01 19:17:11 +0200 | [diff] [blame] | 50 | romstage-y += early_spi.c rcba.c pmutil.c |
Aaron Durbin | 76c3700 | 2012-10-30 09:03:43 -0500 | [diff] [blame] | 51 | |
Duncan Laurie | 045f153 | 2012-12-17 11:29:10 -0800 | [diff] [blame] | 52 | ifeq ($(CONFIG_INTEL_LYNXPOINT_LP),y) |
| 53 | romstage-y += lp_gpio.c |
| 54 | ramstage-y += lp_gpio.c |
Shawn Nematbakhsh | ccb12fb | 2013-07-03 17:55:38 -0700 | [diff] [blame] | 55 | smm-$(CONFIG_HAVE_SMI_HANDLER) += lp_gpio.c |
Duncan Laurie | 045f153 | 2012-12-17 11:29:10 -0800 | [diff] [blame] | 56 | endif |
| 57 | |
Arthur Heymans | 77d5e74 | 2019-01-03 21:11:45 +0100 | [diff] [blame^] | 58 | verstage-$(CONFIG_VBOOT_SEPARATE_VERSTAGE) += pmutil.c |
| 59 | verstage-$(CONFIG_VBOOT_SEPARATE_VERSTAGE) += lp_gpio.c |
| 60 | |
Stefan Reinauer | 13e4182 | 2015-04-27 14:02:36 -0700 | [diff] [blame] | 61 | endif |