Moving NAND_BLOCK_SIZE definition to board-3430sdp-flash.c

Signed-off-by: Vimal Singh <[EMAIL PROTECTED]>
---
 arch/arm/mach-omap2/board-3430sdp-flash.c |    2 ++
 include/linux/mtd/nand.h                  |    2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

Index: linux-omap-2.6_27_08_2008/arch/arm/mach-omap2/board-3430sdp-flash.c
===================================================================
---
linux-omap-2.6_27_08_2008.orig/arch/arm/mach-omap2/board-3430sdp-flash.c        
2008-10-07
11:28:53.000000000 +0530
+++
linux-omap-2.6_27_08_2008/arch/arm/mach-omap2/board-3430sdp-flash.c     
2008-10-07
11:30:12.000000000 +0530
@@ -26,6 +26,8 @@
 #include <mach/gpmc.h>
 #include <mach/nand.h>

+#define NAND_BLOCK_SIZE                SZ_128K
+
 static struct mtd_partition sdp_nor_partitions[] = {
        /* bootloader (U-Boot, etc) in first sector */
        {
Index: linux-omap-2.6_27_08_2008/include/linux/mtd/nand.h
===================================================================
--- linux-omap-2.6_27_08_2008.orig/include/linux/mtd/nand.h     2008-10-07
11:29:00.000000000 +0530
+++ linux-omap-2.6_27_08_2008/include/linux/mtd/nand.h  2008-10-07
11:29:56.000000000 +0530
@@ -45,7 +45,7 @@
  */
 #define NAND_MAX_OOBSIZE       64
 #define NAND_MAX_PAGESIZE      2048
-#define NAND_BLOCK_SIZE                SZ_128K
+
 /*
  * Constants for hardware specific CLE/ALE/NCE function
  *


--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to