video: Drop remaining references to CONFIG_LCD
authorSimon Glass <sjg@chromium.org>
Sun, 16 Oct 2022 21:59:22 +0000 (15:59 -0600)
committerAnatolij Gustschin <agust@denx.de>
Sun, 30 Oct 2022 19:07:17 +0000 (20:07 +0100)
These rely on the old LCD implementation which is to be removed. Drop it
all.

Signed-off-by: Simon Glass <sjg@chromium.org>
README
cmd/bdinfo.c
common/stdio.c
doc/usage/environment.rst
include/asm-generic/global_data.h

diff --git a/README b/README
index d1d4a62..ec1b50c 100644 (file)
--- a/README
+++ b/README
@@ -770,51 +770,6 @@ The following options need to be configured:
 - Keyboard Support:
                See Kconfig help for available keyboard drivers.
 
-- LCD Support: CONFIG_LCD
-
-               Define this to enable LCD support (for output to LCD
-               display); also select one of the supported displays
-               by defining one of these:
-
-               CONFIG_NEC_NL6448AC33:
-
-                       NEC NL6448AC33-18. Active, color, single scan.
-
-               CONFIG_NEC_NL6448BC20
-
-                       NEC NL6448BC20-08. 6.5", 640x480.
-                       Active, color, single scan.
-
-               CONFIG_NEC_NL6448BC33_54
-
-                       NEC NL6448BC33-54. 10.4", 640x480.
-                       Active, color, single scan.
-
-               CONFIG_SHARP_16x9
-
-                       Sharp 320x240. Active, color, single scan.
-                       It isn't 16x9, and I am not sure what it is.
-
-               CONFIG_SHARP_LQ64D341
-
-                       Sharp LQ64D341 display, 640x480.
-                       Active, color, single scan.
-
-               CONFIG_HLD1045
-
-                       HLD1045 display, 640x480.
-                       Active, color, single scan.
-
-               CONFIG_OPTREX_BW
-
-                       Optrex   CBL50840-2 NF-FW 99 22 M5
-                       or
-                       Hitachi  LMG6912RPFC-00T
-                       or
-                       Hitachi  SP14Q002
-
-                       320x240. Black & white.
-
 - MII/PHY support:
                CONFIG_PHY_CLOCK_FREQ (ppc4xx)
 
index af2e975..c454e6e 100644 (file)
@@ -124,9 +124,6 @@ int do_bdinfo(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
        bdinfo_print_num_l("fdt_size", (ulong)gd->fdt_size);
        if (IS_ENABLED(CONFIG_DM_VIDEO))
                show_video_info();
-#if defined(CONFIG_LCD)
-       bdinfo_print_num_l("FB base  ", gd->fb_base);
-#endif
 #if CONFIG_IS_ENABLED(MULTI_DTB_FIT)
        bdinfo_print_num_l("multi_dtb_fit", (ulong)gd->multi_dtb_fit);
 #endif
index 10016e2..49784e3 100644 (file)
@@ -366,9 +366,6 @@ int stdio_add_devices(void)
                if (IS_ENABLED(CONFIG_SPLASH_SCREEN) &&
                    IS_ENABLED(CONFIG_CMD_BMP))
                        splash_display();
-       } else {
-               if (IS_ENABLED(CONFIG_LCD))
-                       drv_lcd_init();
        }
 
        drv_system_init();
index 7906ace..d12bbcd 100644 (file)
@@ -63,8 +63,8 @@ For example, for snapper9260 you would create a text file called
 Example::
 
     stdout=serial
-    #ifdef CONFIG_LCD
-    stdout+=,lcd
+    #ifdef CONFIG_DM_VIDEO
+    stdout+=,vidconsole
     #endif
     bootcmd=
         /* U-Boot script for booting */
index 2d55fe2..8ca93ac 100644 (file)
@@ -68,7 +68,7 @@ struct global_data {
         * @mem_clk: memory clock rate in Hz
         */
        unsigned long mem_clk;
-#if defined(CONFIG_LCD) || defined(CONFIG_DM_VIDEO)
+#if defined(CONFIG_DM_VIDEO)
        /**
         * @fb_base: base address of frame buffer memory
         */