]> git.dujemihanovic.xyz Git - u-boot.git/commit
sandbox: Support changing the LCD colour depth
authorSimon Glass <sjg@chromium.org>
Mon, 3 Feb 2020 14:36:14 +0000 (07:36 -0700)
committerSimon Glass <sjg@chromium.org>
Thu, 6 Feb 2020 02:33:46 +0000 (19:33 -0700)
commita466db5adb58e486fbd8ae63536b03a70d69f68d
tree141ac6c6d9268756342e3e5fcf5fb3a4b30a5d80
parent6be88c72828923f2df8c441ee12f5829e0d06f32
sandbox: Support changing the LCD colour depth

Add a new device-tree property to control the colour depth. At present we
support 16bpp and 32bpp.

While we are here, update the code to use livetree.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Anatolij Gustschin <agust@denx.de>
arch/sandbox/dts/sandbox.dtsi
doc/device-tree-bindings/video/sandbox-fb.txt
drivers/video/sandbox_sdl.c