[U-Boot] [PATCH v6 07/34] arm: global_data: add scu_dev for i.MX8
Anatolij Gustschin
agust at denx.de
Thu Oct 18 12:28:10 UTC 2018
From: Peng Fan <peng.fan at nxp.com>
Add scu_dev for i.MX8, this will be used as a handle
to communite with SCU from A35.
Signed-off-by: Peng Fan <peng.fan at nxp.com>
Reviewed-by: Anatolij Gustschin <agust at denx.de>
Cc: Stefano Babic <sbabic at denx.de>
---
arch/arm/include/asm/global_data.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/arch/arm/include/asm/global_data.h b/arch/arm/include/asm/global_data.h
index 287a7bd5b1..c3ee5f0c7b 100644
--- a/arch/arm/include/asm/global_data.h
+++ b/arch/arm/include/asm/global_data.h
@@ -74,6 +74,10 @@ struct arch_global_data {
#if defined(CONFIG_FSL_LSCH3) && defined(CONFIG_SYS_FSL_HAS_DP_DDR)
unsigned long mem2_clk;
#endif
+
+#ifdef CONFIG_ARCH_IMX8
+ struct udevice *scu_dev;
+#endif
};
#include <asm-generic/global_data.h>
--
2.17.1
More information about the U-Boot
mailing list