]> git.baikalelectronics.ru Git - kernel.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)
committerKumar Gala <galak@kernel.crashing.org>
Thu, 26 Jul 2012 18:26:05 +0000 (13:26 -0500)
commitdf5ac527f911a436453155525e47925ad8b7477a
tree8be5534f24ac4b930b1b0b3b43d5ccbf72aa4fc4
parent76646b9cac3ad20578f905164a7aa0cf35934590
powerpc/85xx: p1022ds: fix DIU/LBC switching with NAND enabled

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