
24 Jan
2017
24 Jan
'17
3:55 p.m.
On Fri, 20 Jan 2017 07:07:37 -0700 Simon Glass sjg@chromium.org wrote:
At present we clear many more bytes than we should on 16bpp and 32bpp displays. The number of pixels to clear is currently calculated as the line length (in bytes) multiplied by the number of lines to clear. This is only correct for 8bpp displays.
Correct the calculation to use the number of text columns multiplied by the width of each character multiplied by the number of lines to clear.
Signed-off-by: Simon Glass sjg@chromium.org
Acked-by: Anatolij Gustschin agust@denx.de
-- Anatolij