]> git.karo-electronics.de Git - karo-tx-linux.git/commit
powerpc/85xx: p1022ds: disable the NAND flash node if video is enabled
authorTimur Tabi <timur@freescale.com>
Fri, 13 Jul 2012 19:28:42 +0000 (14:28 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 2 Oct 2012 17:30:37 +0000 (10:30 -0700)
commite85f60c9fc3d5ecc66e6598c0e487aa5c4b7feeb
treec06136af613eae207b7bb31afda7260cf44c533a
parent3dcb53637949c288a1ff2a06ee3c0a212ace6ef1
powerpc/85xx: p1022ds: disable the NAND flash node if video is enabled

commit 6269f2584a359766f53005c676daff8aee60cbed upstream.

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@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/powerpc/platforms/85xx/p1022_ds.c