]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - board/cogent/lcd.c
i.MX6: define bitfields for CHSCCDR register
[karo-tx-uboot.git] / board / cogent / lcd.c
index c1b4d116ea843b5b2086911d9e712f74a4a72271..76f5ad103fa1b6f24742cf5866291ef6a02da7c7 100644 (file)
@@ -197,7 +197,7 @@ void
 lcd_printf(const char *fmt, ...)
 {
     va_list args;
-    char buf[CFG_PBSIZE];
+    char buf[CONFIG_SYS_PBSIZE];
 
     va_start(args, fmt);
     (void)vsprintf(buf, fmt, args);
@@ -229,3 +229,17 @@ lcd_heartbeat(void)
     if (++rotator_index >= (sizeof rotchars / sizeof rotchars[0]))
        rotator_index = 0;
 }
+
+#ifdef CONFIG_SHOW_ACTIVITY
+void board_show_activity (ulong timestamp)
+{
+#ifdef CONFIG_STATUS_LED
+       if ((timestamp % (CONFIG_SYS_HZ / 2) == 0)
+               lcd_heartbeat ();
+#endif
+}
+
+void show_activity(int arg)
+{
+}
+#endif