[coreboot-gerrit] Change in coreboot[master]: nb/pineview/raminit: Don't do Jedec init on resume from S3

Arthur Heymans (Code Review) gerrit at coreboot.org
Sat Apr 22 16:30:34 CEST 2017


Arthur Heymans has uploaded a new change for review. ( https://review.coreboot.org/19425 )

Change subject: nb/pineview/raminit: Don't do Jedec init on resume from S3
......................................................................

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 at aheymans.xyz>
---
M src/northbridge/intel/pineview/raminit.c
1 file changed, 2 insertions(+), 1 deletion(-)


  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/25/19425/1

diff --git a/src/northbridge/intel/pineview/raminit.c b/src/northbridge/intel/pineview/raminit.c
index 330c912..3571146 100644
--- a/src/northbridge/intel/pineview/raminit.c
+++ b/src/northbridge/intel/pineview/raminit.c
@@ -2618,7 +2618,8 @@
 		MCHBAR32(0x260) = MCHBAR32(0x260) | (1 << 27);
 	}
 
-	sdram_jedecinit(&si);
+	if (si.boot_path != BOOT_PATH_RESUME)
+		sdram_jedecinit(&si);
 	PRINTK_DEBUG("Done MRS\n");
 
 	sdram_misc(&si);

-- 
To view, visit https://review.coreboot.org/19425
To unsubscribe, visit https://review.coreboot.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Id19a00c1546b7a71d90aa8c7e43e6efde1e9fbbc
Gerrit-PatchSet: 1
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Owner: Arthur Heymans <arthur at aheymans.xyz>



More information about the coreboot-gerrit mailing list