diff options
author | Bin Meng <bmeng@tinylab.org> | 2023-07-23 12:40:29 +0800 |
---|---|---|
committer | Anatolij Gustschin <agust@denx.de> | 2023-08-01 13:33:05 +0200 |
commit | 17cd80237b09c3926c317bd348959f057f8dec7d (patch) | |
tree | 1ad5660b91f9191d0a7191a8987afdb833db0a44 /drivers | |
parent | e1b46977deddb56d49656546fe36ec107a2b86f3 (diff) | |
download | u-boot-17cd80237b09c3926c317bd348959f057f8dec7d.zip u-boot-17cd80237b09c3926c317bd348959f057f8dec7d.tar.gz u-boot-17cd80237b09c3926c317bd348959f057f8dec7d.tar.bz2 |
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 <bmeng@tinylab.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/video/Kconfig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig index 3cdaa5f..43ec7e6 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 |