mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 07:20:50 +07:00
32ec783ae1
It is nice to allow compile-testing the firmware drivers, but this fails when the dependency is a loadable module: aarch64-linux-ld: drivers/firmware/imx/scu-pd.o: in function `imx_sc_pd_power': scu-pd.c:(.text+0xd8): undefined reference to `imx_scu_call_rpc' aarch64-linux-ld: scu-pd.c:(.text+0x108): undefined reference to `imx_scu_call_rpc' aarch64-linux-ld: drivers/firmware/imx/scu-pd.o: in function `imx_sc_pd_probe': Change the dependencies to ensure that any driver we depend on is either reachable or we are compile-testing and it is disabled, effectively reverting most of the previous changes that turned out to be incorrect. Fixes:a9f85f93ed
("firmware: imx: add COMPILE_TEST support") Fixes:5b00b83754
("firmware: imx: add COMPILE_TEST for IMX_SCU driver") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Link: https://lore.kernel.org/r/20200408190314.695067-1-arnd@arndb.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
30 lines
952 B
Plaintext
30 lines
952 B
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
config IMX_DSP
|
|
tristate "IMX DSP Protocol driver"
|
|
depends on IMX_MBOX
|
|
help
|
|
This enables DSP IPC protocol between host AP (Linux)
|
|
and the firmware running on DSP.
|
|
DSP exists on some i.MX8 processors (e.g i.MX8QM, i.MX8QXP).
|
|
|
|
It acts like a doorbell. Client might use shared memory to
|
|
exchange information with DSP side.
|
|
|
|
config IMX_SCU
|
|
bool "IMX SCU Protocol driver"
|
|
depends on IMX_MBOX
|
|
help
|
|
The System Controller Firmware (SCFW) is a low-level system function
|
|
which runs on a dedicated Cortex-M core to provide power, clock, and
|
|
resource management. It exists on some i.MX8 processors. e.g. i.MX8QM
|
|
(QM, QP), and i.MX8QX (QXP, DX).
|
|
|
|
This driver manages the IPC interface between host CPU and the
|
|
SCU firmware running on M4.
|
|
|
|
config IMX_SCU_PD
|
|
bool "IMX SCU Power Domain driver"
|
|
depends on IMX_SCU
|
|
help
|
|
The System Controller Firmware (SCFW) based power domain driver.
|