t210: sdram_lp0: also save EmcBctSpare2 field
Need to save EmcBctSpare2 field to scratch register. Without it, system may not resume from LP0 suspend. BUG=chrome-os-partner:43797 BRANCH=none TEST=able to suspend/resume >30 times on a known failed board Signed-off-by: Patrick Georgi <patrick@georgi-clan.de> Original-Commit-Id: 6d1623c4c791f79e097193dfbc4bc894ef63e230 Original-Change-Id: I53ebf8c4d4c7cd19827128a84fbd97a377d78ff7 Original-Signed-off-by: Yen Lin <yelin@nvidia.com> Original-Reviewed-on: https://chromium-review.googlesource.com/294765 Original-Reviewed-by: Furquan Shaikh <furquan@chromium.org> Original-(cherry picked from commit ce38d902e889068d0068150c9352c2ecdb2f8815) Original-Reviewed-on: https://chromium-review.googlesource.com/294864 Original-Commit-Queue: Furquan Shaikh <furquan@chromium.org> Original-Trybot-Ready: Furquan Shaikh <furquan@chromium.org> Original-Tested-by: Furquan Shaikh <furquan@chromium.org> Change-Id: I2ff21afbe9278413033101877c2581df51913709 Reviewed-on: http://review.coreboot.org/11401 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
This commit is contained in:
parent
3746465f4a
commit
3ad69e8d4c
|
@ -724,6 +724,7 @@ void sdram_lp0_save_params(const struct sdram_params *sdram)
|
||||||
s32(EmcBctSpare5, scratch42);
|
s32(EmcBctSpare5, scratch42);
|
||||||
s32(EmcBctSpare4, scratch44);
|
s32(EmcBctSpare4, scratch44);
|
||||||
s32(SwizzleRankByteEncode, scratch45);
|
s32(SwizzleRankByteEncode, scratch45);
|
||||||
|
s32(EmcBctSpare2, scratch46);
|
||||||
s32(EmcBctSpare1, scratch47);
|
s32(EmcBctSpare1, scratch47);
|
||||||
s32(EmcBctSpare0, scratch48);
|
s32(EmcBctSpare0, scratch48);
|
||||||
s32(EmcBctSpare9, scratch50);
|
s32(EmcBctSpare9, scratch50);
|
||||||
|
|
Loading…
Reference in New Issue