diff options
author | Lin Huang <hl@rock-chips.com> | 2016-10-10 20:57:09 -0700 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2016-10-25 17:08:58 +0200 |
commit | df3321aa34cab80a67a00d86e86f7dea93b43067 (patch) | |
tree | dbd2d12e099228abbd50656e2103edfc631c9604 /src/mainboard/google/enguarde | |
parent | 65a9462a73bd9c5e1054ea315b51574b4bf2f270 (diff) | |
download | coreboot-df3321aa34cab80a67a00d86e86f7dea93b43067.tar.xz |
rockchip/rk3399: reset system if DDR init fails
We found sdram may fail in pctl_cfg(), so we check the status in this
function. If it exceeds 100ms still in this function, we will restart
the system. We also found there are rare chances DDR training fails,
so also restart system in that case.
BUG=chrome-os-partner:57988
BRANCH=None
TEST=coreboot resets on failure and eventually the system comes up
Change-Id: Icc0688da028a8f4f81eafe36bbaa79fdf2bcea74
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Commit-Id: 89e45f8352f62e19a203316330aba14ccc5c8b11
Original-Change-Id: If4e78983abcfdfe1e0e26847448d86169e598700
Original-Signed-off-by: Lin Huang <hl@rock-chips.com>
Original-Reviewed-on: https://chromium-review.googlesource.com/397439
Original-Reviewed-by: Julius Werner <jwerner@chromium.org>
Reviewed-on: https://review.coreboot.org/17045
Tested-by: build bot (Jenkins)
Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/mainboard/google/enguarde')
0 files changed, 0 insertions, 0 deletions