]> git.baikalelectronics.ru Git - uboot.git/commit
video: sandbox: Set a maximum frame-buffer size
authorSimon Glass <sjg@chromium.org>
Fri, 19 Nov 2021 20:23:48 +0000 (13:23 -0700)
committerAnatolij Gustschin <agust@denx.de>
Sun, 26 Dec 2021 22:02:19 +0000 (23:02 +0100)
commitaaa77b32d583777ea522c609a0292ee781a428dc
treea3d9a932191a22daf3082608e90c50e68f75f035
parent88f2c234443e388a3f6e42d42c726f107e813f5b
video: sandbox: Set a maximum frame-buffer size

If U-Boot starts with the frame buffer set to 16bpp but then runs a test
that uses 32bpp, there is not enough space. Update the driver to use the
maximum possible frame-buffer size, to avoid this.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/video/sandbox_sdl.c