diff options
author | Stefan Roese <sr@denx.de> | 2016-11-12 09:32:38 (GMT) |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-11-13 20:54:38 (GMT) |
commit | 22bb1a7a1bbf0796185306bca95b94bdaa039ca3 (patch) | |
tree | 6e4222598586e0e3d61064b845482d6711b21804 /doc/README.usb | |
parent | 73d570a76ddee0a18445cd53c9473a445d2f08a4 (diff) | |
download | u-boot-fsl-qoriq-22bb1a7a1bbf0796185306bca95b94bdaa039ca3.tar.xz |
video: bmp: Fix compilation errors with CONFIG_BMP_xxBPP enabled
Compiling the 'bmp' command with DM and having one of the following macros
enabled:
CONFIG_BMP_16BPP, CONFIG_BMP_24BPP ONFIG_BMP_32BPP
generates this error:
drivers/video/video_bmp.c: In function ‘video_bmp_display’:
drivers/video/video_bmp.c:315:22: error: ‘lcd_line_length’ undeclared (first use in this function)
fb -= width * 2 + lcd_line_length;
^
This patch moves to using the correct variable instead and enables the
'bmp' command for DM again.
Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Simon Glass <sjg@chromium.org>
Cc: Anatolij Gustschin <agust@denx.de>
Diffstat (limited to 'doc/README.usb')
0 files changed, 0 insertions, 0 deletions