mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-07-22 01:08:13 -04:00
Add a new file encapsulating most of the PCI NHI specifics (intentionally leaving some odd cookies behind to make the layering simpler). Most notably, separate out nhi_probe() to make it easier to register other types of NHIs. Also, fold in Intel Icelake (nhi_ops.c) support to contain all PCIe-related bits in pci.c. Signed-off-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com> Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
19 lines
773 B
Makefile
19 lines
773 B
Makefile
# SPDX-License-Identifier: GPL-2.0-only
|
|
ccflags-y := -I$(src)
|
|
obj-${CONFIG_USB4} := thunderbolt.o
|
|
thunderbolt-objs := nhi.o ctl.o tb.o switch.o cap.o pci.o path.o tunnel.o eeprom.o
|
|
thunderbolt-objs += domain.o dma_port.o icm.o property.o xdomain.o lc.o tmu.o usb4.o
|
|
thunderbolt-objs += usb4_port.o nvm.o retimer.o quirks.o clx.o
|
|
|
|
thunderbolt-${CONFIG_ACPI} += acpi.o
|
|
thunderbolt-$(CONFIG_DEBUG_FS) += debugfs.o
|
|
thunderbolt-$(CONFIG_USB4_CONFIGFS) += configfs.o
|
|
thunderbolt-${CONFIG_USB4_KUNIT_TEST} += test.o
|
|
CFLAGS_test.o += $(DISABLE_STRUCTLEAK_PLUGIN)
|
|
|
|
thunderbolt_dma_test-${CONFIG_USB4_DMA_TEST} += dma_test.o
|
|
obj-$(CONFIG_USB4_DMA_TEST) += thunderbolt_dma_test.o
|
|
|
|
thunderbolt_stream-${CONFIG_USB4_STREAM} += stream.o
|
|
obj-$(CONFIG_USB4_STREAM) += thunderbolt_stream.o
|