s5pc1xx: goni: display board name correctly
authorMinkyu Kang <mk7.kang@samsung.com>
Thu, 27 May 2010 00:53:31 +0000 (09:53 +0900)
committerMinkyu Kang <mk7.kang@samsung.com>
Thu, 27 May 2010 00:53:31 +0000 (09:53 +0900)
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
board/samsung/universal/universal.c

index 07e1486..6ea3ea1 100644 (file)
@@ -407,8 +407,17 @@ static char *display_features(int board, int board_rev)
                if (board_rev & BAMBOO_BOARD)
                        name = "Bamboo";
        } else if (board == MACH_GONI) {
-               if (board_rev & SDK_BOARD)
-                       name = "Limo SDK";
+               if (board_rev & SDK_BOARD) {
+                       if (hwrevision(9)) {
+                               name = "Kessler";
+                       } else {
+                               name = "SLP SDK";
+                               if (hwrevision(3))
+                                       strcat(name, " 4.3inch");
+                               else if (hwrevision(4))
+                                       strcat(name, " 4.5inch");
+                       }
+               }
                if (board_rev & S1_BOARD)
                        name = "S1";
        }