summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/soc/intel/common/block/pmc/pmclib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/intel/common/block/pmc/pmclib.c b/src/soc/intel/common/block/pmc/pmclib.c
index c58b3a444b..054e731e45 100644
--- a/src/soc/intel/common/block/pmc/pmclib.c
+++ b/src/soc/intel/common/block/pmc/pmclib.c
@@ -581,7 +581,7 @@ void pmc_gpe_init(void)
{
uint32_t gpio_cfg = 0;
uint32_t gpio_cfg_reg;
- uint8_t dw0, dw1, dw2;
+ uint8_t dw0 = 0, dw1 = 0, dw2 = 0;
/* Read PMC base address from soc. This is implemented in soc */
uintptr_t pmc_bar = soc_read_pmc_base();