video: theadorable: Use RGB565 for BMP blitting
At present this uses RGB555 format for blitting to a display. Sandbox uses
565 and that seems to be more normal for BMP as well. Update the code
accordingly and add a test.
Note that this likely breaks the theadorable board so we may need to
discuss supporting both formats.
Signed-off-by:
Simon Glass <sjg@chromium.org>
Showing
- configs/sandbox_defconfig 1 addition, 0 deletionsconfigs/sandbox_defconfig
- configs/sandbox_flattree_defconfig 1 addition, 0 deletionsconfigs/sandbox_flattree_defconfig
- drivers/video/video_bmp.c 3 additions, 3 deletionsdrivers/video/video_bmp.c
- test/dm/video.c 46 additions, 0 deletionstest/dm/video.c
- tools/logos/denx-24bpp.bmp.gz 0 additions, 0 deletionstools/logos/denx-24bpp.bmp.gz
Loading
Please register or sign in to comment