]> git.sur5r.net Git - u-boot/commit
video/powerpc: don't touch DIU registers that we don't need
authorTimur Tabi <timur@freescale.com>
Mon, 17 Sep 2012 11:12:42 +0000 (11:12 +0000)
committerAnatolij Gustschin <agust@denx.de>
Fri, 21 Sep 2012 21:51:29 +0000 (23:51 +0200)
commit15b83386aa50168bce659fdc33cd6784effa2e3d
treed1f8b2684d025564ce617e0144fc7330caa7f2b2
parent1b09b53e7dda7f8d4e7ec2927137f3b71327955a
video/powerpc: don't touch DIU registers that we don't need

Several DIU registers were being initialized either unnecessarily or to
wrong values.

1) All interrupts were enabled even though there's no interrupt handler.
   Interrupts were left enabled when booting Linux.

2) Don't configure a dummy area descriptor, since we don't support ADs
   in U-Boot.

3) Don't configure any write-back buffer registers, since we don't use
   that mode.

4) The default values for the THRESHOLDS, SYN_POL, and PLUT registers
   should be used, so don't touch those registers either.

Signed-off-by: Timur Tabi <timur@freescale.com>
drivers/video/fsl_diu_fb.c