]> git.sur5r.net Git - u-boot/blobdiff - board/cogent/lcd.c
Merge branch 'master' of git://git.denx.de/u-boot-video
[u-boot] / board / cogent / lcd.c
index 814b4c80a0459b55611b4ea4a2a2b9a930a7179e..05ffc4d1ac385bd7443046f0bd2a52e88a669c47 100644 (file)
@@ -48,7 +48,7 @@
 
 #include <common.h>
 #include <stdarg.h>
-#include <board/cogent/lcd.h>
+#include "lcd.h"
 
 static char lines[2][LCD_LINE_LENGTH+1];
 static int curline;
@@ -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);
@@ -234,7 +234,7 @@ lcd_heartbeat(void)
 void board_show_activity (ulong timestamp)
 {
 #ifdef CONFIG_STATUS_LED
-       if ((timestamp % (CFG_HZ / 2) == 0)
+       if ((timestamp % (CONFIG_SYS_HZ / 2)) == 0)
                lcd_heartbeat ();
 #endif
 }