* OMAP3 NAND: move NAND_BLOCK_SIZE macro to board-3430sdp-flash.c
@ 2008-10-07 6:11 vimal singh
2008-10-17 22:28 ` Tony Lindgren
0 siblings, 1 reply; 2+ messages in thread
From: vimal singh @ 2008-10-07 6:11 UTC (permalink / raw)
To: linux-omap
Moving NAND_BLOCK_SIZE definition to board-3430sdp-flash.c
Signed-off-by: Vimal Singh <vimalsingh@ti.com>
---
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
*
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: OMAP3 NAND: move NAND_BLOCK_SIZE macro to board-3430sdp-flash.c
2008-10-07 6:11 OMAP3 NAND: move NAND_BLOCK_SIZE macro to board-3430sdp-flash.c vimal singh
@ 2008-10-17 22:28 ` Tony Lindgren
0 siblings, 0 replies; 2+ messages in thread
From: Tony Lindgren @ 2008-10-17 22:28 UTC (permalink / raw)
To: vimal singh; +Cc: linux-omap
* vimal singh <vimalsingh@ti.com> [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@ti.com>
> ---
> 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@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-10-17 22:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-07 6:11 OMAP3 NAND: move NAND_BLOCK_SIZE macro to board-3430sdp-flash.c vimal singh
2008-10-17 22:28 ` Tony Lindgren
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.