]> git.dujemihanovic.xyz Git - u-boot.git/commit
video: bochs: Set the frame buffer size per configuration
authorBin Meng <bmeng@tinylab.org>
Sun, 23 Jul 2023 04:40:32 +0000 (12:40 +0800)
committerAnatolij Gustschin <agust@denx.de>
Tue, 1 Aug 2023 11:35:39 +0000 (13:35 +0200)
commite1a0cafcfb85a681c7ac77c71fed0c392a75fe06
tree93805698995b8d3a3fe27191616a2c0f26e8376e
parentf91f0e74df814d5c96382d1d8ce29d63c8f0b343
video: bochs: Set the frame buffer size per configuration

At present the uclass stored frame buffer size is set to a hard
coded value, but we can calculate the correct value based on what
is configured.

Signed-off-by: Bin Meng <bmeng@tinylab.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
Tested-by: Simon Glass <sjg@chromium.org> # qemu-x86_64
drivers/video/bochs.c