Re: [U-Boot] [PATCH 2/3] cfbconsole: Add support for stride != width

2015-08-12 Thread Anatolij Gustschin
On Wed, 5 Aug 2015 17:17:30 +0200 Hans de Goede wrote: > cfbconsole currently assumes that the width and stride of the framebuffer > are the same, in most places where stride matters it uses a VIDEO_LINE_LEN > helper macro. > > This commit changes the few places not using VIDEO_LINE_LEN to also

[U-Boot] [PATCH 2/3] cfbconsole: Add support for stride != width

2015-08-05 Thread Hans de Goede
cfbconsole currently assumes that the width and stride of the framebuffer are the same, in most places where stride matters it uses a VIDEO_LINE_LEN helper macro. This commit changes the few places not using VIDEO_LINE_LEN to also use VIDEO_LINE_LEN, and protects the default VIDEO_LINE_LEN with a