[PATCH] scmi: Rework SCMI_FIRMWARE implementation

Michal Simek michal.simek at amd.com
Tue Mar 17 12:47:03 CET 2026



On 3/17/26 02:24, Tom Rini wrote:
> As exposed by "make randconfig", how we have SCMI_FIRMWARE today is
> incomplete, and in one case, used incorrectly. First, SCMI_FIRMWARE has
> a build-time dependency on OF_CONTROL being enabled, so add that.
> Second, RESET_SCMI depends on SCMI_FIRMWARE being enabled, it should not
> select that symbol. In turn, a number of platforms need to now enable
> SCMI_FIRMWARE explicitly and not rely on RESET_SCMI to enable it for
> them.
> 
> Signed-off-by: Tom Rini <trini at konsulko.com>
> ---
> Cc: Marek Vasut <marek.vasut+renesas at mailbox.org>
> Cc: Michal Simek <michal.simek at amd.com>
> Cc: Nobuhiro Iwamatsu <iwamatsu at nigauri.org>
> Cc: Patrice Chotard <patrice.chotard at foss.st.com>
> Cc: Patrick Delaunay <patrick.delaunay at foss.st.com>
> Cc: Peng Fan <peng.fan at nxp.com>
> Cc: Simon Glass <sjg at chromium.org>
> Cc: uboot-stm32 at st-md-mailman.stormreply.com
> ---
>   configs/amd_versal2_virt_defconfig  | 1 +
>   configs/r8a78000_ironhide_defconfig | 1 +
>   configs/sandbox_defconfig           | 1 +
>   configs/stm32mp13_defconfig         | 1 +
>   configs/stm32mp15-odyssey_defconfig | 1 +
>   configs/stm32mp15_defconfig         | 1 +
>   configs/stm32mp15_trusted_defconfig | 1 +
>   configs/stm32mp21_defconfig         | 1 +
>   configs/stm32mp23_defconfig         | 1 +
>   configs/stm32mp25_defconfig         | 1 +
>   drivers/firmware/scmi/Kconfig       | 1 +
>   drivers/reset/Kconfig               | 2 +-
>   12 files changed, 12 insertions(+), 1 deletion(-)
> 
> diff --git a/configs/amd_versal2_virt_defconfig b/configs/amd_versal2_virt_defconfig
> index 94dce5c191c4..8cc210946539 100644
> --- a/configs/amd_versal2_virt_defconfig
> +++ b/configs/amd_versal2_virt_defconfig
> @@ -80,6 +80,7 @@ CONFIG_CLK_SCMI=y
>   CONFIG_CLK_VERSAL=y
>   CONFIG_DFU_RAM=y
>   CONFIG_ARM_FFA_TRANSPORT=y
> +CONFIG_SCMI_FIRMWARE=y
>   CONFIG_FPGA_XILINX=y
>   CONFIG_FPGA_VERSALPL=y
>   CONFIG_DM_I2C=y

Acked-by: Michal Simek <michal.simek at amd.com> # Versal Gen 2

M


More information about the U-Boot mailing list