summaryrefslogtreecommitdiff
path: root/include/asm-arm/arch-mx35
diff options
context:
space:
mode:
authorFred Fan <r01011@freescale.com>2009-02-23 14:50:43 +0800
committerFred Fan <r01011@freescale.com>2009-09-10 14:11:18 +0800
commit765b588dba3e1672d66f6e63727b5f6691424e5e (patch)
tree3fd1d14e3ce11310b77914a6ced3c32a1c6f89b7 /include/asm-arm/arch-mx35
parent5f7373e548c7862364511891596a97f18b945978 (diff)
downloadu-boot-imx-765b588dba3e1672d66f6e63727b5f6691424e5e.zip
u-boot-imx-765b588dba3e1672d66f6e63727b5f6691424e5e.tar.gz
u-boot-imx-765b588dba3e1672d66f6e63727b5f6691424e5e.tar.bz2
ENGR00107886 Porting MX31, MX35 3stack to u-boot V2009.01
Modify and Verfiy MX31 & MX35 3stack according to the changes in V2009.01 Signed-off-by: Fred Fan <r01011@freescale.com>
Diffstat (limited to 'include/asm-arm/arch-mx35')
-rw-r--r--include/asm-arm/arch-mx35/mxc_nand.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/asm-arm/arch-mx35/mxc_nand.h b/include/asm-arm/arch-mx35/mxc_nand.h
index f4d2ae7..bc04c09 100644
--- a/include/asm-arm/arch-mx35/mxc_nand.h
+++ b/include/asm-arm/arch-mx35/mxc_nand.h
@@ -25,11 +25,11 @@
#include <asm/arch/mx35.h>
-#define IS_2K_PAGE_NAND ((mtd->oobblock / info->num_of_intlv) \
+#define IS_2K_PAGE_NAND ((mtd->writesize / info->num_of_intlv) \
== NAND_PAGESIZE_2KB)
-#define IS_4K_PAGE_NAND ((mtd->oobblock / info->num_of_intlv) \
+#define IS_4K_PAGE_NAND ((mtd->writesize / info->num_of_intlv) \
== NAND_PAGESIZE_4KB)
-#define IS_LARGE_PAGE_NAND ((mtd->oobblock / info->num_of_intlv) > 512)
+#define IS_LARGE_PAGE_NAND ((mtd->writesize / info->num_of_intlv) > 512)
#define NAND_PAGESIZE_2KB 2048
#define NAND_PAGESIZE_4KB 4096