summaryrefslogtreecommitdiff
path: root/include/asm-arm/arch-mx35/mx35.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-arm/arch-mx35/mx35.h')
-rw-r--r--include/asm-arm/arch-mx35/mx35.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/asm-arm/arch-mx35/mx35.h b/include/asm-arm/arch-mx35/mx35.h
index a6af3c9..ba30597 100644
--- a/include/asm-arm/arch-mx35/mx35.h
+++ b/include/asm-arm/arch-mx35/mx35.h
@@ -189,6 +189,14 @@ MXC_IPG_PERCLK,
MXC_UART_CLK,
};
+/*!
+ * NFMS bit in RCSR register for pagesize of nandflash
+ */
+#define NFMS (*((volatile u32 *)(CCM_BASE_ADDR+0x18)))
+#define NFMS_BIT 8
+#define NFMS_NF_DWIDTH 14
+#define NFMS_NF_PG_SZ 8
+
extern unsigned int mxc_get_clock(enum mxc_clock clk);
#define fixup_before_linux \