diff options
author | Hans de Goede <hdegoede@redhat.com> | 2015-08-04 12:15:39 +0200 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2015-08-14 08:37:36 +0200 |
commit | c67a8767f57989704304d64d9e9006007e2ff083 (patch) | |
tree | 651c43899984ca2e91d3c9f3b1e6667b4de0d9fd /include/MCD_tasksInit.h | |
parent | c4c9e81f45be621fbc812e250ade665d56c38957 (diff) | |
download | u-boot-imx-c67a8767f57989704304d64d9e9006007e2ff083.zip u-boot-imx-c67a8767f57989704304d64d9e9006007e2ff083.tar.gz u-boot-imx-c67a8767f57989704304d64d9e9006007e2ff083.tar.bz2 |
cfbconsole: Add support for stride != width
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 #ifndef
guard, allowing the boards config.h to override and, and thus support
cases where stride != width.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Anatolij Gustschin <agust@denx.de>
Diffstat (limited to 'include/MCD_tasksInit.h')
0 files changed, 0 insertions, 0 deletions