summaryrefslogtreecommitdiff
path: root/board/tqc
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2008-10-28 08:37:19 +0100
committerWolfgang Denk <wd@denx.de>2008-10-28 08:37:19 +0100
commitd35c451d6cff3e77e40fbdfc7a2933cdcb86ae4b (patch)
treeb9cabe836db20373a8e645b30be6c0aa6eb7896a /board/tqc
parenta369f4a492fa2805d87775d27380f0eeaca35aa6 (diff)
parent6b59e03e0237a40a2305ea385defdfd92000978b (diff)
downloadu-boot-imx-d35c451d6cff3e77e40fbdfc7a2933cdcb86ae4b.zip
u-boot-imx-d35c451d6cff3e77e40fbdfc7a2933cdcb86ae4b.tar.gz
u-boot-imx-d35c451d6cff3e77e40fbdfc7a2933cdcb86ae4b.tar.bz2
Merge branch 'master' of git://git.denx.de/u-boot-video
Diffstat (limited to 'board/tqc')
-rw-r--r--board/tqc/tqm8xx/tqm8xx.c26
1 files changed, 26 insertions, 0 deletions
diff --git a/board/tqc/tqm8xx/tqm8xx.c b/board/tqc/tqm8xx/tqm8xx.c
index 9a0f3a0..928afed 100644
--- a/board/tqc/tqm8xx/tqm8xx.c
+++ b/board/tqc/tqm8xx/tqm8xx.c
@@ -568,6 +568,32 @@ void ide_led (uchar led, uchar status)
}
# endif
+#ifdef CONFIG_LCD_INFO
+#include <lcd.h>
+
+void lcd_show_board_info(void)
+{
+ lcd_printf ("%s (%s - %s)\n", U_BOOT_VERSION, __DATE__, __TIME__);
+ lcd_printf ("(C) 2008 DENX Software Engineering GmbH\n");
+ lcd_printf (" Wolfgang DENK, wd@denx.de\n");
+#ifdef CONFIG_LCD_INFO_BELOW_LOGO
+ lcd_printf ("MPC823 CPU at %s MHz\n",
+ strmhz(temp, gd->cpu_clk));
+ lcd_drawchars (LCD_INFO_X, LCD_INFO_Y + VIDEO_FONT_HEIGHT * 3,
+ info, strlen(info));
+ lcd_printf (" %ld MB RAM, %ld MB Flash\n",
+ gd->ram_size >> 20,
+ gd->bd->bi_flashsize >> 20 );
+#else
+ /* leave one blank line */
+ lcd_printf ("\nMPC823 CPU at %s MHz, %ld MB RAM, %ld MB Flash\n",
+ strmhz(temp, gd->cpu_clk),
+ gd->ram_size >> 20,
+ gd->bd->bi_flashsize >> 20 );
+#endif /* CONFIG_LCD_INFO_BELOW_LOGO */
+}
+#endif /* CONFIG_LCD_INFO */
+
/* ---------------------------------------------------------------------------- */
/* TK885D specific initializaion */
/* ---------------------------------------------------------------------------- */