summaryrefslogtreecommitdiff
path: root/src/cpu/samsung/exynos5250
diff options
context:
space:
mode:
authorDavid Hendricks <dhendrix@chromium.org>2013-01-31 17:25:16 -0800
committerRonald G. Minnich <rminnich@gmail.com>2013-02-01 06:16:44 +0100
commitc9f26a169d854cf682f3d9d55124dce70b84620f (patch)
tree9bb7c9dced37bb0d6c793d8032be41d03dc90a55 /src/cpu/samsung/exynos5250
parentea60473b9dea41571e1eac9afe93f712d66e557a (diff)
downloadcoreboot-c9f26a169d854cf682f3d9d55124dce70b84620f.tar.xz
exynos5250: hard-code array index for memory timings
Discovering memory timings is a bit complicated due to the need to obtain and decode board config. To make things worse, the imported code makes a mess of dependencies. Hard-code the memory timings for now to get us further along (the instability won't really matter until we're loading depthcharge anyway). Change-Id: I1f341ad597db0c31ed4ae6bc703fc22b6596a803 Signed-off-by: David Hendricks <dhendrix@chromium.org> Reviewed-on: http://review.coreboot.org/2256 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Diffstat (limited to 'src/cpu/samsung/exynos5250')
-rw-r--r--src/cpu/samsung/exynos5250/clock_init.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cpu/samsung/exynos5250/clock_init.c b/src/cpu/samsung/exynos5250/clock_init.c
index 565abe1efb..421d880fa7 100644
--- a/src/cpu/samsung/exynos5250/clock_init.c
+++ b/src/cpu/samsung/exynos5250/clock_init.c
@@ -725,6 +725,9 @@ struct arm_clk_ratios *get_arm_ratios(void)
struct mem_timings *clock_get_mem_timings(void)
{
+ /* FIXME: hard-coded for now */
+ return &mem_timings[0];
+#if 0
struct mem_timings *mem;
enum ddr_mode mem_type;
enum mem_manuf mem_manuf;
@@ -742,6 +745,7 @@ struct mem_timings *clock_get_mem_timings(void)
}
}
return NULL;
+#endif
}
void system_clock_init(void)