]> git.baikalelectronics.ru Git - uboot.git/commitdiff
video: Convert CONFIG_VIDEO_BCM2835 to Kconfig
authorSimon Glass <sjg@chromium.org>
Sun, 23 Jan 2022 14:04:14 +0000 (07:04 -0700)
committerAnatolij Gustschin <agust@denx.de>
Mon, 28 Mar 2022 18:28:56 +0000 (20:28 +0200)
This converts the following to Kconfig:
   CONFIG_VIDEO_BCM2835

This is the final ad-hoc CONFIG_VIDEO_... to convert.

Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Matthias Brugger <mbrugger@suse.com>
12 files changed:
configs/rpi_0_w_defconfig
configs/rpi_2_defconfig
configs/rpi_3_32b_defconfig
configs/rpi_3_b_plus_defconfig
configs/rpi_3_defconfig
configs/rpi_4_32b_defconfig
configs/rpi_4_defconfig
configs/rpi_arm64_defconfig
configs/rpi_defconfig
drivers/video/Kconfig
include/configs/rpi.h
scripts/config_whitelist.txt

index 195541c6e7658bbfb73908ba5fa0305ed6218c93..819618280f7568c9122bf928e01c549cd5ff20a8 100644 (file)
@@ -41,6 +41,7 @@ CONFIG_DM_VIDEO=y
 # CONFIG_VIDEO_BPP8 is not set
 # CONFIG_VIDEO_BPP16 is not set
 CONFIG_SYS_WHITE_ON_BLACK=y
+CONFIG_VIDEO_BCM2835=y
 CONFIG_CONSOLE_SCROLL_LINES=10
 CONFIG_PHYS_TO_BUS=y
 CONFIG_OF_LIBFDT_OVERLAY=y
index eb63fbdd8d9cdeeed3caffd58eeefc19b7bcf29b..9ccd69cbd886c5243adac1bcc95740457e6a0bdd 100644 (file)
@@ -42,6 +42,7 @@ CONFIG_DM_VIDEO=y
 # CONFIG_VIDEO_BPP8 is not set
 # CONFIG_VIDEO_BPP16 is not set
 CONFIG_SYS_WHITE_ON_BLACK=y
+CONFIG_VIDEO_BCM2835=y
 CONFIG_CONSOLE_SCROLL_LINES=10
 CONFIG_PHYS_TO_BUS=y
 CONFIG_OF_LIBFDT_OVERLAY=y
index 46102899f0372dd0b006c55ed0df28521b9885a4..de4a14e69ce1db5c4c0ccc91e1e91359daea54cf 100644 (file)
@@ -45,6 +45,7 @@ CONFIG_DM_VIDEO=y
 # CONFIG_VIDEO_BPP8 is not set
 # CONFIG_VIDEO_BPP16 is not set
 CONFIG_SYS_WHITE_ON_BLACK=y
+CONFIG_VIDEO_BCM2835=y
 CONFIG_CONSOLE_SCROLL_LINES=10
 CONFIG_PHYS_TO_BUS=y
 CONFIG_OF_LIBFDT_OVERLAY=y
index 91b63b62721cbbef1f72ca98004caf2847b108f9..1d4346c0ec877c1a4b6eddca4f682ba92037859c 100644 (file)
@@ -44,6 +44,7 @@ CONFIG_DM_VIDEO=y
 # CONFIG_VIDEO_BPP8 is not set
 # CONFIG_VIDEO_BPP16 is not set
 CONFIG_SYS_WHITE_ON_BLACK=y
+CONFIG_VIDEO_BCM2835=y
 CONFIG_CONSOLE_SCROLL_LINES=10
 CONFIG_PHYS_TO_BUS=y
 CONFIG_OF_LIBFDT_OVERLAY=y
index 528b12ea5b557353d206fe4e08341a37a31f4887..c7615403d33b5dd9543dc3a94cce2d01f252c71d 100644 (file)
@@ -44,6 +44,7 @@ CONFIG_DM_VIDEO=y
 # CONFIG_VIDEO_BPP8 is not set
 # CONFIG_VIDEO_BPP16 is not set
 CONFIG_SYS_WHITE_ON_BLACK=y
+CONFIG_VIDEO_BCM2835=y
 CONFIG_CONSOLE_SCROLL_LINES=10
 CONFIG_PHYS_TO_BUS=y
 CONFIG_OF_LIBFDT_OVERLAY=y
index 8f87a4336d22aa1af7866ccb429eb60a5600029c..d9d9331f580289da637d789ebf4ee0f9e7f01762 100644 (file)
@@ -59,6 +59,7 @@ CONFIG_DM_VIDEO=y
 # CONFIG_VIDEO_BPP8 is not set
 # CONFIG_VIDEO_BPP16 is not set
 CONFIG_SYS_WHITE_ON_BLACK=y
+CONFIG_VIDEO_BCM2835=y
 CONFIG_CONSOLE_SCROLL_LINES=10
 CONFIG_PHYS_TO_BUS=y
 CONFIG_ADDR_MAP=y
index 461a7655ab9015e0d6cceae16cbc6e71c790d394..eac55ccbcb847c7eccdbc81a188c64bc3a2515d4 100644 (file)
@@ -59,6 +59,7 @@ CONFIG_DM_VIDEO=y
 # CONFIG_VIDEO_BPP8 is not set
 # CONFIG_VIDEO_BPP16 is not set
 CONFIG_SYS_WHITE_ON_BLACK=y
+CONFIG_VIDEO_BCM2835=y
 CONFIG_CONSOLE_SCROLL_LINES=10
 CONFIG_PHYS_TO_BUS=y
 CONFIG_OF_LIBFDT_OVERLAY=y
index 351d247daeb7b2d6dc72e40ad5aff3524f3ea064..a0cbdbef02f6955e600cf9ba1cfcc531ec1d3177 100644 (file)
@@ -51,6 +51,7 @@ CONFIG_DM_VIDEO=y
 # CONFIG_VIDEO_BPP8 is not set
 # CONFIG_VIDEO_BPP16 is not set
 CONFIG_SYS_WHITE_ON_BLACK=y
+CONFIG_VIDEO_BCM2835=y
 CONFIG_CONSOLE_SCROLL_LINES=10
 CONFIG_PHYS_TO_BUS=y
 CONFIG_OF_LIBFDT_OVERLAY=y
index 0baef3b6abfa4aa7ed364d1c8d9687fe1cdb78a7..bd4e3dc42d77d8fb830fdbc9c0420db221e2ea0c 100644 (file)
@@ -41,6 +41,7 @@ CONFIG_DM_VIDEO=y
 # CONFIG_VIDEO_BPP8 is not set
 # CONFIG_VIDEO_BPP16 is not set
 CONFIG_SYS_WHITE_ON_BLACK=y
+CONFIG_VIDEO_BCM2835=y
 CONFIG_CONSOLE_SCROLL_LINES=10
 CONFIG_PHYS_TO_BUS=y
 CONFIG_OF_LIBFDT_OVERLAY=y
index 743fd8bbb25dc16b555f302ec948a894821f1049..965b5879274ef253fea78768442fe9e1e3250059 100644 (file)
@@ -430,6 +430,14 @@ config ATMEL_LCD_BGR555
        help
          Use the BGR555 output mode.  Otherwise RGB565 is used.
 
+config VIDEO_BCM2835
+       bool "Display support for BCM2835"
+       help
+         The graphics processor already sets up the display so this driver
+         simply checks the resolution and then sets up the frame buffer with
+         that same resolution (or as near as possible) and 32bpp depth, so
+         that U-Boot can access it with full colour depth.
+
 config VIDEO_LCD_ORISETECH_OTM8009A
        bool "OTM8009A DSI LCD panel support"
        depends on DM_VIDEO
index d5e064fb37962b708e3454101aec3a5f22ae542b..c439ec1b302c6bb6c3e378a081b93c2f9af50b6a 100644 (file)
@@ -44,7 +44,6 @@
 /* GPIO */
 #define CONFIG_BCM2835_GPIO
 /* LCD */
-#define CONFIG_VIDEO_BCM2835
 
 /* DFU over USB/UDC */
 #ifdef CONFIG_CMD_DFU
index ac0a949071edb9e91e8e12a41ffdc5e4c0ee3c61..41c8baa6a7a760390bb86478e006a8715b3b70a6 100644 (file)
@@ -2002,7 +2002,6 @@ CONFIG_USE_ONENAND_BOARD_INIT
 CONFIG_U_BOOT_HDR_SIZE
 CONFIG_VAR_SIZE_SPL
 CONFIG_VERY_BIG_RAM
-CONFIG_VIDEO_BCM2835
 CONFIG_VSC7385_ENET
 CONFIG_VSC7385_IMAGE
 CONFIG_VSC7385_IMAGE_SIZE