summaryrefslogtreecommitdiff
path: root/src/northbridge
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2017-04-22 16:19:56 +0200
committerMartin Roth <martinroth@google.com>2017-04-26 16:29:12 +0200
commitd2ca9d12dcda7f9ad77fe187af5f439072b4592f (patch)
tree24e61488b65de76fff958120b21a8468233a1104 /src/northbridge
parentebb7994263ad16419a4f402ed56735f469457212 (diff)
nb/pineview/raminit: Don't do Jedec init on resume from S3
This is not needed. Change-Id: Id19a00c1546b7a71d90aa8c7e43e6efde1e9fbbc Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/19425 Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'src/northbridge')
-rw-r--r--src/northbridge/intel/pineview/raminit.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/northbridge/intel/pineview/raminit.c b/src/northbridge/intel/pineview/raminit.c
index 330c912a12..cf6cbb9e0b 100644
--- a/src/northbridge/intel/pineview/raminit.c
+++ b/src/northbridge/intel/pineview/raminit.c
@@ -2616,10 +2616,10 @@ void sdram_initialize(int boot_path, const u8 *spd_addresses)
if (si.boot_path != BOOT_PATH_RESUME) {
MCHBAR32(0x260) = MCHBAR32(0x260) | (1 << 27);
- }
- sdram_jedecinit(&si);
- PRINTK_DEBUG("Done MRS\n");
+ sdram_jedecinit(&si);
+ PRINTK_DEBUG("Done MRS\n");
+ }
sdram_misc(&si);
PRINTK_DEBUG("Done misc\n");