nb/intel/sandybridge: Unify the code paths
commitefbed263dfc1f85b61f1e023682d4e885ed207aa
authorAngel Pons <th3fanbus@gmail.com>
Mon, 23 Mar 2020 22:18:03 +0000 (23 23:18 +0100)
committerPatrick Georgi <pgeorgi@google.com>
Thu, 26 Mar 2020 10:19:21 +0000 (26 10:19 +0000)
tree1462c243c13402718bd63b6d2dd0cf4319e2bb3d
parent29f391ec8f37e3e7d838bf2d16a4ba190062f1dc
nb/intel/sandybridge: Unify the code paths

The code for Sandy Bridge is a subset of the code for Ivy Bridge. Adapt
the Ivy Bridge code so that it also supports Sandy Bridge, and use it.

Tested on Asus P8Z77-V LX2, still boots with i7-2600 and i5-3330.

Change-Id: I7b78ec605aff976b9a5cdbb364a69df4b4947c6e
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/39737
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
src/northbridge/intel/sandybridge/raminit.c
src/northbridge/intel/sandybridge/raminit_common.h
src/northbridge/intel/sandybridge/raminit_ivy.c