From: Minkyu Kang Date: Tue, 27 Apr 2010 05:40:31 +0000 (+0900) Subject: s5pc1xx: kessler: fix memory init for ACME SDK board X-Git-Tag: JD15_20100428~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ac58c7fda7eb19260dc82ab3a2d17250ae24c1ee;p=kernel%2Fu-boot.git s5pc1xx: kessler: fix memory init for ACME SDK board Signed-off-by: Minkyu Kang --- 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;