From 401d1c4f5d2d29c4bc4beaec95402ca23eb63295 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Fri, 30 Oct 2020 21:38:53 -0600 Subject: common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include at all, so remove that include. Signed-off-by: Simon Glass Signed-off-by: Tom Rini --- arch/x86/include/asm/fast_spi.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'arch/x86/include/asm/fast_spi.h') diff --git a/arch/x86/include/asm/fast_spi.h b/arch/x86/include/asm/fast_spi.h index 7a81d4f05c..82e3d8f63e 100644 --- a/arch/x86/include/asm/fast_spi.h +++ b/arch/x86/include/asm/fast_spi.h @@ -6,8 +6,10 @@ #ifndef ASM_FAST_SPI_H #define ASM_FAST_SPI_H -/* Register offsets from the MMIO region base (PCI_BASE_ADDRESS_0) */ +#include #include + +/* Register offsets from the MMIO region base (PCI_BASE_ADDRESS_0) */ struct fast_spi_regs { u32 bfp; u32 hsfsts_ctl; -- cgit v1.2.3