Angel Pons | f4a9955 | 2020-04-02 20:12:40 +0200 | [diff] [blame] | 1 | ## SPDX-License-Identifier: GPL-2.0-only |
Aaron Durbin | 76c3700 | 2012-10-30 09:03:43 -0500 | [diff] [blame] | 2 | |
Stefan Reinauer | 13e4182 | 2015-04-27 14:02:36 -0700 | [diff] [blame] | 3 | ifeq ($(CONFIG_SOUTHBRIDGE_INTEL_LYNXPOINT),y) |
| 4 | |
Arthur Heymans | 8e646e7 | 2018-06-05 11:19:22 +0200 | [diff] [blame] | 5 | bootblock-y += bootblock.c |
| 6 | |
Aaron Durbin | 76c3700 | 2012-10-30 09:03:43 -0500 | [diff] [blame] | 7 | ramstage-y += pch.c |
Angel Pons | 2178b72 | 2020-05-31 00:55:35 +0200 | [diff] [blame] | 8 | ramstage-y += iobp.c |
Aaron Durbin | 76c3700 | 2012-10-30 09:03:43 -0500 | [diff] [blame] | 9 | ramstage-y += azalia.c |
Angel Pons | 2bd25bf | 2020-07-12 14:13:40 +0200 | [diff] [blame] | 10 | ramstage-y += fadt.c |
Aaron Durbin | 76c3700 | 2012-10-30 09:03:43 -0500 | [diff] [blame] | 11 | ramstage-y += lpc.c |
Aaron Durbin | 76c3700 | 2012-10-30 09:03:43 -0500 | [diff] [blame] | 12 | ramstage-y += pcie.c |
| 13 | ramstage-y += sata.c |
| 14 | ramstage-y += usb_ehci.c |
Duncan Laurie | 2d9d39a | 2013-05-29 15:27:55 -0700 | [diff] [blame] | 15 | ramstage-y += usb_xhci.c |
Angel Pons | 3d3728b | 2021-02-23 14:08:38 +0100 | [diff] [blame] | 16 | ramstage-y += me.c |
Aaron Durbin | 76c3700 | 2012-10-30 09:03:43 -0500 | [diff] [blame] | 17 | ramstage-y += smbus.c |
Duncan Laurie | 0a7c49e | 2013-06-20 12:40:55 -0700 | [diff] [blame] | 18 | ramstage-y += hda_verb.c |
Duncan Laurie | b39ba2e | 2013-03-22 11:21:14 -0700 | [diff] [blame] | 19 | ramstage-$(CONFIG_INTEL_LYNXPOINT_LP) += serialio.c |
Aaron Durbin | 76c3700 | 2012-10-30 09:03:43 -0500 | [diff] [blame] | 20 | |
Matt DeVillier | b17f4e8 | 2016-11-16 15:10:50 -0600 | [diff] [blame] | 21 | ifneq ($(CONFIG_VARIANT_DIR),) |
| 22 | ramstage-srcs += src/mainboard/$(MAINBOARDDIR)/variants/$(VARIANT_DIR)/hda_verb.c |
Matt DeVillier | b17f4e8 | 2016-11-16 15:10:50 -0600 | [diff] [blame] | 23 | endif |
Vladimir Serbinenko | 75c8387 | 2014-09-05 01:01:31 +0200 | [diff] [blame] | 24 | |
Aaron Durbin | 76c3700 | 2012-10-30 09:03:43 -0500 | [diff] [blame] | 25 | ramstage-y += me_status.c |
Aaron Durbin | 76c3700 | 2012-10-30 09:03:43 -0500 | [diff] [blame] | 26 | ramstage-y += acpi.c |
| 27 | |
| 28 | ramstage-$(CONFIG_ELOG) += elog.c |
Aaron Durbin | 76c3700 | 2012-10-30 09:03:43 -0500 | [diff] [blame] | 29 | |
Duncan Laurie | 55cdf55 | 2013-03-08 16:01:44 -0800 | [diff] [blame] | 30 | ramstage-$(CONFIG_HAVE_SMI_HANDLER) += smi.c pmutil.c |
Angel Pons | 10274d8 | 2021-02-23 14:19:28 +0100 | [diff] [blame] | 31 | smm-y += smihandler.c pch.c |
Kyösti Mälkki | 9265f89 | 2019-07-07 23:58:34 +0300 | [diff] [blame] | 32 | smm-y += pmutil.c usb_ehci.c usb_xhci.c |
Aaron Durbin | 76c3700 | 2012-10-30 09:03:43 -0500 | [diff] [blame] | 33 | |
Arthur Heymans | d893a26 | 2018-12-19 16:54:06 +0100 | [diff] [blame] | 34 | bootblock-y += early_pch.c |
Angel Pons | 6428577 | 2020-06-01 20:06:03 +0200 | [diff] [blame] | 35 | romstage-y += early_usb.c early_me.c me_status.c early_pch.c |
Angel Pons | 9b29e5e1 | 2020-07-03 13:19:49 +0200 | [diff] [blame] | 36 | romstage-y += pmutil.c |
Angel Pons | 6c42d14 | 2021-06-14 13:53:44 +0200 | [diff] [blame] | 37 | romstage-y += iobp.c |
Aaron Durbin | 76c3700 | 2012-10-30 09:03:43 -0500 | [diff] [blame] | 38 | |
Angel Pons | 9c8c858 | 2022-05-06 23:22:11 +0200 | [diff] [blame] | 39 | romstage-$(CONFIG_USE_NATIVE_RAMINIT) += early_pch_native.c early_usb_native.c iobp.c thermal.c |
Angel Pons | 49509189 | 2022-05-06 23:43:46 +0200 | [diff] [blame] | 40 | subdirs-$(CONFIG_USE_NATIVE_RAMINIT) += hsio |
Angel Pons | 567ece4 | 2022-05-06 21:56:48 +0200 | [diff] [blame] | 41 | |
Angel Pons | 6c42d14 | 2021-06-14 13:53:44 +0200 | [diff] [blame] | 42 | romstage-$(CONFIG_USE_BROADWELL_MRC) += early_pch_native.c early_usb_native.c iobp.c thermal.c |
| 43 | subdirs-$(CONFIG_USE_BROADWELL_MRC) += hsio |
| 44 | |
Duncan Laurie | 045f153 | 2012-12-17 11:29:10 -0800 | [diff] [blame] | 45 | ifeq ($(CONFIG_INTEL_LYNXPOINT_LP),y) |
| 46 | romstage-y += lp_gpio.c |
| 47 | ramstage-y += lp_gpio.c |
Kyösti Mälkki | 9265f89 | 2019-07-07 23:58:34 +0300 | [diff] [blame] | 48 | smm-y += lp_gpio.c |
Arthur Heymans | c8116f6 | 2021-04-30 15:19:24 +0200 | [diff] [blame] | 49 | verstage-y += lp_gpio.c |
Angel Pons | aced1f0 | 2021-04-18 23:57:21 +0200 | [diff] [blame] | 50 | bootblock-$(CONFIG_SERIALIO_UART_CONSOLE) += uart_init.c |
| 51 | bootblock-$(CONFIG_SERIALIO_UART_CONSOLE) += iobp.c |
| 52 | all-$(CONFIG_SERIALIO_UART_CONSOLE) += uart.c |
| 53 | smm-$(CONFIG_SERIALIO_UART_CONSOLE) += uart.c |
Duncan Laurie | 045f153 | 2012-12-17 11:29:10 -0800 | [diff] [blame] | 54 | endif |
| 55 | |
Arthur Heymans | c8116f6 | 2021-04-30 15:19:24 +0200 | [diff] [blame] | 56 | verstage-y += pmutil.c |
Arthur Heymans | 77d5e74 | 2019-01-03 21:11:45 +0100 | [diff] [blame] | 57 | |
Kyösti Mälkki | 661ad46 | 2020-12-29 06:26:21 +0200 | [diff] [blame] | 58 | CPPFLAGS_common += -I$(src)/southbridge/intel/lynxpoint/include |
| 59 | |
Stefan Reinauer | 13e4182 | 2015-04-27 14:02:36 -0700 | [diff] [blame] | 60 | endif |