mtd: mxc_nand: swap iomem resource order
authorSascha Hauer <s.hauer@pengutronix.de>
Wed, 6 Jun 2012 10:33:14 +0000 (12:33 +0200)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 6 Jul 2012 17:17:06 +0000 (18:17 +0100)
commit71885b650ab0fd9d2d35cd922bf949c07c171b04
tree5b42c827d2e8c1583777e15e02183d6ba541bcf9
parente4a09cbf2dc7ba6c7fd7e07a3ab3d3f499a575e2
mtd: mxc_nand: swap iomem resource order

The i.MX v3 nand controller (i.MX5) needs two memory resources.
Traditionally we have the AXI resource first. For sorting in this
driver into the devicetree it feels much more natural to have the
IP resource first. This patch swaps the ordering of these two
resources.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Acked-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
arch/arm/plat-mxc/devices/platform-mxc_nand.c
drivers/mtd/nand/mxc_nand.c