diff options
author | Andre Heider <a.heider@gmail.com> | 2013-11-09 11:07:53 +0100 |
---|---|---|
committer | Anatolij Gustschin <agust@denx.de> | 2013-11-12 09:35:40 +0100 |
commit | 44376eff256da60625f99c1f3559c290f148fc1c (patch) | |
tree | 098876d78f7828f70d2bafa16e45c9df0284f232 /drivers/hwmon/ds1722.c | |
parent | cefa47171276509fee89d8084da15409285e481b (diff) | |
download | u-boot-imx-44376eff256da60625f99c1f3559c290f148fc1c.zip u-boot-imx-44376eff256da60625f99c1f3559c290f148fc1c.tar.gz u-boot-imx-44376eff256da60625f99c1f3559c290f148fc1c.tar.bz2 |
video: bcm2835: respect the pitch value
Depending on the firmware's video options [1] the active SDTV or
HDTV mode can yield a framebuffer with noncontiguous horizontal lines,
giving a messed up display, for both, u-boot and the loaded kernel.
Fix this by setting lcd_line_length to the pitch value of the configured
framebuffer.
[1] http://elinux.org/RPiconfig#Video_mode_options
Signed-off-by: Andre Heider <a.heider@gmail.com>
Cc: Stephen Warren <swarren@wwwdotorg.org>
Signed-off-by: Anatolij Gustschin <agust@denx.de>
Acked-by: Stephen Warren <swarren@wwwdotorg.org>
Diffstat (limited to 'drivers/hwmon/ds1722.c')
0 files changed, 0 insertions, 0 deletions