summaryrefslogtreecommitdiff
path: root/include/lcd.h
diff options
context:
space:
mode:
authorHaavard Skinnemoen <haavard.skinnemoen@atmel.com>2008-09-01 16:21:22 +0200
committerAnatolij Gustschin <agust@denx.de>2008-10-27 09:53:58 +0100
commit6b59e03e0237a40a2305ea385defdfd92000978b (patch)
tree70f3078e9568171678634959995355a198907806 /include/lcd.h
parent6f93d2b8fca504200a5758f7c6dd2d6852900765 (diff)
lcd: Let the board code show board-specific info
The information displayed when CONFIG_LCD_INFO is set is inherently board-specific, so it should be done by the board code. The current code dealing with this only handles two cases, and is already a horrible mess of #ifdeffery. Yes, this duplicates some code, but it also allows boards to print more board-specific information; this used to be very difficult. Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com> Signed-off-by: Anatolij Gustschin <agust@denx.de>
Diffstat (limited to 'include/lcd.h')
-rw-r--r--include/lcd.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/lcd.h b/include/lcd.h
index 15affb85cbe..512221e9c46 100644
--- a/include/lcd.h
+++ b/include/lcd.h
@@ -197,6 +197,8 @@ void lcd_putc (const char c);
void lcd_puts (const char *s);
void lcd_printf (const char *fmt, ...);
+/* Allow boards to customize the information displayed */
+void lcd_show_board_info(void);
/************************************************************************/
/* ** BITMAP DISPLAY SUPPORT */