1 # SPDX-License-Identifier: GPL-2.0
2 obj-y
+= setup.o opal-wrappers.o opal.o opal-async.o idle.o
3 obj-y
+= opal-rtc.o opal-nvram.o opal-lpc.o opal-flash.o
4 obj-y
+= rng.o opal-elog.o opal-dump.o opal-sysparam.o opal-sensor.o
5 obj-y
+= opal-msglog.o opal-hmi.o opal-power.o opal-irqchip.o
6 obj-y
+= opal-kmsg.o opal-powercap.o opal-psr.o opal-sensor-groups.o
8 obj-
$(CONFIG_SMP
) += smp.o subcore.o subcore-asm.o
9 obj-
$(CONFIG_PCI
) += pci.o pci-ioda.o npu-dma.o
10 obj-
$(CONFIG_CXL_BASE
) += pci-cxl.o
11 obj-
$(CONFIG_EEH
) += eeh-powernv.o
12 obj-
$(CONFIG_PPC_SCOM
) += opal-xscom.o
13 obj-
$(CONFIG_MEMORY_FAILURE
) += opal-memory-errors.o
14 obj-
$(CONFIG_TRACEPOINTS
) += opal-tracepoints.o
15 obj-
$(CONFIG_OPAL_PRD
) += opal-prd.o
16 obj-
$(CONFIG_PERF_EVENTS
) += opal-imc.o
17 obj-
$(CONFIG_PPC_MEMTRACE
) += memtrace.o
18 obj-
$(CONFIG_PPC_VAS
) += vas.o vas-window.o vas-debug.o
19 obj-
$(CONFIG_PPC_FTW
) += nx-ftw.o
20 obj-
$(CONFIG_OCXL_BASE
) += ocxl.o