coreboot/src
David Hendricks 96cbcb0924 exynos5420: Alter init sequence as per recommendation
As per hardware recommendation, CKE PAD retention release must
happen just before gate leveling enable and only in case of resume.
Hence, this patch moves pad retention release from dmc_common.c to
dmc_init_ddr3_exynos5420.c. In addition to this we are providing
125 (+3 extra being safe) times auto refresh to DRAM by sending
REFA direct command. This is required because when CKE PAD retention
release happens, self refresh mode of DDR3 is disabled.
Hence, auto refresh 125 times.

This is ported from https://gerrit.chromium.org/gerrit/#/c/65573

Note: Since WAKEUP_DIRECT does not go thru memory init, it should be
safe to move CKE PAD retention out of bootblock.c.

Signed-off-by: David Hendricks <dhendrix@chromium.org>

BUG=none
BRANCH=none
TEST=built and booted on Pit

Change-Id: Idec5d6fbbe3c6344d47401ba7203079c52a9b866
Reviewed-on: https://gerrit.chromium.org/gerrit/66788
Commit-Queue: David Hendricks <dhendrix@chromium.org>
Tested-by: David Hendricks <dhendrix@chromium.org>
Reviewed-by: Ronald G. Minnich <rminnich@chromium.org>
2013-08-23 10:38:43 -07:00
..
arch Possible thread stack implementation. 2013-08-23 10:38:10 -07:00
console Don't try to use CBMEM console in bootblock 2013-06-20 15:51:33 -07:00
cpu exynos5420: Alter init sequence as per recommendation 2013-08-23 10:38:43 -07:00
device Add Kconfig options to override Subsytem Vendor and Device ID 2013-08-09 11:18:24 -07:00
drivers rtd2132: implement full configuration 2013-08-14 14:39:12 -07:00
ec chromeec: Add event methods for EC requested throttle 2013-08-01 00:30:25 -07:00
include Possible thread stack implementation. 2013-08-23 10:38:10 -07:00
lib Possible thread stack implementation. 2013-08-23 10:38:10 -07:00
mainboard snow and pit: turn on FET4 (for SD card) at bootup 2013-08-23 10:38:38 -07:00
northbridge Falco/Slippy: Patch to fix garbage on screen during graphics initialization in normal mode 2013-08-16 20:41:12 -07:00
southbridge Add CONFIG_LOCK_MANAGEMENT_ENGINE entry to Kconfig 2013-08-22 14:28:06 -07:00
superio Drop prototype guarding for romcc 2013-05-10 11:55:20 -07:00
vendorcode Rename cpu/x86/car.h to arch/early_variables.h 2013-07-30 13:40:23 -07:00
Kconfig Add a HAVE_ARCH_MEMMOVE option to allow overriding memmove. 2013-07-08 11:30:26 -07:00