mirror-linux/include/linux/firmware
Peng Fan 222accf05f firmware: imx: Add stub functions for SCMI CPU API
To ensure successful builds when CONFIG_IMX_SCMI_CPU_DRV is not enabled,
this patch adds static inline stub implementations for the following
functions:

  - scmi_imx_cpu_start()
  - scmi_imx_cpu_started()
  - scmi_imx_cpu_reset_vector_set()

These stubs return -EOPNOTSUPP to indicate that the functionality is not
supported in the current configuration. This avoids potential build or
link errors in code that conditionally calls these functions based on
feature availability.

Fixes: 1055faa5d6 ("firmware: imx: Add i.MX95 SCMI CPU driver")
Reviewed-by: Cristian Marussi <cristian.marussi@arm.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-09-11 09:59:08 +08:00
..
broadcom
cirrus firmware: cs_dsp: Remove unused struct list_head from cs_dsp_coeff_ctl 2025-06-16 13:26:44 +01:00
imx firmware: imx: Add stub functions for SCMI CPU API 2025-09-11 09:59:08 +08:00
intel firmware: stratix10-svc: Generic Mailbox Command 2023-08-04 16:31:37 +02:00
mediatek ASoC: SOF: mediatek: Constify struct mtk_adsp_ipc_ops 2024-06-17 13:08:31 +01:00
meson drivers: meson: sm: correct meson_sm_* API retval handling 2023-09-11 11:45:26 +02:00
qcom firmware: qcom: scm: take struct device as argument in SHM bridge enable 2025-07-16 22:50:55 -05:00
samsung firmware: exynos-acpm: introduce devm_acpm_get_by_node() 2025-04-22 09:50:06 +02:00
thead firmware: thead: Add AON firmware protocol driver 2025-03-13 14:41:32 +01:00
trusted_foundations.h
xlnx-event-manager.h soc: xilinx: Add cb event for subsystem restart 2024-06-03 13:07:56 +02:00
xlnx-zynqmp.h firmware: xilinx: Don't share zynqmp_pm_init_finalize() 2025-07-09 13:29:29 +02:00