x86: Move fsp_azalia.h to the generic fsp directory
authorSimon Glass <sjg@chromium.org>
Wed, 25 Sep 2019 14:00:12 +0000 (08:00 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Tue, 8 Oct 2019 05:50:16 +0000 (13:50 +0800)
This header file is the same for FSP v1 and v2. Move it into the general
fsp directory.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Tested-by: Bin Meng <bmeng.cn@gmail.com>
[bmeng: remove forward declarations in fsp_support.h]
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/include/asm/fsp/fsp_azalia.h [new file with mode: 0644]
arch/x86/include/asm/fsp1/fsp_azalia.h [deleted file]
arch/x86/include/asm/fsp1/fsp_support.h

diff --git a/arch/x86/include/asm/fsp/fsp_azalia.h b/arch/x86/include/asm/fsp/fsp_azalia.h
new file mode 100644 (file)
index 0000000..e59180b
--- /dev/null
@@ -0,0 +1,38 @@
+/* SPDX-License-Identifier: Intel */
+/*
+ * Copyright (C) 2013, Intel Corporation
+ * Copyright (C) 2015, Google, Inc
+ */
+
+#ifndef _FSP_AZALIA_H_
+#define _FSP_AZALIA_H_
+
+struct __packed azalia_verb_table_header {
+       u32 vendor_device_id;
+       u16 sub_system_id;
+       u8 revision_id;         /* 0xff applies to all steppings */
+       u8 front_panel_support;
+       u16 number_of_rear_jacks;
+       u16 number_of_front_jacks;
+};
+
+struct __packed azalia_verb_table {
+       struct azalia_verb_table_header header;
+       const u32 *data;
+};
+
+struct __packed azalia_config {
+       u8 pme_enable:1;
+       u8 docking_supported:1;
+       u8 docking_attached:1;
+       u8 hdmi_codec_enable:1;
+       u8 azalia_v_ci_enable:1;
+       u8 rsvdbits:3;
+       /* number of verb tables provided by platform */
+       u8 verb_table_num;
+       const struct azalia_verb_table *verb_table;
+       /* delay timer after azalia reset */
+       u16 reset_wait_timer_ms;
+};
+
+#endif
diff --git a/arch/x86/include/asm/fsp1/fsp_azalia.h b/arch/x86/include/asm/fsp1/fsp_azalia.h
deleted file mode 100644 (file)
index e59180b..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-/* SPDX-License-Identifier: Intel */
-/*
- * Copyright (C) 2013, Intel Corporation
- * Copyright (C) 2015, Google, Inc
- */
-
-#ifndef _FSP_AZALIA_H_
-#define _FSP_AZALIA_H_
-
-struct __packed azalia_verb_table_header {
-       u32 vendor_device_id;
-       u16 sub_system_id;
-       u8 revision_id;         /* 0xff applies to all steppings */
-       u8 front_panel_support;
-       u16 number_of_rear_jacks;
-       u16 number_of_front_jacks;
-};
-
-struct __packed azalia_verb_table {
-       struct azalia_verb_table_header header;
-       const u32 *data;
-};
-
-struct __packed azalia_config {
-       u8 pme_enable:1;
-       u8 docking_supported:1;
-       u8 docking_attached:1;
-       u8 hdmi_codec_enable:1;
-       u8 azalia_v_ci_enable:1;
-       u8 rsvdbits:3;
-       /* number of verb tables provided by platform */
-       u8 verb_table_num;
-       const struct azalia_verb_table *verb_table;
-       /* delay timer after azalia reset */
-       u16 reset_wait_timer_ms;
-};
-
-#endif
index 7b92392a2772060eaea651aca27bdda4895612f3..b0c36a41fe2ed300094fe66a28979ea579627354 100644 (file)
@@ -14,7 +14,7 @@
 #include "fsp_api.h"
 #include "fsp_infoheader.h"
 #include "fsp_bootmode.h"
-#include "fsp_azalia.h"
+#include <asm/fsp/fsp_azalia.h>
 #include <asm/arch/fsp/fsp_vpd.h>
 #include <asm/arch/fsp/fsp_configs.h>
 
@@ -22,7 +22,6 @@
 #define FSP_HIGHMEM_BASE       0x100000000ULL
 #define UPD_TERMINATOR         0x55AA
 
-
 /**
  * FSP Continuation assembly helper routine
  *