]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
common: console: Delete obsolete VIDCONSOLE_AS_{LCD, NAME} options
authorDragan Simic <dsimic@manjaro.org>
Sun, 2 Mar 2025 14:52:57 +0000 (15:52 +0100)
committerTom Rini <trini@konsulko.com>
Fri, 14 Mar 2025 20:35:56 +0000 (14:35 -0600)
The configuration options CONFIG_VIDCONSOLE_AS_LCD and CONFIG_VIDCONSOLE_AS_
NAME have been marked as obsolete and scheduled for deletion in late 2020.

That's already long overdue and the last remaining consumers of these options
have already migrated to using "vidconsole" in their "stdout" and "stderr"
environment variables, so let's delete these two configuration options.

Signed-off-by: Dragan Simic <dsimic@manjaro.org>
Acked-by: Soeren Moch <smoch@web.de> # tbs2910
common/console.c
configs/peach-pi_defconfig
configs/peach-pit_defconfig
configs/snow_defconfig
configs/spring_defconfig
configs/tbs2910_defconfig
drivers/video/Kconfig

index 863ac6aa9dc4b91e9936b9f235da438f38ea7e33..26812b2ccbef7a7b0dc997a69613a02b9e753e11 100644 (file)
@@ -942,11 +942,6 @@ struct stdio_dev *console_search_dev(int flags, const char *name)
        struct stdio_dev *dev;
 
        dev = stdio_get_by_name(name);
-#ifdef CONFIG_VIDCONSOLE_AS_LCD
-       if (!dev && !strcmp(name, CONFIG_VIDCONSOLE_AS_NAME))
-               dev = stdio_get_by_name("vidconsole");
-#endif
-
        if (dev && (dev->flags & flags))
                return dev;
 
@@ -1154,12 +1149,6 @@ done:
        if (!IS_ENABLED(CONFIG_SYS_CONSOLE_INFO_QUIET))
                stdio_print_current_devices();
 
-#ifdef CONFIG_VIDCONSOLE_AS_LCD
-       if (strstr(stdoutname, CONFIG_VIDCONSOLE_AS_NAME))
-               printf("Warning: Please change '%s' to 'vidconsole' in stdout/stderr environment vars\n",
-                      CONFIG_VIDCONSOLE_AS_NAME);
-#endif
-
        if (IS_ENABLED(CONFIG_SYS_CONSOLE_ENV_OVERWRITE)) {
                /* set the environment variables (will overwrite previous env settings) */
                for (i = 0; i < MAX_FILES; i++)
index 594af5136e364033fabf56155626b7a0ec959618..247df4c9036a47a1a8001651083a434ee8c17bf0 100644 (file)
@@ -81,7 +81,6 @@ CONFIG_USB_XHCI_DWC3=y
 CONFIG_USB_HOST_ETHER=y
 CONFIG_VIDEO=y
 # CONFIG_VIDEO_BPP8 is not set
-CONFIG_VIDCONSOLE_AS_LCD=y
 CONFIG_DISPLAY=y
 CONFIG_VIDEO_EXYNOS=y
 CONFIG_EXYNOS_DP=y
index 2b34c25556a5eeaaf0d85191e667d6383517323a..df72be8047b5e4d581f051cda048ff3fd52fa795 100644 (file)
@@ -80,7 +80,6 @@ CONFIG_USB_XHCI_DWC3=y
 CONFIG_USB_HOST_ETHER=y
 CONFIG_VIDEO=y
 # CONFIG_VIDEO_BPP8 is not set
-CONFIG_VIDCONSOLE_AS_LCD=y
 CONFIG_DISPLAY=y
 CONFIG_VIDEO_EXYNOS=y
 CONFIG_EXYNOS_DP=y
index 27698f5ef3638b779849b86b3c70cd50fa54e7da..adf6213f70b07c4360280c6ec62e663e36a063a5 100644 (file)
@@ -98,7 +98,6 @@ CONFIG_USB_HOST_ETHER=y
 CONFIG_USB_ETHER_ASIX88179=y
 CONFIG_VIDEO=y
 # CONFIG_VIDEO_BPP8 is not set
-CONFIG_VIDCONSOLE_AS_LCD=y
 CONFIG_DISPLAY=y
 CONFIG_VIDEO_EXYNOS=y
 CONFIG_EXYNOS_DP=y
index 43846e3cad9ef19c0f03d5f1c0826c23324ab857..d3b6656d63124e7771dea87a08ddd04ae369c673 100644 (file)
@@ -92,7 +92,6 @@ CONFIG_USB_HOST_ETHER=y
 CONFIG_USB_ETHER_ASIX88179=y
 CONFIG_VIDEO=y
 # CONFIG_VIDEO_BPP8 is not set
-CONFIG_VIDCONSOLE_AS_LCD=y
 CONFIG_DISPLAY=y
 CONFIG_VIDEO_EXYNOS=y
 CONFIG_EXYNOS_DP=y
index 99fe65d310986242f2d870e2bb6d424b39443dd6..c307d8c23d0d8208132dbaf4615e86f0ef6a7650 100644 (file)
@@ -110,7 +110,6 @@ CONFIG_VIDEO=y
 # CONFIG_VIDEO_BPP32 is not set
 CONFIG_SYS_WHITE_ON_BLACK=y
 # CONFIG_PANEL is not set
-CONFIG_VIDCONSOLE_AS_LCD=y
 CONFIG_I2C_EDID=y
 CONFIG_VIDEO_IPUV3=y
 CONFIG_IMX_VIDEO_SKIP=y
index b1ef73f3e5ceac8948c1d61db599b0102fb05547..a5263dfbff9cdaa8a05fbea3454777aa118add08 100644 (file)
@@ -293,27 +293,6 @@ config PANEL_HX8238D
 
 source "drivers/video/fonts/Kconfig"
 
-config VIDCONSOLE_AS_LCD
-       bool "Use 'vidconsole' when CONFIG_VIDCONSOLE_AS_NAME string is seen in stdout"
-       help
-         This is a work-around for boards which have 'lcd' or 'vga' in their
-         stdout environment variable, but have moved to use driver model for
-         video. In this case the console will no-longer work. While it is
-         possible to update the environment, the breakage may be confusing for
-         users. This option will be removed around the end of 2020.
-
-config VIDCONSOLE_AS_NAME
-       string "Use 'vidconsole' when string defined here is seen in stdout"
-       depends on VIDCONSOLE_AS_LCD
-       default "lcd" if LCD || TEGRA_COMMON
-       default "vga" if !LCD
-       help
-         This is a work-around for boards which have 'lcd' or 'vga' in their
-         stdout environment variable, but have moved to use driver model for
-         video. In this case the console will no-longer work. While it is
-         possible to update the environment, the breakage may be confusing for
-         users. This option will be removed around the end of 2020.
-
 config VIDEO_BOCHS
        bool "Enable Bochs video emulation for QEMU"
        help