[U-Boot] [PATCH] video/powerpc: don't touch DIU registers that we don't need

Anatolij Gustschin agust at denx.de
Fri Sep 21 23:56:48 CEST 2012


Hi Timur,

On Mon, 17 Sep 2012 16:12:42 -0500
Timur Tabi <timur at freescale.com> wrote:

> 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 at freescale.com>
> ---
>  drivers/video/fsl_diu_fb.c |   21 ++-------------------
>  1 files changed, 2 insertions(+), 19 deletions(-)

Applied to video/master. I'm sorry for long delay.

Thanks,
Anatolij


More information about the U-Boot mailing list