blob: 3ecc6a6cc4b551455a919124f4cbe0233c57ebc3 [file] [log] [blame]
Aaron Durbin76c37002012-10-30 09:03:43 -05001##
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 Durbin76c37002012-10-30 09:03:43 -050015
Stefan Reinauer13e41822015-04-27 14:02:36 -070016ifeq ($(CONFIG_SOUTHBRIDGE_INTEL_LYNXPOINT),y)
17
Aaron Durbin76c37002012-10-30 09:03:43 -050018ramstage-y += pch.c
19ramstage-y += azalia.c
20ramstage-y += lpc.c
21ramstage-y += pci.c
22ramstage-y += pcie.c
23ramstage-y += sata.c
24ramstage-y += usb_ehci.c
Duncan Laurie2d9d39a2013-05-29 15:27:55 -070025ramstage-y += usb_xhci.c
Aaron Durbin76c37002012-10-30 09:03:43 -050026ramstage-y += me_9.x.c
27ramstage-y += smbus.c
Duncan Laurie0a7c49e2013-06-20 12:40:55 -070028ramstage-y += hda_verb.c
Duncan Laurieb39ba2e2013-03-22 11:21:14 -070029ramstage-$(CONFIG_INTEL_LYNXPOINT_LP) += serialio.c
Aaron Durbin76c37002012-10-30 09:03:43 -050030
Matt DeVillierb17f4e82016-11-16 15:10:50 -060031ifneq ($(CONFIG_VARIANT_DIR),)
32ramstage-srcs += src/mainboard/$(MAINBOARDDIR)/variants/$(VARIANT_DIR)/hda_verb.c
33else
Vladimir Serbinenko75c83872014-09-05 01:01:31 +020034ramstage-srcs += src/mainboard/$(MAINBOARDDIR)/hda_verb.c
Matt DeVillierb17f4e82016-11-16 15:10:50 -060035endif
Vladimir Serbinenko75c83872014-09-05 01:01:31 +020036
Duncan Laurie8584b222013-02-15 13:52:28 -080037ramstage-y += rcba.c
Aaron Durbin76c37002012-10-30 09:03:43 -050038ramstage-y += me_status.c
39ramstage-y += reset.c
40ramstage-y += watchdog.c
41ramstage-y += acpi.c
42
43ramstage-$(CONFIG_ELOG) += elog.c
Vladimir Serbinenko42c4a9d2014-02-16 17:13:19 +010044ramstage-y += ../common/spi.c
45smm-$(CONFIG_SPI_FLASH_SMM) += ../common/spi.c
Aaron Durbin76c37002012-10-30 09:03:43 -050046
Duncan Laurie55cdf552013-03-08 16:01:44 -080047ramstage-$(CONFIG_HAVE_SMI_HANDLER) += smi.c pmutil.c
Duncan Laurieaf980622013-07-18 23:02:18 -070048smm-$(CONFIG_HAVE_SMI_HANDLER) += smihandler.c me_9.x.c finalize.c pch.c
Duncan Laurie1f529082013-07-30 15:53:45 -070049smm-$(CONFIG_HAVE_SMI_HANDLER) += pmutil.c usb_ehci.c usb_xhci.c
Aaron Durbin76c37002012-10-30 09:03:43 -050050
Aaron Durbin239c2e82012-12-19 11:31:17 -060051romstage-y += early_usb.c early_smbus.c early_me.c me_status.c early_pch.c
Duncan Laurie8584b222013-02-15 13:52:28 -080052romstage-y += reset.c early_spi.c rcba.c
Aaron Durbin76c37002012-10-30 09:03:43 -050053
Duncan Laurie045f1532012-12-17 11:29:10 -080054ifeq ($(CONFIG_INTEL_LYNXPOINT_LP),y)
55romstage-y += lp_gpio.c
56ramstage-y += lp_gpio.c
Shawn Nematbakhshccb12fb2013-07-03 17:55:38 -070057smm-$(CONFIG_HAVE_SMI_HANDLER) += lp_gpio.c
Duncan Laurie045f1532012-12-17 11:29:10 -080058endif
59
Stefan Reinauer13e41822015-04-27 14:02:36 -070060endif