summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnatolij Gustschin <agust@denx.de>2015-12-02 15:38:00 +0100
committerAnatolij Gustschin <agust@denx.de>2015-12-02 15:46:58 +0100
commitf5bcfe151e61558572b9f9036c67d51bd831a436 (patch)
treeed67950f5e13fc89c704798681e6c31568ae0506
parentbe30dfbabbee12770221f434d2aa08627e712b97 (diff)
downloadu-boot-imx-f5bcfe151e61558572b9f9036c67d51bd831a436.zip
u-boot-imx-f5bcfe151e61558572b9f9036c67d51bd831a436.tar.gz
u-boot-imx-f5bcfe151e61558572b9f9036c67d51bd831a436.tar.bz2
Revert "LCD: Add an option to skip registration as an stdio output"
This reverts commit 05bfe1321024e2ae0039dc16f17d2165610fb4fd. As discussed on the list, we already have the needed functionality by defining CONFIG_SYS_CONSOLE_IS_IN_ENV, CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE and adding custom overwrite_console() in the board code. Signed-off-by: Anatolij Gustschin <agust@denx.de>
-rw-r--r--common/lcd.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/common/lcd.c b/common/lcd.c
index ed68be9..d29308a 100644
--- a/common/lcd.c
+++ b/common/lcd.c
@@ -143,16 +143,6 @@ __weak int lcd_get_size(int *line_length)
return *line_length * panel_info.vl_row;
}
-/*
- * Implement a weak default function for boards that optionally
- * need to skip the lcd console initialization.
- */
-__weak int board_lcd_console_skip(void)
-{
- /* As default, don't skip cfb init */
- return 0;
-}
-
int drv_lcd_init(void)
{
struct stdio_dev lcddev;
@@ -162,9 +152,6 @@ int drv_lcd_init(void)
lcd_init(lcd_base);
- if (board_lcd_console_skip())
- return 0;
-
/* Device initialization */
memset(&lcddev, 0, sizeof(lcddev));