Re: OMAP3 NAND: move NAND_BLOCK_SIZE macro to board-3430sdp-flash.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* vimal singh <vimalsingh@xxxxxx> [081006 23:11]:
> Moving NAND_BLOCK_SIZE definition to board-3430sdp-flash.c

Hmm, looks like this reverts some earlier mistake, pushing.

Tony


> Signed-off-by: Vimal Singh <vimalsingh@xxxxxx>
> ---
>  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 majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux