From: Bin Meng Date: Sun, 23 Jul 2023 04:40:29 +0000 (+0800) Subject: video: kconfig: Fix wrong text for the PCI default FB size X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=17cd80237b09c3926c317bd348959f057f8dec7d;p=u-boot.git video: kconfig: Fix wrong text for the PCI default FB size There is an example in the VIDEO_PCI_DEFAULT_FB_SIZE help text to tell people how to calculate its value but the resolution given does not match the value. Fix it. Signed-off-by: Bin Meng Reviewed-by: Simon Glass --- diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig index 3cdaa5ff27..43ec7e6695 100644 --- a/drivers/video/Kconfig +++ b/drivers/video/Kconfig @@ -77,7 +77,7 @@ config VIDEO_PCI_DEFAULT_FB_SIZE devices to have a framebuffer allocated by U-Boot. Note: the framebuffer needs to be large enough to store all pixels at - maximum resolution. For example, at 1920 x 1200 with 32 bits per + maximum resolution. For example, at 2560 x 1600 with 32 bits per pixel, 2560 * 1600 * 32 / 8 = 0xfa0000 bytes are needed. config VIDEO_COPY @@ -1049,7 +1049,7 @@ config SPL_VIDEO_PCI_DEFAULT_FB_SIZE devices to have a framebuffer allocated by U-Boot. Note: the framebuffer needs to be large enough to store all pixels at - maximum resolution. For example, at 1920 x 1200 with 32 bits per + maximum resolution. For example, at 2560 x 1600 with 32 bits per pixel, 2560 * 1600 * 32 / 8 = 0xfa0000 bytes are needed. config SPL_CONSOLE_SCROLL_LINES