lib/smbios: Improve Type9
[coreboot2.git] / src / device / Makefile.mk
bloba2f0d3ec3aded78b2bada205e22c632e69bf6a54
1 ## SPDX-License-Identifier: GPL-2.0-only
3 ramstage-y += device.c
4 ramstage-y += root_device.c
5 ramstage-y += cpu_device.c
6 ramstage-y += device_util.c
7 ramstage-$(CONFIG_AZALIA_HDA_CODEC_SUPPORT) += azalia_device.c
8 ramstage-$(CONFIG_ARCH_RAMSTAGE_X86_32) += pnp_device.c
9 ramstage-$(CONFIG_ARCH_RAMSTAGE_X86_64) += pnp_device.c
10 ramstage-y += smbus_ops.c
12 ifeq ($(CONFIG_AZALIA_HDA_CODEC_SUPPORT),y)
13 ramstage-srcs += $(wildcard src/mainboard/$(MAINBOARDDIR)/hda_verb.c)
14 endif
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
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
29 ramstage-y += pci_class.c
30 ramstage-y += pci_device.c
31 ramstage-y += pci_rom.c
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
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
43 endif
45 subdirs-y += oprom dram
47 bootblock-$(CONFIG_SOFTWARE_I2C) += software_i2c.c
48 verstage-$(CONFIG_SOFTWARE_I2C) += software_i2c.c
49 romstage-$(CONFIG_SOFTWARE_I2C) += software_i2c.c
50 ramstage-$(CONFIG_SOFTWARE_I2C) += software_i2c.c
52 bootblock-y += i2c.c
53 verstage-y += i2c.c
54 romstage-y += i2c.c
55 ramstage-y += i2c.c
56 ramstage-y += i2c_bus.c
58 bootblock-y += mmio.c
59 verstage-y += mmio.c
60 romstage-y += mmio.c
61 ramstage-y += mmio.c
63 ramstage-y += resource_allocator_common.c
64 ramstage-y += resource_allocator_v4.c
66 ramstage-$(CONFIG_XHCI_UTILS) += xhci.c xhci_resource.c
67 smm-$(CONFIG_XHCI_UTILS) += xhci_resource.c
69 ramstage-y += gpio.c
70 ramstage-y += mdio.c