[U-Boot] [PATCH 02/10] x86: fsp: Move fsp_azalia include out of fsp_support.h
Simon Glass
sjg at chromium.org
Sun Aug 18 22:51:09 UTC 2019
This file is only used by one board and we don't need the types for most
FSP files so it is wasteful to include it so widely. Drop it from this
header.
Signed-off-by: Simon Glass <sjg at chromium.org>
---
arch/x86/cpu/braswell/fsp_configs.c | 1 +
arch/x86/include/asm/fsp1/fsp_support.h | 4 +++-
board/advantech/som-db5800-som-6867/som-db5800-som-6867.c | 1 +
3 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/arch/x86/cpu/braswell/fsp_configs.c b/arch/x86/cpu/braswell/fsp_configs.c
index 607e333f21..6f217ce7d6 100644
--- a/arch/x86/cpu/braswell/fsp_configs.c
+++ b/arch/x86/cpu/braswell/fsp_configs.c
@@ -5,6 +5,7 @@
#include <common.h>
#include <fdtdec.h>
+#include <asm/fsp1/fsp_azalia.h>
#include <asm/fsp1/fsp_support.h>
DECLARE_GLOBAL_DATA_PTR;
diff --git a/arch/x86/include/asm/fsp1/fsp_support.h b/arch/x86/include/asm/fsp1/fsp_support.h
index 7b92392a27..72fbcbc393 100644
--- a/arch/x86/include/asm/fsp1/fsp_support.h
+++ b/arch/x86/include/asm/fsp1/fsp_support.h
@@ -14,7 +14,6 @@
#include "fsp_api.h"
#include "fsp_infoheader.h"
#include "fsp_bootmode.h"
-#include "fsp_azalia.h"
#include <asm/arch/fsp/fsp_vpd.h>
#include <asm/arch/fsp/fsp_configs.h>
@@ -22,6 +21,9 @@
#define FSP_HIGHMEM_BASE 0x100000000ULL
#define UPD_TERMINATOR 0x55AA
+struct efi_guid;
+struct fspinit_rtbuf;
+struct fsp_config_data;
/**
* FSP Continuation assembly helper routine
diff --git a/board/advantech/som-db5800-som-6867/som-db5800-som-6867.c b/board/advantech/som-db5800-som-6867/som-db5800-som-6867.c
index 8f4c587371..212f77fd62 100644
--- a/board/advantech/som-db5800-som-6867/som-db5800-som-6867.c
+++ b/board/advantech/som-db5800-som-6867/som-db5800-som-6867.c
@@ -5,6 +5,7 @@
*/
#include <common.h>
+#include <asm/fsp1/fsp_azalia.h>
#include <asm/fsp1/fsp_support.h>
/* ALC262 Verb Table - 10EC0262 */
--
2.23.0.rc1.153.gdeed80330f-goog
More information about the U-Boot
mailing list