[PATCH] powerpc/85xx: p1022ds: disable the NAND flash node if video is enabled

Kumar Gala galak at kernel.crashing.org
Tue Jul 17 23:38:29 EST 2012


On Jul 13, 2012, at 2:28 PM, Timur Tabi wrote:

> The Freescale P1022 has a unique pin muxing "feature" where the DIU video
> controller's video signals are muxed with 24 of the local bus address signals.
> When the DIU is enabled, the bulk of the local bus is disabled, preventing
> access to memory-mapped devices like NAND flash and the pixis FPGA.
> 
> Therefore, if the DIU is going to be enabled, then memory-mapped devices on
> the localbus, like NAND flash, need to be disabled.
> 
> This patch is similar to "powerpc/85xx: p1022ds: disable the NOR flash node
> if video is enabled", except that it disables the NAND flash node instead.
> This PIXIS node needs to remain enabled because it is used by platform code
> to switch into indirect mode.
> 
> Signed-off-by: Timur Tabi <timur at freescale.com>
> ---
> arch/powerpc/platforms/85xx/p1022_ds.c |   58 +++++++++++++++++++++-----------
> 1 files changed, 38 insertions(+), 20 deletions(-)

applied to next

- k


More information about the Linuxppc-dev mailing list