summaryrefslogtreecommitdiff
path: root/board/omap5912osk/omap5912osk.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/omap5912osk/omap5912osk.c')
-rw-r--r--board/omap5912osk/omap5912osk.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/board/omap5912osk/omap5912osk.c b/board/omap5912osk/omap5912osk.c
index e9e6b0e..6993b13 100644
--- a/board/omap5912osk/omap5912osk.c
+++ b/board/omap5912osk/omap5912osk.c
@@ -288,3 +288,21 @@ void peripheral_power_enable (void)
*SW_CLOCK_REQUEST |= UART1_48MHZ_ENABLE;
}
+
+/*
+ * Check Board Identity
+ */
+int checkboard(void)
+{
+ char *s = getenv("serial#");
+
+ puts("Board: OSK5912");
+
+ if (s != NULL) {
+ puts(", serial# ");
+ puts(s);
+ }
+ putc('\n');
+
+ return (0);
+}