Kyösti Mälkki | 54c586c | 2013-06-10 11:40:54 +0300 | [diff] [blame] | 1 | ## |
| 2 | ## This file is part of the coreboot project. |
| 3 | ## |
| 4 | ## Copyright (C) 2008-2009 coresystems GmbH |
| 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 | ## |
Kyösti Mälkki | 54c586c | 2013-06-10 11:40:54 +0300 | [diff] [blame] | 15 | |
Aaron Durbin | 7dcb545 | 2015-07-30 16:50:21 -0500 | [diff] [blame] | 16 | # CONFIG_HAVE_INTEL_FIRMWARE protects doing anything to the build. |
| 17 | subdirs-y += firmware |
| 18 | |
Arthur Heymans | 63998ad | 2019-06-04 13:43:25 +0200 | [diff] [blame] | 19 | all-$(CONFIG_SOUTHBRIDGE_INTEL_COMMON_RESET) += reset.c |
Patrick Rudolph | 45022ae | 2018-10-01 19:17:11 +0200 | [diff] [blame] | 20 | |
Frans Hendriks | b27fb33 | 2019-03-04 08:02:43 +0100 | [diff] [blame] | 21 | romstage-$(CONFIG_SOUTHBRIDGE_INTEL_COMMON_SMBUS) += smbus.c |
| 22 | ramstage-$(CONFIG_SOUTHBRIDGE_INTEL_COMMON_SMBUS) += smbus.c |
| 23 | |
Patrick Rudolph | 1ae592b | 2019-03-24 14:41:45 +0100 | [diff] [blame] | 24 | romstage-$(CONFIG_SOUTHBRIDGE_INTEL_COMMON_PMCLIB) += pmclib.c |
| 25 | |
Elyes HAOUAS | 551a759 | 2019-05-01 16:56:36 +0200 | [diff] [blame] | 26 | ramstage-$(CONFIG_SOUTHBRIDGE_INTEL_COMMON_WATCHDOG) += watchdog.c |
| 27 | |
Arthur Heymans | b8bda11 | 2019-06-04 13:57:47 +0200 | [diff] [blame] | 28 | all-$(CONFIG_SOUTHBRIDGE_INTEL_COMMON_PMBASE) += pmbase.c |
| 29 | smm-$(CONFIG_SOUTHBRIDGE_INTEL_COMMON_PMBASE) += pmbase.c |
Patrick Rudolph | 853bb4d | 2018-06-28 13:58:36 +0200 | [diff] [blame] | 30 | |
Arthur Heymans | adc4753 | 2018-12-28 15:48:58 +0100 | [diff] [blame] | 31 | bootblock-$(CONFIG_USBDEBUG) += usb_debug.c |
| 32 | romstage-$(CONFIG_USBDEBUG) += usb_debug.c |
Kyösti Mälkki | 54c586c | 2013-06-10 11:40:54 +0300 | [diff] [blame] | 33 | ramstage-$(CONFIG_USBDEBUG) += usb_debug.c |
Stefan Reinauer | 13e4182 | 2015-04-27 14:02:36 -0700 | [diff] [blame] | 34 | |
Arthur Heymans | c583920 | 2019-11-12 23:48:42 +0100 | [diff] [blame^] | 35 | bootblock-$(CONFIG_SOUTHBRIDGE_INTEL_COMMON_GPIO) += gpio.c |
Patrick Rudolph | 59de6c9 | 2015-12-26 08:33:16 +0100 | [diff] [blame] | 36 | romstage-$(CONFIG_SOUTHBRIDGE_INTEL_COMMON_GPIO) += gpio.c |
| 37 | ramstage-$(CONFIG_SOUTHBRIDGE_INTEL_COMMON_GPIO) += gpio.c |
| 38 | smm-$(CONFIG_SOUTHBRIDGE_INTEL_COMMON_GPIO) += gpio.c |
Arthur Heymans | 16fe790 | 2017-04-12 17:01:31 +0200 | [diff] [blame] | 39 | |
Arthur Heymans | 63998ad | 2019-06-04 13:43:25 +0200 | [diff] [blame] | 40 | all-$(CONFIG_SOUTHBRIDGE_INTEL_COMMON_SPI) += spi.c |
Arthur Heymans | bddef0d | 2017-09-25 12:21:07 +0200 | [diff] [blame] | 41 | ifeq ($(CONFIG_SPI_FLASH_SMM),y) |
| 42 | smm-$(CONFIG_SOUTHBRIDGE_INTEL_COMMON_SPI) += spi.c |
| 43 | endif |
| 44 | |
Tobias Diedrich | 9d8be5a | 2017-12-13 23:25:32 +0100 | [diff] [blame] | 45 | ramstage-$(CONFIG_SOUTHBRIDGE_INTEL_COMMON_PIRQ_ACPI_GEN) += acpi_pirq_gen.c |
| 46 | ramstage-$(CONFIG_SOUTHBRIDGE_INTEL_COMMON_RCBA_PIRQ) += rcba_pirq.c |
| 47 | |
Arthur Heymans | a050817 | 2018-01-25 11:30:22 +0100 | [diff] [blame] | 48 | ramstage-$(CONFIG_SOUTHBRIDGE_INTEL_COMMON_SMM) += pmutil.c smi.c |
| 49 | smm-$(CONFIG_SOUTHBRIDGE_INTEL_COMMON_SMM) += pmutil.c smihandler.c |
| 50 | |
Tristan Corrick | 167a512 | 2018-10-31 02:28:32 +1300 | [diff] [blame] | 51 | ramstage-$(CONFIG_SOUTHBRIDGE_INTEL_COMMON_ACPI_MADT) += madt.c |
| 52 | |
Tristan Corrick | 63626b1 | 2018-11-30 22:53:50 +1300 | [diff] [blame] | 53 | smm-$(CONFIG_SOUTHBRIDGE_INTEL_COMMON_FINALIZE) += finalize.c |
| 54 | |
Arthur Heymans | 074730c | 2019-06-04 14:05:53 +0200 | [diff] [blame] | 55 | all-$(CONFIG_SOUTHBRIDGE_INTEL_COMMON_RTC) += rtc.c |