From 765b588dba3e1672d66f6e63727b5f6691424e5e Mon Sep 17 00:00:00 2001 From: Fred Fan Date: Mon, 23 Feb 2009 14:50:43 +0800 Subject: 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 --- include/asm-arm/arch-mx35/mxc_nand.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include/asm-arm/arch-mx35') 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 -#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 -- cgit v1.1