Martin Roth | 2571ecb | 2023-08-04 12:27:26 -0600 | [diff] [blame] | 1 | ## SPDX-License-Identifier: GPL-2.0-only |
| 2 | |
Patrick Georgi | 8463dd9 | 2010-09-30 16:55:02 +0000 | [diff] [blame] | 3 | ramstage-y += device.c |
| 4 | ramstage-y += root_device.c |
Kyösti Mälkki | c33f1e9 | 2012-08-07 17:12:11 +0300 | [diff] [blame] | 5 | ramstage-y += cpu_device.c |
Patrick Georgi | 8463dd9 | 2010-09-30 16:55:02 +0000 | [diff] [blame] | 6 | ramstage-y += device_util.c |
Andrew Wu | b7bb70d | 2013-08-12 20:07:47 +0800 | [diff] [blame] | 7 | ramstage-$(CONFIG_AZALIA_PLUGIN_SUPPORT) += azalia_device.c |
Furquan Shaikh | 99ac98f | 2014-04-23 10:18:48 -0700 | [diff] [blame] | 8 | ramstage-$(CONFIG_ARCH_RAMSTAGE_X86_32) += pnp_device.c |
Stefan Reinauer | 0e7b7bb | 2015-06-18 01:19:14 -0700 | [diff] [blame] | 9 | ramstage-$(CONFIG_ARCH_RAMSTAGE_X86_64) += pnp_device.c |
Patrick Georgi | 8463dd9 | 2010-09-30 16:55:02 +0000 | [diff] [blame] | 10 | ramstage-y += smbus_ops.c |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 11 | |
Vladimir Serbinenko | 75c8387 | 2014-09-05 01:01:31 +0200 | [diff] [blame] | 12 | ifeq ($(CONFIG_AZALIA_PLUGIN_SUPPORT),y) |
Angel Pons | 520003a | 2020-12-05 18:35:22 +0100 | [diff] [blame] | 13 | ramstage-srcs += $(wildcard src/mainboard/$(MAINBOARDDIR)/hda_verb.c) |
Vladimir Serbinenko | 75c8387 | 2014-09-05 01:01:31 +0200 | [diff] [blame] | 14 | endif |
| 15 | |
Nico Huber | 81ec9c0 | 2018-05-15 14:09:37 +0200 | [diff] [blame] | 16 | bootblock-y += device_const.c |
| 17 | postcar-y += device_const.c |
| 18 | smm-y += device_const.c |
| 19 | verstage-y += device_const.c |
| 20 | romstage-y += device_const.c |
| 21 | ramstage-y += device_const.c |
Kyösti Mälkki | 3521e26 | 2018-12-26 19:33:28 +0200 | [diff] [blame] | 22 | |
Kyösti Mälkki | 3a42c88 | 2019-01-23 16:02:28 +0200 | [diff] [blame] | 23 | ifeq ($(CONFIG_PCI),y) |
| 24 | bootblock-y += pci_early.c |
| 25 | verstage-y += pci_early.c |
| 26 | romstage-y += pci_early.c |
| 27 | postcar-y += pci_early.c |
| 28 | |
| 29 | ramstage-y += pci_class.c |
| 30 | ramstage-y += pci_device.c |
Kyösti Mälkki | 3a42c88 | 2019-01-23 16:02:28 +0200 | [diff] [blame] | 31 | ramstage-y += pci_rom.c |
| 32 | |
Kyösti Mälkki | d2cdfff | 2019-03-05 07:56:38 +0200 | [diff] [blame] | 33 | bootblock-y += pci_ops.c |
| 34 | verstage-y += pci_ops.c |
| 35 | romstage-y += pci_ops.c |
| 36 | postcar-y += pci_ops.c |
| 37 | ramstage-y += pci_ops.c |
| 38 | smm-y += pci_ops.c |
| 39 | |
Kyösti Mälkki | 3a42c88 | 2019-01-23 16:02:28 +0200 | [diff] [blame] | 40 | ramstage-$(CONFIG_PCIX_PLUGIN_SUPPORT) += pcix_device.c |
| 41 | ramstage-$(CONFIG_PCIEXP_PLUGIN_SUPPORT) += pciexp_device.c |
| 42 | ramstage-$(CONFIG_CARDBUS_PLUGIN_SUPPORT) += cardbus_device.c |
Kyösti Mälkki | 3a42c88 | 2019-01-23 16:02:28 +0200 | [diff] [blame] | 43 | endif |
Stefan Reinauer | 57879c9 | 2012-07-31 16:47:25 -0700 | [diff] [blame] | 44 | |
Julius Werner | 5ff1808 | 2021-08-24 16:03:57 -0700 | [diff] [blame] | 45 | subdirs-y += oprom dram |
Myles Watson | e3df121 | 2010-06-04 15:55:12 +0000 | [diff] [blame] | 46 | |
Julius Werner | 37d7ac8 | 2014-05-05 18:03:46 -0700 | [diff] [blame] | 47 | bootblock-$(CONFIG_SOFTWARE_I2C) += software_i2c.c |
Julius Werner | 7f70ad6 | 2015-02-09 17:40:58 -0800 | [diff] [blame] | 48 | verstage-$(CONFIG_SOFTWARE_I2C) += software_i2c.c |
Julius Werner | 37d7ac8 | 2014-05-05 18:03:46 -0700 | [diff] [blame] | 49 | romstage-$(CONFIG_SOFTWARE_I2C) += software_i2c.c |
| 50 | ramstage-$(CONFIG_SOFTWARE_I2C) += software_i2c.c |
Yidi Lin | d33ebd1 | 2016-03-15 14:38:44 +0800 | [diff] [blame] | 51 | |
| 52 | bootblock-y += i2c.c |
| 53 | verstage-y += i2c.c |
| 54 | romstage-y += i2c.c |
| 55 | ramstage-y += i2c.c |
Nico Huber | 5817386 | 2017-08-01 17:09:35 +0200 | [diff] [blame] | 56 | ramstage-y += i2c_bus.c |
Julius Werner | db7f6fb | 2019-08-12 16:45:21 -0700 | [diff] [blame] | 57 | |
| 58 | bootblock-y += mmio.c |
| 59 | verstage-y += mmio.c |
| 60 | romstage-y += mmio.c |
| 61 | ramstage-y += mmio.c |
Furquan Shaikh | 6939574 | 2020-05-15 15:43:15 -0700 | [diff] [blame] | 62 | |
| 63 | ramstage-y += resource_allocator_common.c |
Arthur Heymans | 36695f2 | 2022-11-02 10:37:51 +0100 | [diff] [blame] | 64 | ramstage-y += resource_allocator_v4.c |
Raul E Rangel | a5b7ddf | 2020-05-29 17:16:20 -0600 | [diff] [blame] | 65 | |
Robert Zieba | 219cb95 | 2022-11-18 18:06:28 +0000 | [diff] [blame] | 66 | ramstage-$(CONFIG_XHCI_UTILS) += xhci.c xhci_resource.c |
| 67 | smm-$(CONFIG_XHCI_UTILS) += xhci_resource.c |
Michael Niewöhner | dbb667a | 2020-12-11 21:26:02 +0100 | [diff] [blame] | 68 | |
| 69 | ramstage-y += gpio.c |
Mario Scheithauer | 67f63e7 | 2022-11-02 15:57:10 +0100 | [diff] [blame] | 70 | ramstage-y += mdio.c |