[PATCH v3 2/5] firmware: scmi: support protocols on sandbox only if enabled

Simon Glass sjg at chromium.org
Wed Nov 15 00:29:45 CET 2023


On Mon, 13 Nov 2023 at 19:14, AKASHI Takahiro
<takahiro.akashi at linaro.org> wrote:
>
> This change will be useful when we manually test SCMI on sandbox
> by enabling/disabling a specific SCMI protocol.
>
> Signed-off-by: AKASHI Takahiro <takahiro.akashi at linaro.org>
> ---
> v9
> * use CONFIG_IS_ENABLED() rather than IS_ENABLED()
> * remove goto by introducing a not_supported() function
> ---
>  drivers/firmware/scmi/sandbox-scmi_agent.c   | 30 ++++++--
>  drivers/firmware/scmi/sandbox-scmi_devices.c | 78 ++++++++++++--------
>  2 files changed, 71 insertions(+), 37 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list