x86: fsp: video: Allocate a frame buffer when needed
authorSimon Glass <sjg@chromium.org>
Fri, 3 Jul 2020 03:12:31 +0000 (21:12 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Thu, 9 Jul 2020 04:33:24 +0000 (12:33 +0800)
commitbe7418f35e80b3d836034a11866d47cdf3ba82ea
tree61617e077e4dee27ca4b01c83f5e63e96cc36161
parent0938767da1782d2c5c5d1f003b8835a59271b622
x86: fsp: video: Allocate a frame buffer when needed

When the copy framebuffer is in use, we must also have the standard U-Boot
framebuffer available. Update the FSP driver to support this.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Anatolij Gustschin <agust@denx.de>
Tested-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/lib/fsp/fsp_graphics.c