summaryrefslogtreecommitdiff
path: root/src/soc/intel/baytrail/cpu.c
diff options
context:
space:
mode:
authorGang Chen <gang.c.chen@intel.com>2022-07-05 21:18:05 +0800
committerFelix Held <felix-coreboot@felixheld.de>2024-03-14 20:02:49 +0000
commit07781e8268b3b3543e6fe15669aab029a45706e3 (patch)
tree2c8a6d57c5a90f58340d7e1a9ac4dde6b2174339 /src/soc/intel/baytrail/cpu.c
parent72298ae964511f355fc9f4489da278dbaf03feea (diff)
intelblocks/pmc: Assign initial values to pmc_gpe_init variables
pmc_gpe_init uses soc_get_gpi_gpe_configs to initialize dw0, dw1 and dw2. dw0, dw1 and dw2 are uninitialized before calling soc_get_gpi_gpe_configs. This is error prone for some soc implementations where soc_get_gpi_gpe_configs does nothing. This patch is simple, just to assign zero values to dw0, dw1 and dw0, to enhance the code robustness. TEST=intel/archercity CRB Signed-off-by: Gang Chen <gang.c.chen@intel.com> Change-Id: I8a710a2ac1482eed8c11977d51b187d834122d26 Reviewed-on: https://review.coreboot.org/c/coreboot/+/81210 Reviewed-by: Jérémy Compostella <jeremy.compostella@intel.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/intel/baytrail/cpu.c')
0 files changed, 0 insertions, 0 deletions