aboutsummaryrefslogtreecommitdiff
path: root/src/soc/intel/common/hda_verb.h
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2020-08-03 15:00:46 +0200
committerPatrick Georgi <pgeorgi@google.com>2020-08-17 06:44:04 +0000
commit899d5bdefa138a10802f9997b58a264ce844d8b6 (patch)
tree5ba262685aafe06c1f7f9594a4dbf439835ce1e9 /src/soc/intel/common/hda_verb.h
parent9a9d10f7f5dc48037c1b38324dee3d8e673fcb67 (diff)
soc/intel/common: Move common HDA registers to <device/azalia_device.h>
Change-Id: I9ea191e5076e2f055405dc34d46dbbb8cfb0015e Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/44106 Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/intel/common/hda_verb.h')
-rw-r--r--src/soc/intel/common/hda_verb.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/soc/intel/common/hda_verb.h b/src/soc/intel/common/hda_verb.h
index 9b77ee31bf..ddd57747b7 100644
--- a/src/soc/intel/common/hda_verb.h
+++ b/src/soc/intel/common/hda_verb.h
@@ -5,16 +5,6 @@
#include <stdint.h>
-#define HDA_GCAP_REG 0x00
-#define HDA_GCTL_REG 0x08
-#define HDA_GCTL_CRST (1 << 0)
-#define HDA_STATESTS_REG 0x0e
-#define HDA_IC_REG 0x60
-#define HDA_IR_REG 0x64
-#define HDA_ICII_REG 0x68
-#define HDA_ICII_BUSY (1 << 0)
-#define HDA_ICII_VALID (1 << 1)
-
int hda_codec_detect(u8 *base);
int hda_codec_write(u8 *base, u32 size, const u32 *data);
int hda_codec_init(u8 *base, int addr, int verb_size, const u32 *verb_data);