summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/fsp
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2019-09-25 08:00:12 -0600
committerBin Meng <bmeng.cn@gmail.com>2019-10-08 13:50:16 +0800
commit6e93c64117bb8d04586bf095a8af75c25c2a7392 (patch)
treedf06bcb4567f2eb600840072a66f0b3cd2209783 /arch/x86/include/asm/fsp
parent83311886151f80ef24d30f850baece07d08863cb (diff)
downloadu-boot-6e93c64117bb8d04586bf095a8af75c25c2a7392.tar.gz
u-boot-6e93c64117bb8d04586bf095a8af75c25c2a7392.tar.xz
u-boot-6e93c64117bb8d04586bf095a8af75c25c2a7392.zip
x86: Move fsp_azalia.h to the generic fsp directory
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>
Diffstat (limited to 'arch/x86/include/asm/fsp')
-rw-r--r--arch/x86/include/asm/fsp/fsp_azalia.h38
1 files changed, 38 insertions, 0 deletions
diff --git a/arch/x86/include/asm/fsp/fsp_azalia.h b/arch/x86/include/asm/fsp/fsp_azalia.h
new file mode 100644
index 0000000000..e59180bdae
--- /dev/null
+++ b/arch/x86/include/asm/fsp/fsp_azalia.h
@@ -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