coreboot-kgpe-d16/src/soc
jinkun.hong d4a227ba05 rk3288: Fix failing DDR3 reboot test
We want a reset signal to last 200us. The length of a reset signal is
represented by BIT0~BIT16 in DDR_PUBL_PTR2. When DDR memory runs at
667MHz, the calculated value for the reset signal is 0x20850, which is
bigger than the maximum value that can be described with 17 bits
(0x1ffff). As a result, the memory controller only sees 0x850, which
generates a 3.5us reset cycle instead, which violates the standard and
negatively impacts memory stability.
So instead, we now set it to the maximum value (0x1ffff) to prevent this
overflow, resulting in a reset signal of 196us for 667MHz DDR memory.

BUG=chrome-os-partner:34875
TEST=loop reboot
BRANCH=veyron

Change-Id: Ia01f8a0414b49fa3ecf4d543cfa1822e29ee4cc4
Signed-off-by: Stefan Reinauer <reinauer@chromium.org>
Original-Commit-Id: 767a4a3cb8dff47cb15064d335b78ffa5815914d
Original-Change-Id: I9b410e1605c87f12a5ca96ead12f8527ca4f417f
Original-Signed-off-by: jinkun.hong <jinkun.hong@rock-chips.com>
Original-Reviewed-on: https://chromium-review.googlesource.com/242175
Original-Reviewed-by: Julius Werner <jwerner@chromium.org>
Reviewed-on: http://review.coreboot.org/9653
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
2015-04-15 22:09:55 +02:00
..
imgtec pistachio: implement clock setup for I2C0 2015-04-14 12:08:44 +02:00
intel broadwell: Fixes for _SWS support 2015-04-15 21:46:07 +02:00
marvell CBFS: Automate ROM image layout and remove hardcoded offsets 2015-04-14 09:01:27 +02:00
nvidia tegra132: lock down VPR 2015-04-14 12:07:39 +02:00
qualcomm ipq806x: load and start RPM 2015-04-15 21:57:19 +02:00
rockchip rk3288: Fix failing DDR3 reboot test 2015-04-15 22:09:55 +02:00
samsung timer: Reestablish init_timer(), consolidate timer initialization calls 2015-04-14 09:03:28 +02:00
ucb kconfig: drop intermittend forwarder files 2015-04-07 17:40:28 +02:00
Makefile.inc cosmos: add template for soc and board files 2015-04-09 00:21:21 +02:00