[PATCH v1] arm: global_data: add scmi pointer
alice.guo at oss.nxp.com
alice.guo at oss.nxp.com
Sun Oct 6 11:52:28 CEST 2024
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>
--
2.34.1
More information about the U-Boot
mailing list