From ac58c7fda7eb19260dc82ab3a2d17250ae24c1ee Mon Sep 17 00:00:00 2001 From: Minkyu Kang Date: Tue, 27 Apr 2010 14:40:31 +0900 Subject: [PATCH] s5pc1xx: kessler: fix memory init for ACME SDK board Signed-off-by: Minkyu Kang --- board/samsung/universal/universal.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/board/samsung/universal/universal.c b/board/samsung/universal/universal.c index 9ac1910..7c90147 100644 --- a/board/samsung/universal/universal.c +++ b/board/samsung/universal/universal.c @@ -2338,9 +2338,12 @@ int dram_init(void) * Aquila Rev0.5 4G3G1G * Aquila Rev0.8 4G3G1G * Aquila Rev0.9 4G3G1G + * Neptune Rev 0.2 4G3G1G */ if (mach_is_aquila() || mach_is_kessler()) { - if (hwrevision(5) || hwrevision(8) || hwrevision(9)) { + if ((!board_is_neptune() && (hwrevision(5) || + hwrevision(8) || hwrevision(9))) || + (board_is_neptune() && hwrevision(2))) { memconfig1 = readl(base + MEMCONFIG1_OFFSET); sz = (memconfig1 >> 16) & 0xFF; -- 2.7.4