[PATCH 14/20] fsl-mc: Add prototype for bd_info

Tom Rini trini at konsulko.com
Wed Nov 1 17:28:18 CET 2023


As the functions fsl_mc_ldpaa_init/fsl_mc_ldpaa_exit take a bd_info as
an argument, add a struct bd_info to this header file rather than add
<asm/u-boot.h> to the overall chain.

Signed-off-by: Tom Rini <trini at konsulko.com>
---
 include/fsl-mc/fsl_mc.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/fsl-mc/fsl_mc.h b/include/fsl-mc/fsl_mc.h
index 258738dfc8c2..de2bba93ecf4 100644
--- a/include/fsl-mc/fsl_mc.h
+++ b/include/fsl-mc/fsl_mc.h
@@ -10,6 +10,8 @@
 #include <common.h>
 #include <linux/bitops.h>
 
+struct bd_info;
+
 #define MC_CCSR_BASE_ADDR \
 	((struct mc_ccsr_registers __iomem *)0x8340000)
 
-- 
2.34.1



More information about the U-Boot mailing list