s5pc110: fix cpu revision check for geminus
authorMinkyu Kang <mk7.kang@samsung.com>
Fri, 29 Jan 2010 05:23:47 +0000 (14:23 +0900)
committerMinkyu Kang <mk7.kang@samsung.com>
Fri, 29 Jan 2010 05:23:47 +0000 (14:23 +0900)
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
board/samsung/universal/universal.c

index b7d8a3b..a8ab3c3 100644 (file)
@@ -598,11 +598,14 @@ static void show_hw_revision(void)
        check_board_revision(board, board_rev);
 
        /* Set CPU Revision */
-       if (board_is_limo_real()) {
-               if ((board_rev & 0xf) < 8)
+       if (machine_is_aquila()) {
+               if (board_is_limo_real()) {
+                       if ((board_rev & 0xf) < 8)
+                               s5pc1xx_set_cpu_rev(0);
+               }
+       } else if (machine_is_geminus()) {
+               if ((board_rev & 0xf) < 1)
                        s5pc1xx_set_cpu_rev(0);
-       } else if (board_is_aries()) {
-               s5pc1xx_set_cpu_rev(1);
        } else {
                s5pc1xx_set_cpu_rev(0);
        }