]> code.ossystems Code Review - bsp/u-boot.git/commit
video: ipu_disp: remove pixclk fixup
authorJeroen Hofstee <jeroen@myspectrum.nl>
Tue, 14 Oct 2014 18:37:15 +0000 (20:37 +0200)
committerOtavio Salvador <otavio@ossystems.com.br>
Tue, 21 Oct 2014 19:30:57 +0000 (17:30 -0200)
commit2b542e69cb68eceb348bb3063334afcbf3fbfe4f
tree3c4e09522ec0ebc7564cf7e81a4367ea50b7308c
parent499a8ca92634fbfee7476b4abf8e8ebd4edcb5fd
video: ipu_disp: remove pixclk fixup

The ipu display insists on having a lower_margin smaller
then 2. If this is not the case it will attempt to force
it and adjust the pixclk accordingly. This multiplies pixclk
in Hz with the width and height, since this is typically
a * 10^7 * b * 10^2 * c * 10^2 this will overflow the
uint_32 and make things even worse. Since this is a
bootloader and the adjustment is neglectible, just force
it to two and warn about it.

Cc: Stefano Babic <sbabic@denx.de>
Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
drivers/video/ipu_disp.c