powerpc/5121: fsl-diu-fb: fix issue with re-enabling DIU area descriptor
authorAnatolij Gustschin <agust@denx.de>
Fri, 23 Jul 2010 04:00:35 +0000 (04:00 +0000)
committerGrant Likely <grant.likely@secretlab.ca>
Sun, 1 Aug 2010 23:06:44 +0000 (17:06 -0600)
commit0d9dab39fbbecfa8f78a4573a2e8eaf982f1207e
tree6aeb5a72f4ef9d4293a189e22970ee5b7a473e2a
parent9e2089cbed7441a21d72a510897f0336afb06492
powerpc/5121: fsl-diu-fb: fix issue with re-enabling DIU area descriptor

On MPC5121e Rev 2.0 re-configuring the DIU area descriptor
by writing new descriptor address doesn't always work.
As a result, DIU continues to display using old area descriptor
even if the new one has been written to the descriptor register of
the plane.

Add the code from Freescale MPC5121EADS BSP for writing descriptor
addresses properly. This fixes the problem for Rev 2.0 silicon.

Signed-off-by: Anatolij Gustschin <agust@denx.de>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/video/fsl-diu-fb.c