summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-imx/nand.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-imx/nand.c')
-rw-r--r--arch/arm/mach-imx/nand.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/nand.c b/arch/arm/mach-imx/nand.c
index c228f963d0..c52b8b06c2 100644
--- a/arch/arm/mach-imx/nand.c
+++ b/arch/arm/mach-imx/nand.c
@@ -95,6 +95,15 @@ void imx_nand_set_layout(int writesize, int datawidth)
FMCR = fmcr;
}
+#elif defined CONFIG_ARCH_IMX51
+
+void imx_nand_set_layout(int writesize, int datawidth)
+{
+ /* Just silence the compiler warning below. On i.MX51 we don't
+ * have external boot.
+ */
+}
+
#else
#warning using empty imx_nand_set_layout(). NAND flash will not work properly if not booting from it