diff options
author | Igor Grinberg <grinberg@compulab.co.il> | 2011-05-30 09:11:45 +0200 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2011-06-01 11:25:05 +0200 |
commit | 1704bf15deb6de20f8f4272c8d8232b36bbc7484 (patch) | |
tree | 6913f8bb83725e5a90fab285c39007f1df719051 /arch/arm/mach-omap2/common-board-devices.h | |
parent | omap4: hwmod: Enable the keypad (diff) | |
download | linux-1704bf15deb6de20f8f4272c8d8232b36bbc7484.tar.xz linux-1704bf15deb6de20f8f4272c8d8232b36bbc7484.zip |
arm: omap2plus: move NAND_BLOCK_SIZE out of boards
Several boards defining mtd partitions also defined NAND_BLOCK_SIZE as
SZ_128K. Move the define to common-board-devices.h
This removes multiple defines of NAND_BLOCK_SIZE.
Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
[tony@atomide.com: updated comments]
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/common-board-devices.h')
-rw-r--r-- | arch/arm/mach-omap2/common-board-devices.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/common-board-devices.h b/arch/arm/mach-omap2/common-board-devices.h index eb80b3b0ef47..679719051df5 100644 --- a/arch/arm/mach-omap2/common-board-devices.h +++ b/arch/arm/mach-omap2/common-board-devices.h @@ -1,6 +1,8 @@ #ifndef __OMAP_COMMON_BOARD_DEVICES__ #define __OMAP_COMMON_BOARD_DEVICES__ +#define NAND_BLOCK_SIZE SZ_128K + struct twl4030_platform_data; struct mtd_partition; |