From ea6006838e5fca5f8157c015b2fc9c734c39c19e Mon Sep 17 00:00:00 2001 From: vimal singh Date: Tue, 7 Oct 2008 11:41:08 +0530 Subject: [PATCH] OMAP3 NAND: move NAND_BLOCK_SIZE macro to board-3430sdp-flash.c Sync nand.h with mainline kernel Moving NAND_BLOCK_SIZE definition to board-3430sdp-flash.c Signed-off-by: Vimal Singh Signed-off-by: Tony Lindgren --- arch/arm/mach-omap2/board-3430sdp-flash.c | 2 ++ include/linux/mtd/nand.h | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-omap2/board-3430sdp-flash.c b/arch/arm/mach-omap2/board-3430sdp-flash.c index b16f70c9e85..6b0419cc353 100644 --- a/arch/arm/mach-omap2/board-3430sdp-flash.c +++ b/arch/arm/mach-omap2/board-3430sdp-flash.c @@ -26,6 +26,8 @@ #include #include +#define NAND_BLOCK_SIZE SZ_128K + static struct mtd_partition sdp_nor_partitions[] = { /* bootloader (U-Boot, etc) in first sector */ { diff --git a/include/linux/mtd/nand.h b/include/linux/mtd/nand.h index aac285162dd..81774e5facf 100644 --- a/include/linux/mtd/nand.h +++ b/include/linux/mtd/nand.h @@ -45,7 +45,7 @@ extern void nand_wait_ready(struct mtd_info *mtd); */ #define NAND_MAX_OOBSIZE 64 #define NAND_MAX_PAGESIZE 2048 -#define NAND_BLOCK_SIZE SZ_128K + /* * Constants for hardware specific CLE/ALE/NCE function * -- 2.41.1