]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
powerpc/85xx: p1022ds: fix DIU/LBC switching with NAND enabled
authorTimur Tabi <timur@freescale.com>
Mon, 23 Jul 2012 20:43:32 +0000 (15:43 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 2 Oct 2012 17:39:49 +0000 (10:39 -0700)
commit8e518b46f7552d53be920c9b0415784fe0172e9d
treecc27c4557f1ef92e3932ffd6de5a52d4f5c3cd29
parent769f1c1a00de9a155cd905000943ed336500cee4
powerpc/85xx: p1022ds: fix DIU/LBC switching with NAND enabled

commit 896c01cb4bb3cfc2c0ea9873fa7a9f8bd0a7c8d8 upstream.

In order for indirect mode on the PIXIS to work properly, both chip selects
need to be set to GPCM mode, otherwise writes to the chip select base
addresses will not actually post to the local bus -- they'll go to the
NAND controller instead.  Therefore, we need to set BR0 and BR1 to GPCM
mode before switching to 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