1 # SPDX-License-Identifier: GPL-2.0
2 obj-y
+= setup.o opal-call.o opal-wrappers.o opal.o opal-async.o
3 obj-y
+= idle.o 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
9 obj-
$(CONFIG_SMP
) += smp.o subcore.o subcore-asm.o
10 obj-
$(CONFIG_FA_DUMP
) += opal-fadump.o
11 obj-
$(CONFIG_PRESERVE_FA_DUMP
) += opal-fadump.o
12 obj-
$(CONFIG_OPAL_CORE
) += opal-core.o
13 obj-
$(CONFIG_PCI
) += pci.o pci-ioda.o npu-dma.o pci-ioda-tce.o
14 obj-
$(CONFIG_PCI_IOV
) += pci-sriov.o
15 obj-
$(CONFIG_CXL_BASE
) += pci-cxl.o
16 obj-
$(CONFIG_EEH
) += eeh-powernv.o
17 obj-
$(CONFIG_MEMORY_FAILURE
) += opal-memory-errors.o
18 obj-
$(CONFIG_OPAL_PRD
) += opal-prd.o
19 obj-
$(CONFIG_PERF_EVENTS
) += opal-imc.o
20 obj-
$(CONFIG_PPC_MEMTRACE
) += memtrace.o
21 obj-
$(CONFIG_PPC_VAS
) += vas.o vas-window.o vas-debug.o vas-fault.o vas-api.o
22 obj-
$(CONFIG_OCXL_BASE
) += ocxl.o
23 obj-
$(CONFIG_SCOM_DEBUGFS
) += opal-xscom.o
24 obj-
$(CONFIG_PPC_SECURE_BOOT
) += opal-secvar.o