nb/intel/sandybridge: Fix unitialized variable issue4.22_branch4.22.01
commit2ff24090376ae8eaf963696de0e20e3bc8bbe54f
authorJeremy Compostella <jeremy.compostella@intel.com>
Thu, 16 Nov 2023 16:48:23 +0000 (16 08:48 -0800)
committerMartin L Roth <gaumless@gmail.com>
Thu, 23 Nov 2023 23:29:19 +0000 (23 23:29 +0000)
tree43cc107d758abd5c84eac41e92d10e21f1e59625
parentc8dc4a3bd1f93a02c47768f4ef122f67bb1a8fe3
nb/intel/sandybridge: Fix unitialized variable issue

Cherry-picked from main branch using commit caa0c0e71a.

Original commit message:

commit 1e9601c5ef80 ("nb/intel/sandybridge: Standardize MRC vs. native
SPD mapping API") introduced an uninitialized variable issue.

Change-Id: I41b081dc4c961acc04423067e29e0eabe5f17539
Found-by: Coverity CID 1524317
Original-Signed-off-by: Jeremy Compostella <jeremy.compostella@intel.com>
Original-Reviewed-on: https://review.coreboot.org/c/coreboot/+/79093
Original-Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Original-Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Original-Reviewed-by: Patrick Rudolph <patrick.rudolph@9elements.com>
Signed-off-by: Felix Singer <felixsinger@posteo.net>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/79231
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin L Roth <gaumless@gmail.com>
src/northbridge/intel/sandybridge/raminit_mrc.c