diff options
author | Hung-Te Lin <hungte@chromium.org> | 2013-04-25 16:14:19 +0800 |
---|---|---|
committer | Ronald G. Minnich <rminnich@gmail.com> | 2013-04-25 19:27:48 +0200 |
commit | 55c753d3a948fc06d8ccbc3cef678ef2e71f616f (patch) | |
tree | 9b2a44488640ea50a0310cc942f46f35dd62926a /src/cpu/samsung/exynos5250/setup.h | |
parent | 175ad4aa6eca2d7f884745959bd175b37c5ffc31 (diff) |
arm/exynos: Allow DRAM controller to be initialized without clearing RAM content.
To support suspend/resume, PHY control must be reset only on normal boot
path. So add a new param "mem_reset" to specify that.
Verified to boot successfully on Google/Snow.
Change-Id: Id49bc6c6239cf71a67ba091092dd3ebf18e83e33
Signed-off-by: Hung-Te Lin <hungte@chromium.org>
Reviewed-on: http://review.coreboot.org/3128
Tested-by: build bot (Jenkins)
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Diffstat (limited to 'src/cpu/samsung/exynos5250/setup.h')
-rw-r--r-- | src/cpu/samsung/exynos5250/setup.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/cpu/samsung/exynos5250/setup.h b/src/cpu/samsung/exynos5250/setup.h index 4f7f58cbeb..f205b4d176 100644 --- a/src/cpu/samsung/exynos5250/setup.h +++ b/src/cpu/samsung/exynos5250/setup.h @@ -702,9 +702,11 @@ void mem_ctrl_init(void); * which the DMC uses to decide how to split a memory * chunk into smaller chunks to support concurrent * accesses; may vary across boards. + * @param mem_reset Reset memory during initialization. * @return 0 if ok, SETUP_ERR_... if there is a problem */ -int ddr3_mem_ctrl_init(struct mem_timings *mem, unsigned long mem_iv_size); +int ddr3_mem_ctrl_init(struct mem_timings *mem, unsigned long mem_iv_size, + int mem_reset); void tzpc_init(void); /* |