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>
This commit is contained in:
David Hendricks 2013-01-31 17:25:16 -08:00 committed by Ronald G. Minnich
parent ea60473b9d
commit c9f26a169d
1 changed files with 4 additions and 0 deletions

View File

@ -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)