nb/intel/sandybridge: Simplify SPD validity check
commit035096c6f0c8ebda3176ed41f341aa436c2b3009
authorAngel Pons <th3fanbus@gmail.com>
Thu, 17 Sep 2020 20:31:19 +0000 (17 22:31 +0200)
committerPatrick Georgi <pgeorgi@google.com>
Mon, 21 Sep 2020 08:13:48 +0000 (21 08:13 +0000)
tree28eec4d072a6e1c508b00af278e568441aa3c1fd
parent8c6d1610d1eb64695daecdd6704b99be15196fd9
nb/intel/sandybridge: Simplify SPD validity check

Instead of decoding the entire SPD, just check the memory type directly.

Tested on Asus P8Z77-V LX2, still boots.

Change-Id: I3afa0ca5aae984895e50fe7b3792192fdd2ee6c6
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/45498
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
src/northbridge/intel/sandybridge/raminit.c