coreboot-kgpe-d16/src
Lin Huang df3321aa34 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>
2016-10-25 17:08:58 +02:00
..
acpi src/acpi: Capitalize ACPI and SATA 2016-07-31 19:25:40 +02:00
arch arch/x86/acpigen_dsm: Add support for DSM types 2016-10-25 00:13:32 +02:00
commonlib commonlib: move DIV_ROUND macros from nvidia/tegra 2016-09-07 20:52:42 +02:00
console Revert "[WIP] console/Kconfig: Calculate COM port base addresses only on x86" 2016-10-18 18:41:16 +02:00
cpu src/cpu: Fix location for cpu_microcode_blob.bin in COREBOOT CBFS only 2016-10-11 23:36:18 +02:00
device Kconfig: Update default hex values to start with 0x 2016-10-02 19:08:15 +02:00
drivers drivers/i2c/generic: Re-factor SSDT generation code 2016-10-25 00:13:05 +02:00
ec ec/lenovo/h8: fix whitespaces/tabs 2016-10-17 22:17:37 +02:00
include RISCV: Clean up the common architectural code 2016-10-24 20:25:04 +02:00
lib soc/intel/apollolake: Implement stage cache to improve resume time 2016-10-07 18:18:14 +02:00
mainboard rockchip/rk3399: reset system if DDR init fails 2016-10-25 17:08:58 +02:00
northbridge nb/i945/Kconfig: select the correct VGA_BIOS_ID for 945GC 2016-10-24 20:30:56 +02:00
soc rockchip/rk3399: reset system if DDR init fails 2016-10-25 17:08:58 +02:00
southbridge southbridge/nvidia: Remove commented code 2016-10-11 23:33:23 +02:00
superio winbond/w83627ehg: Remove unnecessary value 2016-10-19 17:31:39 +02:00
vboot vboot: Stop creating backup space in TPM 2016-10-13 18:22:03 +02:00
vendorcode vendorcode/intel/fsp: Update UPD headers for FSP 157_10 2016-10-07 19:13:53 +02:00
Kconfig Kconfig: Update default hex values to start with 0x 2016-10-02 19:08:15 +02:00