[U-Boot] [PATCH] [v2] p1022ds: fix switching of DIU/LBC signals

Kumar Gala kumar.gala at freescale.com
Mon Dec 13 17:06:17 CET 2010


On Dec 3, 2010, at 1:03 PM, Timur Tabi wrote:

> On the P1022, the pins which drive the video display (DIU) are muxed with the
> local bus controller (LBC), so if the DIU is active, the pins need to be
> temporarily muxed to LBC whenever accessing NOR flash.
> 
> The code which handled this transition is checking and changing the wrong
> bits in PMUXCR.
> 
> Also add a follow-up read after a write to NOR flash if we're going to
> mux back to DIU after the write, as described in the P1022 RM.
> 
> Signed-off-by: Timur Tabi <timur at freescale.com>
> ---
> 
> I have no idea how this ever worked before, but without this fix, video on
> the P1022DS is completely broken.
> 
> board/freescale/p1022ds/diu.c |   67 ++++++++++++++++++++++++++++++++++------
> 1 files changed, 57 insertions(+), 10 deletions(-)

applied to 85xx

- k


More information about the U-Boot mailing list