blob: 62766dfe904667218db9702ee66d61cd4b893361 [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
Arthur Heymans8e646e72018-06-05 11:19:22 +020018bootblock-y += bootblock.c
19
Aaron Durbin76c37002012-10-30 09:03:43 -050020ramstage-y += pch.c
21ramstage-y += azalia.c
22ramstage-y += lpc.c
Aaron Durbin76c37002012-10-30 09:03:43 -050023ramstage-y += pcie.c
24ramstage-y += sata.c
25ramstage-y += usb_ehci.c
Duncan Laurie2d9d39a2013-05-29 15:27:55 -070026ramstage-y += usb_xhci.c
Aaron Durbin76c37002012-10-30 09:03:43 -050027ramstage-y += me_9.x.c
28ramstage-y += smbus.c
Duncan Laurie0a7c49e2013-06-20 12:40:55 -070029ramstage-y += hda_verb.c
Duncan Laurieb39ba2e2013-03-22 11:21:14 -070030ramstage-$(CONFIG_INTEL_LYNXPOINT_LP) += serialio.c
Aaron Durbin76c37002012-10-30 09:03:43 -050031
Matt DeVillierb17f4e82016-11-16 15:10:50 -060032ifneq ($(CONFIG_VARIANT_DIR),)
33ramstage-srcs += src/mainboard/$(MAINBOARDDIR)/variants/$(VARIANT_DIR)/hda_verb.c
34else
Vladimir Serbinenko75c83872014-09-05 01:01:31 +020035ramstage-srcs += src/mainboard/$(MAINBOARDDIR)/hda_verb.c
Matt DeVillierb17f4e82016-11-16 15:10:50 -060036endif
Vladimir Serbinenko75c83872014-09-05 01:01:31 +020037
Duncan Laurie8584b222013-02-15 13:52:28 -080038ramstage-y += rcba.c
Aaron Durbin76c37002012-10-30 09:03:43 -050039ramstage-y += me_status.c
Aaron Durbin76c37002012-10-30 09:03:43 -050040ramstage-y += watchdog.c
41ramstage-y += acpi.c
42
43ramstage-$(CONFIG_ELOG) += elog.c
Aaron Durbin76c37002012-10-30 09:03:43 -050044
Duncan Laurie55cdf552013-03-08 16:01:44 -080045ramstage-$(CONFIG_HAVE_SMI_HANDLER) += smi.c pmutil.c
Tristan Corrick63626b12018-11-30 22:53:50 +130046smm-$(CONFIG_HAVE_SMI_HANDLER) += smihandler.c me_9.x.c pch.c
Duncan Laurie1f529082013-07-30 15:53:45 -070047smm-$(CONFIG_HAVE_SMI_HANDLER) += pmutil.c usb_ehci.c usb_xhci.c
Aaron Durbin76c37002012-10-30 09:03:43 -050048
Aaron Durbin239c2e82012-12-19 11:31:17 -060049romstage-y += early_usb.c early_smbus.c early_me.c me_status.c early_pch.c
Patrick Rudolph45022ae2018-10-01 19:17:11 +020050romstage-y += early_spi.c rcba.c pmutil.c
Aaron Durbin76c37002012-10-30 09:03:43 -050051
Duncan Laurie045f1532012-12-17 11:29:10 -080052ifeq ($(CONFIG_INTEL_LYNXPOINT_LP),y)
53romstage-y += lp_gpio.c
54ramstage-y += lp_gpio.c
Shawn Nematbakhshccb12fb2013-07-03 17:55:38 -070055smm-$(CONFIG_HAVE_SMI_HANDLER) += lp_gpio.c
Duncan Laurie045f1532012-12-17 11:29:10 -080056endif
57
Stefan Reinauer13e41822015-04-27 14:02:36 -070058endif