u-boot/drivers/firmware/scmi
Jonas Karlman 2229758118 clk: scmi: Add Kconfig option for SPL
Building U-Boot SPL with CLK_SCMI and SCMI_FIRMWARE Kconfig options
enabled and SPL_FIRMWARE disabled result in the following error.

  drivers/clk/clk_scmi.o: in function `scmi_clk_gate':
  drivers/clk/clk_scmi.c:84: undefined reference to `devm_scmi_process_msg'
  drivers/clk/clk_scmi.c:88: undefined reference to `scmi_to_linux_errno'
  drivers/clk/clk_scmi.o: in function `scmi_clk_get_rate':
  drivers/clk/clk_scmi.c:113: undefined reference to `devm_scmi_process_msg'
  drivers/clk/clk_scmi.c:117: undefined reference to `scmi_to_linux_errno'
  drivers/clk/clk_scmi.o: in function `scmi_clk_set_rate':
  drivers/clk/clk_scmi.c:139: undefined reference to `devm_scmi_process_msg'
  drivers/clk/clk_scmi.c:143: undefined reference to `scmi_to_linux_errno'
  drivers/clk/clk_scmi.o: in function `scmi_clk_probe':
  drivers/clk/clk_scmi.c:157: undefined reference to `devm_scmi_of_get_channel'
  make[1]: *** [scripts/Makefile.spl:527: spl/u-boot-spl] Error 1
  make: *** [Makefile:2043: spl/u-boot-spl] Error 2

Add Kconfig option so that CLK_SCMI can be disabled in SPL to fix this.

Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
2023-04-21 15:16:01 +08:00
..
Kconfig firmware: scmi: Add OP-TEE transport 2021-11-23 13:54:43 -05:00
mailbox_agent.c firmware: scmi: fix the multi channel support with CCF 2022-10-12 08:55:31 -04:00
Makefile firmware: scmi: Add OP-TEE transport 2021-11-23 13:54:43 -05:00
optee_agent.c firmware: scmi: fix the multi channel support with CCF 2022-10-12 08:55:31 -04:00
sandbox-scmi_agent.c firmware: scmi: prepare uclass to pass channel reference 2022-06-23 13:12:55 -04:00
sandbox-scmi_devices.c sandbox: scmi: test against a single scmi agent 2022-03-02 17:42:06 -05:00
scmi_agent-uclass.c clk: scmi: Add Kconfig option for SPL 2023-04-21 15:16:01 +08:00
smccc_agent.c firmware: scmi: fix the multi channel support with CCF 2022-10-12 08:55:31 -04:00
smt.c firmware: scmi: optee: use TEE shared memory for SCMI messages 2022-06-23 13:12:55 -04:00
smt.h firmware: scmi: optee: use TEE shared memory for SCMI messages 2022-06-23 13:12:55 -04:00