summaryrefslogtreecommitdiffstats
path: root/drivers/nand/nand_imx.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/nand/nand_imx.c')
-rw-r--r--drivers/nand/nand_imx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/nand/nand_imx.c b/drivers/nand/nand_imx.c
index 74cdf10a50..5454e32083 100644
--- a/drivers/nand/nand_imx.c
+++ b/drivers/nand/nand_imx.c
@@ -1065,7 +1065,7 @@ void __nand_boot_init imx_nand_load_image(void *dest, int size)
else
host.pagesize_2k = 0;
#endif
-#ifdef CONFIG_ARCH_IMX35
+#if defined(CONFIG_ARCH_IMX35) || defined(CONFIG_ARCH_IMX25)
if (readl(IMX_CCM_BASE + CCM_RCSR) & (1 << 8))
host.pagesize_2k = 1;
else