diff options
author | Simon Glass <sjg@chromium.org> | 2020-02-03 07:36:14 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2020-02-05 19:33:46 -0700 |
commit | a466db5adb58e486fbd8ae63536b03a70d69f68d (patch) | |
tree | 141ac6c6d9268756342e3e5fcf5fb3a4b30a5d80 /arch/sandbox | |
parent | 6be88c72828923f2df8c441ee12f5829e0d06f32 (diff) | |
download | u-boot-a466db5adb58e486fbd8ae63536b03a70d69f68d.tar.gz |
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>
Diffstat (limited to 'arch/sandbox')
-rw-r--r-- | arch/sandbox/dts/sandbox.dtsi | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sandbox/dts/sandbox.dtsi b/arch/sandbox/dts/sandbox.dtsi index 7bf144f532..7cd56c14f2 100644 --- a/arch/sandbox/dts/sandbox.dtsi +++ b/arch/sandbox/dts/sandbox.dtsi @@ -83,6 +83,7 @@ compatible = "sandbox,lcd-sdl"; xres = <1366>; yres = <768>; + log2-depth = <5>; }; leds { |