]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.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)
committerKumar Gala <galak@kernel.crashing.org>
Thu, 26 Jul 2012 18:26:04 +0000 (13:26 -0500)
commit6269f2584a359766f53005c676daff8aee60cbed
tree938bc91b1a5019e53cbf9d5b49f31402d84cadcc
parent163f22dc9615e6bc446f50a626af7362cd269876
powerpc/85xx: p1022ds: disable the NAND flash node if video is enabled

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>
arch/powerpc/platforms/85xx/p1022_ds.c