[PATCH v1] arm: global_data: add scmi pointer

Tom Rini trini at konsulko.com
Mon Oct 7 19:05:51 CEST 2024


On Sun, Oct 06, 2024 at 05:52:28PM +0800, alice.guo at oss.nxp.com wrote:
> From: Peng Fan <peng.fan at nxp.com>
> 
> Add scmi device and channel pointer for i.MX9.
> 
> Signed-off-by: Peng Fan <peng.fan at nxp.com>
> Signed-off-by: Alice Guo <alice.guo at nxp.com>
> Reviewed-by: Ye Li <ye.li at nxp.com>
> ---
>  arch/arm/include/asm/global_data.h | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/arch/arm/include/asm/global_data.h b/arch/arm/include/asm/global_data.h
> index 45401d5e3c..d04359f167 100644
> --- a/arch/arm/include/asm/global_data.h
> +++ b/arch/arm/include/asm/global_data.h
> @@ -108,6 +108,9 @@ struct arch_global_data {
>  #ifdef CONFIG_SMBIOS
>  	ulong smbios_start;		/* Start address of SMBIOS table */
>  #endif
> +#if defined(CONFIG_SCMI_FIRMWARE) && defined(CONFIG_IMX9)
> +	struct udevice *scmi_dev;
> +#endif
>  };
>  
>  #include <asm-generic/global_data.h>

But why is this only needed for i.MX9 families and not other users?

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20241007/05d21407/attachment.sig>


More information about the U-Boot mailing list