]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - common/lcd.c
spl: use panic_str instead of panic
[people/ms/u-boot.git] / common / lcd.c
index ed68be9325540ccc8ca4e4118485c98f00d82c4d..d29308aeb6a8ab32d5c5f73c91af37f287333e20 100644 (file)
@@ -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));