summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElyes Haouas <ehaouas@noos.fr>2023-01-14 20:09:52 +0100
committerElyes Haouas <ehaouas@noos.fr>2023-01-15 09:03:45 +0000
commit7fd39ffbddedf86f22b1c05b49d9ee35073ec348 (patch)
treec64b572c9938ad5744a4c57594f5f81a5d091c3b
parenta231d2c13e9922f859ff14e35bc5a7c0cddb52cd (diff)
soc/intel/apollolake/pmutil.c: Fix smi_sts_bits[HSMBUS_SMI_STS_BIT]
Found using -Woverride-init command option. Change-Id: I9f0755de9fae678fc5d78a709453fd1098d70e50 Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/71893 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Sean Rhodes <sean@starlabs.systems> Reviewed-by: Subrata Banik <subratabanik@google.com>
-rw-r--r--src/soc/intel/apollolake/pmutil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/intel/apollolake/pmutil.c b/src/soc/intel/apollolake/pmutil.c
index a7b63db036..41f806fc53 100644
--- a/src/soc/intel/apollolake/pmutil.c
+++ b/src/soc/intel/apollolake/pmutil.c
@@ -56,7 +56,7 @@ const char *const *soc_smi_sts_array(size_t *a)
[SERIRQ_SMI_STS_BIT] = "SERIRQ",
[SMBUS_SMI_STS_BIT] = "SMBUS_SMI",
[XHCI_SMI_STS_BIT] = "XHCI",
- [SCS_SMI_STS_BIT] = "HOST_SMBUS",
+ [HSMBUS_SMI_STS_BIT] = "HOST_SMBUS",
[SCS_SMI_STS_BIT] = "SCS",
[PCI_EXP_SMI_STS_BIT] = "PCI_EXP_SMI",
[SCC2_SMI_STS_BIT] = "SCC2",