blob: 5874c4f1de922c7b7b17b25c3faaa84ad372f3a3 [file] [log] [blame]
Angel Ponsf4a99552020-04-02 20:12:40 +02001## SPDX-License-Identifier: GPL-2.0-only
Aaron Durbin76c37002012-10-30 09:03:43 -05002
Stefan Reinauer13e41822015-04-27 14:02:36 -07003ifeq ($(CONFIG_SOUTHBRIDGE_INTEL_LYNXPOINT),y)
4
Arthur Heymans8e646e72018-06-05 11:19:22 +02005bootblock-y += bootblock.c
6
Aaron Durbin76c37002012-10-30 09:03:43 -05007ramstage-y += pch.c
Angel Pons2178b722020-05-31 00:55:35 +02008ramstage-y += iobp.c
Aaron Durbin76c37002012-10-30 09:03:43 -05009ramstage-y += azalia.c
Angel Pons2bd25bf2020-07-12 14:13:40 +020010ramstage-y += fadt.c
Aaron Durbin76c37002012-10-30 09:03:43 -050011ramstage-y += lpc.c
Aaron Durbin76c37002012-10-30 09:03:43 -050012ramstage-y += pcie.c
13ramstage-y += sata.c
14ramstage-y += usb_ehci.c
Duncan Laurie2d9d39a2013-05-29 15:27:55 -070015ramstage-y += usb_xhci.c
Angel Pons3d3728b2021-02-23 14:08:38 +010016ramstage-y += me.c
Aaron Durbin76c37002012-10-30 09:03:43 -050017ramstage-y += smbus.c
Duncan Laurie0a7c49e2013-06-20 12:40:55 -070018ramstage-y += hda_verb.c
Duncan Laurieb39ba2e2013-03-22 11:21:14 -070019ramstage-$(CONFIG_INTEL_LYNXPOINT_LP) += serialio.c
Aaron Durbin76c37002012-10-30 09:03:43 -050020
Matt DeVillierb17f4e82016-11-16 15:10:50 -060021ifneq ($(CONFIG_VARIANT_DIR),)
22ramstage-srcs += src/mainboard/$(MAINBOARDDIR)/variants/$(VARIANT_DIR)/hda_verb.c
Matt DeVillierb17f4e82016-11-16 15:10:50 -060023endif
Vladimir Serbinenko75c83872014-09-05 01:01:31 +020024
Aaron Durbin76c37002012-10-30 09:03:43 -050025ramstage-y += me_status.c
Aaron Durbin76c37002012-10-30 09:03:43 -050026ramstage-y += acpi.c
27
28ramstage-$(CONFIG_ELOG) += elog.c
Aaron Durbin76c37002012-10-30 09:03:43 -050029
Duncan Laurie55cdf552013-03-08 16:01:44 -080030ramstage-$(CONFIG_HAVE_SMI_HANDLER) += smi.c pmutil.c
Angel Pons10274d82021-02-23 14:19:28 +010031smm-y += smihandler.c pch.c
Kyösti Mälkki9265f892019-07-07 23:58:34 +030032smm-y += pmutil.c usb_ehci.c usb_xhci.c
Aaron Durbin76c37002012-10-30 09:03:43 -050033
Arthur Heymansd893a262018-12-19 16:54:06 +010034bootblock-y += early_pch.c
Angel Pons64285772020-06-01 20:06:03 +020035romstage-y += early_usb.c early_me.c me_status.c early_pch.c
Angel Pons9b29e5e12020-07-03 13:19:49 +020036romstage-y += pmutil.c
Aaron Durbin76c37002012-10-30 09:03:43 -050037
Angel Pons9c8c8582022-05-06 23:22:11 +020038romstage-$(CONFIG_USE_NATIVE_RAMINIT) += early_pch_native.c early_usb_native.c iobp.c thermal.c
Angel Pons567ece42022-05-06 21:56:48 +020039
Duncan Laurie045f1532012-12-17 11:29:10 -080040ifeq ($(CONFIG_INTEL_LYNXPOINT_LP),y)
41romstage-y += lp_gpio.c
42ramstage-y += lp_gpio.c
Kyösti Mälkki9265f892019-07-07 23:58:34 +030043smm-y += lp_gpio.c
Arthur Heymansc8116f62021-04-30 15:19:24 +020044verstage-y += lp_gpio.c
Angel Ponsaced1f02021-04-18 23:57:21 +020045bootblock-$(CONFIG_SERIALIO_UART_CONSOLE) += uart_init.c
46bootblock-$(CONFIG_SERIALIO_UART_CONSOLE) += iobp.c
47all-$(CONFIG_SERIALIO_UART_CONSOLE) += uart.c
48smm-$(CONFIG_SERIALIO_UART_CONSOLE) += uart.c
Duncan Laurie045f1532012-12-17 11:29:10 -080049endif
50
Arthur Heymansc8116f62021-04-30 15:19:24 +020051verstage-y += pmutil.c
Arthur Heymans77d5e742019-01-03 21:11:45 +010052
Kyösti Mälkki661ad462020-12-29 06:26:21 +020053CPPFLAGS_common += -I$(src)/southbridge/intel/lynxpoint/include
54
Stefan Reinauer13e41822015-04-27 14:02:36 -070055endif