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 | |
Aaron Durbin | 76c3700 | 2012-10-30 09:03:43 -0500 | [diff] [blame] | 18 | ramstage-y += pch.c |
| 19 | ramstage-y += azalia.c |
| 20 | ramstage-y += lpc.c |
| 21 | ramstage-y += pci.c |
| 22 | ramstage-y += pcie.c |
| 23 | ramstage-y += sata.c |
| 24 | ramstage-y += usb_ehci.c |
Duncan Laurie | 2d9d39a | 2013-05-29 15:27:55 -0700 | [diff] [blame] | 25 | ramstage-y += usb_xhci.c |
Aaron Durbin | 76c3700 | 2012-10-30 09:03:43 -0500 | [diff] [blame] | 26 | ramstage-y += me_9.x.c |
| 27 | ramstage-y += smbus.c |
Duncan Laurie | 0a7c49e | 2013-06-20 12:40:55 -0700 | [diff] [blame] | 28 | ramstage-y += hda_verb.c |
Duncan Laurie | b39ba2e | 2013-03-22 11:21:14 -0700 | [diff] [blame] | 29 | ramstage-$(CONFIG_INTEL_LYNXPOINT_LP) += serialio.c |
Aaron Durbin | 76c3700 | 2012-10-30 09:03:43 -0500 | [diff] [blame] | 30 | |
Matt DeVillier | b17f4e8 | 2016-11-16 15:10:50 -0600 | [diff] [blame^] | 31 | ifneq ($(CONFIG_VARIANT_DIR),) |
| 32 | ramstage-srcs += src/mainboard/$(MAINBOARDDIR)/variants/$(VARIANT_DIR)/hda_verb.c |
| 33 | else |
Vladimir Serbinenko | 75c8387 | 2014-09-05 01:01:31 +0200 | [diff] [blame] | 34 | ramstage-srcs += src/mainboard/$(MAINBOARDDIR)/hda_verb.c |
Matt DeVillier | b17f4e8 | 2016-11-16 15:10:50 -0600 | [diff] [blame^] | 35 | endif |
Vladimir Serbinenko | 75c8387 | 2014-09-05 01:01:31 +0200 | [diff] [blame] | 36 | |
Duncan Laurie | 8584b22 | 2013-02-15 13:52:28 -0800 | [diff] [blame] | 37 | ramstage-y += rcba.c |
Aaron Durbin | 76c3700 | 2012-10-30 09:03:43 -0500 | [diff] [blame] | 38 | ramstage-y += me_status.c |
| 39 | ramstage-y += reset.c |
| 40 | ramstage-y += watchdog.c |
| 41 | ramstage-y += acpi.c |
| 42 | |
| 43 | ramstage-$(CONFIG_ELOG) += elog.c |
Vladimir Serbinenko | 42c4a9d | 2014-02-16 17:13:19 +0100 | [diff] [blame] | 44 | ramstage-y += ../common/spi.c |
| 45 | smm-$(CONFIG_SPI_FLASH_SMM) += ../common/spi.c |
Aaron Durbin | 76c3700 | 2012-10-30 09:03:43 -0500 | [diff] [blame] | 46 | |
Duncan Laurie | 55cdf55 | 2013-03-08 16:01:44 -0800 | [diff] [blame] | 47 | ramstage-$(CONFIG_HAVE_SMI_HANDLER) += smi.c pmutil.c |
Duncan Laurie | af98062 | 2013-07-18 23:02:18 -0700 | [diff] [blame] | 48 | smm-$(CONFIG_HAVE_SMI_HANDLER) += smihandler.c me_9.x.c finalize.c pch.c |
Duncan Laurie | 1f52908 | 2013-07-30 15:53:45 -0700 | [diff] [blame] | 49 | 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] | 50 | |
Aaron Durbin | 239c2e8 | 2012-12-19 11:31:17 -0600 | [diff] [blame] | 51 | romstage-y += early_usb.c early_smbus.c early_me.c me_status.c early_pch.c |
Duncan Laurie | 8584b22 | 2013-02-15 13:52:28 -0800 | [diff] [blame] | 52 | romstage-y += reset.c early_spi.c rcba.c |
Aaron Durbin | 76c3700 | 2012-10-30 09:03:43 -0500 | [diff] [blame] | 53 | |
Duncan Laurie | 045f153 | 2012-12-17 11:29:10 -0800 | [diff] [blame] | 54 | ifeq ($(CONFIG_INTEL_LYNXPOINT_LP),y) |
| 55 | romstage-y += lp_gpio.c |
| 56 | ramstage-y += lp_gpio.c |
Shawn Nematbakhsh | ccb12fb | 2013-07-03 17:55:38 -0700 | [diff] [blame] | 57 | smm-$(CONFIG_HAVE_SMI_HANDLER) += lp_gpio.c |
Duncan Laurie | 045f153 | 2012-12-17 11:29:10 -0800 | [diff] [blame] | 58 | endif |
| 59 | |
Stefan Reinauer | 13e4182 | 2015-04-27 14:02:36 -0700 | [diff] [blame] | 60 | endif |