[PATCH] omap mmc: extended to pass host capabilities from board file

2010-09-15 Thread Sukumar Ghorai
wires variable is renamed, extended and this single variable to be used to pass the platform capabilities, e.g DDR mode. Also removed the hardcoded value was using as bus-width. Signed-off-by: Sukumar Ghorai s-gho...@ti.com --- arch/arm/mach-omap2/board-2430sdp.c |3 ++- arch

[PATCH RESEND v4 0/4] nand prefetch-irq support and ecc layout chanage

2010-09-16 Thread Sukumar Ghorai
.html Sukumar Ghorai (5): Merge branches 'master' and 'master' of git://git.kernel.org/.../torvalds/linux-2.6 omap3: nand: prefetch in irq mode support omap3: nand: configurable fifo threshold to gain the throughput omap: nand: ecc layout select from board file omap: nand: making ecc

[PATCH RESEND v4 3/4] omap: nand: ecc layout select from board file

2010-09-16 Thread Sukumar Ghorai
This patch makes it possible to select sw or hw (different layout options) ecc scheme supported by omap nand driver. And hw ecc layout selected for sdp and zoom boards, by default. Signed-off-by: Sukumar Ghorai s-gho...@ti.com Signed-off-by: Vimal Singh vimalsi...@ti.com --- arch

[PATCH RESEND v4 2/4] omap3: nand: configurable fifo threshold to gain the throughput

2010-09-16 Thread Sukumar Ghorai
Configure the FIFO THREASHOLD value different for read and write to keep busy both filling and to drain out of FIFO at reading and writing. Signed-off-by: Sukumar Ghorai s-gho...@ti.com Signed-off-by: Vimal Singh vimalsi...@ti.com --- arch/arm/mach-omap2/gpmc.c | 11

[PATCH RESEND v4 4/4] omap: nand: making ecc layout as compatible with romcode ecc

2010-09-16 Thread Sukumar Ghorai
. This enables to flash x-loader, u-boot, kernel, FS images from kernel itself and compatiable with other tools. Signed-off-by: Sukumar Ghorai s-gho...@ti.com Signed-off-by: Vimal Singh vimalsi...@ti.com --- arch/arm/mach-omap2/board-flash.c |2 +- drivers/mtd/nand/omap2.c | 34

[PATCH RESEND v4 1/4] omap3: nand: prefetch in irq mode support

2010-09-16 Thread Sukumar Ghorai
This patch enable prefetch-irq mode for NAND. Signed-off-by: Vimal Singh vimalsi...@ti.com Signed-off-by: Sukumar Ghorai s-gho...@ti.com --- arch/arm/mach-omap2/board-flash.c |2 + arch/arm/mach-omap2/gpmc.c |4 + arch/arm/plat-omap/include/plat/gpmc.h |4 + arch/arm

[PATCH v5 0/5] nand prefetch-irq support and ecc layout chanage

2010-09-27 Thread Sukumar Ghorai
v1: http://www.mail-archive.com/linux-omap@vger.kernel.org/msg2.html Sukumar Ghorai (5): omap gpmc: enable irq mode in gpmc omap3: nand: prefetch in irq mode support omap3: nand: configurable fifo threshold to gain the throughput omap: nand: ecc layout select from board file omap

[PATCH v5 1/5] omap gpmc: enable irq mode in gpmc

2010-09-27 Thread Sukumar Ghorai
add support the irq mode in GPMC. gpmc_init() function move after omap_init_irq() as it has dependecy on irq. Signed-off-by: Sukumar Ghorai s-gho...@ti.com --- arch/arm/mach-omap2/board-2430sdp.c|1 + arch/arm/mach-omap2/board-3430sdp.c|1 + arch/arm/mach-omap2/board

[PATCH v5 3/5] omap3: nand: configurable fifo threshold to gain the throughput

2010-09-27 Thread Sukumar Ghorai
Configure the FIFO THREASHOLD value different for read and write to keep busy both filling and to drain out of FIFO at reading and writing. Signed-off-by: Vimal Singh vimalsi...@ti.com Signed-off-by: Sukumar Ghorai s-gho...@ti.com --- arch/arm/mach-omap2/gpmc.c | 11

[PATCH v5 5/5] omap: nand: making ecc layout as compatible with romcode ecc

2010-09-27 Thread Sukumar Ghorai
. This enables to flash x-loader, u-boot, kernel, FS images from kernel itself and compatiable with other tools. Signed-off-by: Vimal Singh vimalsi...@ti.com Signed-off-by: Sukumar Ghorai s-gho...@ti.com --- drivers/mtd/nand/omap2.c | 34 ++ 1 files changed, 34

[PATCH v5 2/5] omap3: nand: prefetch in irq mode support

2010-09-27 Thread Sukumar Ghorai
This patch enable prefetch-irq mode for NAND. Signed-off-by: Vimal Singh vimalsi...@ti.com Signed-off-by: Sukumar Ghorai s-gho...@ti.com --- arch/arm/mach-omap2/board-flash.c |4 +- arch/arm/plat-omap/include/plat/nand.h |1 + drivers/mtd/nand/Kconfig | 14

[PATCH v5 4/5] omap: nand: ecc layout select from board file

2010-09-27 Thread Sukumar Ghorai
This patch makes it possible to select sw or hw (different layout options) ecc scheme supported by omap nand driver. And hw ecc layout selected for sdp and zoom boards, by default. Signed-off-by: Vimal Singh vimalsi...@ti.com Signed-off-by: Sukumar Ghorai s-gho...@ti.com --- arch

[PATCH RESEND v5 0/5] nand prefetch-irq support and ecc layout chanage

2010-09-27 Thread Sukumar Ghorai
.html v1: http://www.mail-archive.com/linux-omap@vger.kernel.org/msg2.html Sukumar Ghorai (5): omap gpmc: enable irq mode in gpmc omap3: nand: prefetch in irq mode support omap3: nand: configurable fifo threshold to gain the throughput omap: nand: ecc layout select from board file

[PATCH RESEND v5 3/5] omap3: nand: configurable fifo threshold to gain the throughput

2010-09-27 Thread Sukumar Ghorai
Configure the FIFO THREASHOLD value different for read and write to keep busy both filling and to drain out of FIFO at reading and writing. Signed-off-by: Vimal Singh vimalsi...@ti.com Signed-off-by: Sukumar Ghorai s-gho...@ti.com --- arch/arm/mach-omap2/gpmc.c | 11

[PATCH RESEND v5 4/5] omap: nand: ecc layout select from board file

2010-09-27 Thread Sukumar Ghorai
This patch makes it possible to select sw or hw (different layout options) ecc scheme supported by omap nand driver. And hw ecc layout selected for sdp and zoom boards, by default. Signed-off-by: Vimal Singh vimalsi...@ti.com Signed-off-by: Sukumar Ghorai s-gho...@ti.com --- arch/arm/mach-omap2

[PATCH RESEND v5 2/5] omap3: nand: prefetch in irq mode support

2010-09-27 Thread Sukumar Ghorai
This patch enable prefetch-irq mode for NAND. Signed-off-by: Vimal Singh vimalsi...@ti.com Signed-off-by: Sukumar Ghorai s-gho...@ti.com --- arch/arm/mach-omap2/board-flash.c |4 +- arch/arm/plat-omap/include/plat/nand.h |1 + drivers/mtd/nand/Kconfig | 14

[PATCH RESEND v5 5/5] omap: nand: making ecc layout as compatible with romcode ecc

2010-09-27 Thread Sukumar Ghorai
x-loader, u-boot, kernel, FS images from kernel itself and compatiable with other tools. Signed-off-by: Vimal Singh vimalsi...@ti.com Signed-off-by: Sukumar Ghorai s-gho...@ti.com --- drivers/mtd/nand/omap2.c | 34 ++ 1 files changed, 34 insertions(+), 0

[PATCH RESEND v5 1/5] omap gpmc: enable irq mode in gpmc

2010-09-27 Thread Sukumar Ghorai
add support the irq mode in GPMC. gpmc_init() function move after omap_init_irq() as it has dependecy on irq. Signed-off-by: Sukumar Ghorai s-gho...@ti.com --- arch/arm/mach-omap2/board-2430sdp.c|1 + arch/arm/mach-omap2/board-3430sdp.c|1 + arch/arm/mach-omap2/board

[PATCH] omap: nand: remove hardware ECC as default

2010-11-18 Thread Sukumar Ghorai
CONFIG_MTD_NAND_OMAP_HWECC defined wronly in patch submitted during 2.6.36 that using the hardware ECC by default Signed-off-by: Sukumar Ghorai s-gho...@ti.com --- drivers/mtd/nand/omap2.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/drivers/mtd/nand/omap2.c b/drivers

[PATCH V2] omap: nand: remove hardware ECC as default

2010-11-19 Thread Sukumar Ghorai
CONFIG_MTD_NAND_OMAP_HWECC defined wrongly in patch submitted for 2.6.36. This flag enables hw ecc by default. Boards like beagle and pandora uses sw ecc for write (e.g. binary flushed from u-boot) and read from kernel. https://patchwork.kernel.org/patch/111036/ Signed-off-by: Sukumar Ghorai s

[PATCH 1/7] omap3630: nand: fix device size to work in polled mode

2010-11-26 Thread Sukumar Ghorai
zoom3 and 3630-sdp having the x16 nand device. This patch configure gpmc as x16 and select the currect function in driver for polled mode (without prefetch enable) transfer. Signed-off-by: Sukumar Ghorai s-gho...@ti.com --- arch/arm/mach-omap2/board-flash.c |3 +++ 1 files changed, 3

[PATCH 2/7] omap3: nand: configurable transfer type per board

2010-11-26 Thread Sukumar Ghorai
nand transfer type (sDMA, Polled, prefetch) can be select from board file, enabling all transfer type in driver, by default. this helps in multi-omap build and to select different transfer type for different board. Signed-off-by: Sukumar Ghorai s-gho...@ti.com --- arch/arm/plat-omap/include

[PATCH v6 0/7] nand prefetch-irq support and ecc layout chanage

2010-11-26 Thread Sukumar Ghorai
@vger.kernel.org/msg31963.html v2: Rebase on latest codebase and previous patch(posted). http://www.mail-archive.com/linux-omap@vger.kernel.org/msg31471.html v1: http://www.mail-archive.com/linux-omap@vger.kernel.org/msg2.html Sukumar Ghorai (7): omap3630: nand: fix device size to work in polled mode

[PATCH v6 6/7] omap: nand: ecc layout select from board file

2010-11-26 Thread Sukumar Ghorai
This patch makes it possible to select sw or hw (different layout options) ecc scheme supported by omap nand driver. And hw ecc layout selected for sdp and zoom boards, by default. Signed-off-by: Vimal Singh vimalsi...@ti.com Signed-off-by: Sukumar Ghorai s-gho...@ti.com --- arch/arm/mach-omap2

[PATCH v6 5/7] omap3: nand: configurable fifo threshold to gain the throughput

2010-11-26 Thread Sukumar Ghorai
Configure the FIFO THREASHOLD value different for read and write to keep busy both filling and to drain out of FIFO at reading and writing. Signed-off-by: Vimal Singh vimalsi...@ti.com Signed-off-by: Sukumar Ghorai s-gho...@ti.com --- arch/arm/mach-omap2/gpmc.c | 11

[PATCH v6 7/7] omap: nand: making ecc layout as compatible with romcode ecc

2010-11-26 Thread Sukumar Ghorai
x-loader, u-boot, kernel, FS images from kernel itself and compatiable with other tools. Signed-off-by: Vimal Singh vimalsi...@ti.com Signed-off-by: Sukumar Ghorai s-gho...@ti.com --- drivers/mtd/nand/omap2.c | 34 ++ 1 files changed, 34 insertions(+), 0

[PATCH v6 3/7] omap: gpmc: enable irq mode in gpmc

2010-11-26 Thread Sukumar Ghorai
add support the irq mode in GPMC. gpmc_init() function move after omap_init_irq() as it has dependecy on irq. Signed-off-by: Sukumar Ghorai s-gho...@ti.com --- arch/arm/mach-omap2/board-2430sdp.c|1 + arch/arm/mach-omap2/board-3430sdp.c|1 + arch/arm/mach-omap2/board

[PATCH v6 4/7] omap3: nand: prefetch in irq mode support

2010-11-26 Thread Sukumar Ghorai
This patch enable prefetch-irq mode for nand transfer(read, write) Signed-off-by: Vimal Singh vimalsi...@ti.com Signed-off-by: Sukumar Ghorai s-gho...@ti.com --- arch/arm/mach-omap2/board-flash.c |3 + arch/arm/plat-omap/include/plat/nand.h |4 +- drivers/mtd/nand/omap2.c

[PATCH v7 0/7] nand prefetch-irq support and ecc layout chanage

2010-12-29 Thread Sukumar Ghorai
-archive.com/linux-omap@vger.kernel.org/msg31471.html v1: http://www.mail-archive.com/linux-omap@vger.kernel.org/msg2.html Sukumar Ghorai (7): omap3630: nand: fix device size to work in polled mode omap3: nand: configurable transfer type per board omap: gpmc: enable irq mode in gpmc omap3

[PATCH v7 1/7] omap3630: nand: fix device size to work in polled mode

2010-12-29 Thread Sukumar Ghorai
zoom3 and 3630-sdp having the x16 nand device. This patch configure gpmc as x16 and select the currect function in driver for polled mode (without prefetch enable) transfer. Signed-off-by: Sukumar Ghorai s-gho...@ti.com --- arch/arm/mach-omap2/board-3430sdp.c |2 +- arch/arm/mach-omap2/board

[PATCH v7 5/7] omap3: nand: configurable fifo threshold to gain the throughput

2010-12-29 Thread Sukumar Ghorai
Configure the FIFO THREASHOLD value different for read and write to keep busy both filling and to drain out of FIFO at reading and writing. Signed-off-by: Vimal Singh vimalsi...@ti.com Signed-off-by: Sukumar Ghorai s-gho...@ti.com --- arch/arm/mach-omap2/gpmc.c | 11

[PATCH v7 7/7] omap3: nand: making ecc layout as compatible with romcode ecc

2010-12-29 Thread Sukumar Ghorai
with other tools. This patch does not enables this feature by default and need to pass from board file to enable for any board. Signed-off-by: Vimal Singh vimalsi...@ti.com Signed-off-by: Sukumar Ghorai s-gho...@ti.com --- arch/arm/plat-omap/include/plat/gpmc.h |2 + drivers/mtd/nand/omap2.c

[PATCH v7 4/7] omap3: nand: prefetch in irq mode support

2010-12-29 Thread Sukumar Ghorai
This patch enable prefetch-irq mode for nand transfer(read, write) Signed-off-by: Vimal Singh vimalsi...@ti.com Signed-off-by: Sukumar Ghorai s-gho...@ti.com --- arch/arm/mach-omap2/board-flash.c |2 + arch/arm/plat-omap/include/plat/nand.h |4 +- drivers/mtd/nand/omap2.c

[PATCH v7 6/7] omap3: nand: ecc layout select from board file

2010-12-29 Thread Sukumar Ghorai
This patch makes it possible to select sw or hw (different layout options) ecc scheme supported by omap nand driver. And hw ecc layout selected for sdp and zoom boards, by default. Signed-off-by: Vimal Singh vimalsi...@ti.com Signed-off-by: Sukumar Ghorai s-gho...@ti.com --- arch/arm/mach-omap2

[PATCH v7 2/7] omap3: nand: configurable transfer type per board

2010-12-29 Thread Sukumar Ghorai
nand transfer type (sDMA, Polled, prefetch) can be select from board file, enabling all transfer type in driver, by default. this helps in multi-omap build and to select different transfer type for different board. Signed-off-by: Sukumar Ghorai s-gho...@ti.com --- arch/arm/plat-omap/include

[PATCH v7 3/7] omap: gpmc: enable irq mode in gpmc

2010-12-29 Thread Sukumar Ghorai
add support the irq mode in GPMC. gpmc_init() function move after omap_init_irq() as it has dependecy on irq. Signed-off-by: Sukumar Ghorai s-gho...@ti.com --- arch/arm/mach-omap2/board-2430sdp.c|1 + arch/arm/mach-omap2/board-3430sdp.c|1 + arch/arm/mach-omap2/board

[PATCH v8 2/7] omap3: nand: configurable transfer type per board

2011-01-04 Thread Sukumar Ghorai
nand transfer type (sDMA, Polled, prefetch) can be select from board file, enabling all transfer type in driver, by default. this helps in multi-omap build and to select different transfer type for different board. Signed-off-by: Sukumar Ghorai s-gho...@ti.com --- arch/arm/plat-omap/include

[PATCH v8 1/7] omap3630: nand: fix device size to work in polled mode

2011-01-04 Thread Sukumar Ghorai
zoom3 and 3630-sdp having the x16 nand device. This patch configure gpmc as x16 and select the currect function in driver for polled mode (without prefetch enable) transfer. Signed-off-by: Sukumar Ghorai s-gho...@ti.com --- arch/arm/mach-omap2/board-3430sdp.c |2 +- arch/arm/mach-omap2/board

[PATCH v8 4/7] omap3: nand: prefetch in irq mode support

2011-01-04 Thread Sukumar Ghorai
This patch enable prefetch-irq mode for nand transfer(read, write) Signed-off-by: Vimal Singh vimalsi...@ti.com Signed-off-by: Sukumar Ghorai s-gho...@ti.com --- arch/arm/mach-omap2/board-flash.c |2 + arch/arm/plat-omap/include/plat/nand.h |4 +- drivers/mtd/nand/omap2.c

[PATCH v8 6/7] omap3: nand: ecc layout select from board file

2011-01-04 Thread Sukumar Ghorai
This patch makes it possible to select sw or hw (different layout options) ecc scheme supported by omap nand driver. Signed-off-by: Vimal Singh vimalsi...@ti.com Signed-off-by: Sukumar Ghorai s-gho...@ti.com --- arch/arm/mach-omap2/board-flash.c |1 + arch/arm/plat-omap/include/plat

[PATCH v8 7/7] omap3: nand: making ecc layout as compatible with romcode ecc

2011-01-04 Thread Sukumar Ghorai
with other tools. This patch does not enables this feature by default and need to pass from board file to enable for any board. Signed-off-by: Vimal Singh vimalsi...@ti.com Signed-off-by: Sukumar Ghorai s-gho...@ti.com --- arch/arm/plat-omap/include/plat/gpmc.h |2 + drivers/mtd/nand/omap2.c

[PATCH v8 3/7] omap: gpmc: enable irq mode in gpmc

2011-01-04 Thread Sukumar Ghorai
add support the irq mode in GPMC. gpmc_init() function move after omap_init_irq() as it has dependecy on irq. Signed-off-by: Sukumar Ghorai s-gho...@ti.com --- arch/arm/mach-omap2/board-2430sdp.c|1 + arch/arm/mach-omap2/board-3430sdp.c|1 + arch/arm/mach-omap2/board

[PATCH v8 5/7] omap3: nand: configurable fifo threshold to gain the throughput

2011-01-04 Thread Sukumar Ghorai
Configure the FIFO THREASHOLD value different for read and write to keep busy both filling and to drain out of FIFO at reading and writing. Signed-off-by: Vimal Singh vimalsi...@ti.com Signed-off-by: Sukumar Ghorai s-gho...@ti.com --- arch/arm/mach-omap2/gpmc.c | 11

[PATCH RESEND v8 0/7] nand prefetch-irq support and ecc layout chanage

2011-01-19 Thread Sukumar Ghorai
/linux-omap@vger.kernel.org/msg2.html Sukumar Ghorai (7): omap3630: nand: fix device size to work in polled mode omap3: nand: configurable transfer type per board omap: gpmc: enable irq mode in gpmc omap3: nand: prefetch in irq mode support omap3: nand: configurable fifo threshold

[PATCH RESEND v8 1/7] omap3630: nand: fix device size to work in polled mode

2011-01-19 Thread Sukumar Ghorai
zoom3 and 3630-sdp having the x16 nand device. This patch configure gpmc as x16 and select the currect function in driver for polled mode (without prefetch enable) transfer. Signed-off-by: Sukumar Ghorai s-gho...@ti.com --- arch/arm/mach-omap2/board-3430sdp.c |2 +- arch/arm/mach-omap2/board

[PATCH RESEND v8 2/7] omap3: nand: configurable transfer type per board

2011-01-19 Thread Sukumar Ghorai
nand transfer type (sDMA, Polled, prefetch) can be select from board file, enabling all transfer type in driver, by default. this helps in multi-omap build and to select different transfer type for different board. Signed-off-by: Sukumar Ghorai s-gho...@ti.com --- arch/arm/plat-omap/include

[PATCH RESEND v8 5/7] omap3: nand: configurable fifo threshold to gain the throughput

2011-01-19 Thread Sukumar Ghorai
Configure the FIFO THREASHOLD value different for read and write to keep busy both filling and to drain out of FIFO at reading and writing. Signed-off-by: Vimal Singh vimalsi...@ti.com Signed-off-by: Sukumar Ghorai s-gho...@ti.com --- arch/arm/mach-omap2/gpmc.c | 11

[PATCH RESEND v8 4/7] omap3: nand: prefetch in irq mode support

2011-01-19 Thread Sukumar Ghorai
This patch enable prefetch-irq mode for nand transfer(read, write) Signed-off-by: Vimal Singh vimalsi...@ti.com Signed-off-by: Sukumar Ghorai s-gho...@ti.com --- arch/arm/mach-omap2/board-flash.c |2 + arch/arm/plat-omap/include/plat/nand.h |4 +- drivers/mtd/nand/omap2.c

[PATCH RESEND v8 3/7] omap: gpmc: enable irq mode in gpmc

2011-01-19 Thread Sukumar Ghorai
add support the irq mode in GPMC. gpmc_init() function move after omap_init_irq() as it has dependecy on irq. Signed-off-by: Sukumar Ghorai s-gho...@ti.com --- arch/arm/mach-omap2/board-2430sdp.c|1 + arch/arm/mach-omap2/board-3430sdp.c|1 + arch/arm/mach-omap2/board

[PATCH RESEND v8 7/7] omap3: nand: making ecc layout as compatible with romcode ecc

2011-01-19 Thread Sukumar Ghorai
with other tools. This patch does not enables this feature by default and need to pass from board file to enable for any board. Signed-off-by: Vimal Singh vimalsi...@ti.com Signed-off-by: Sukumar Ghorai s-gho...@ti.com --- arch/arm/plat-omap/include/plat/gpmc.h |2 + drivers/mtd/nand/omap2.c

[PATCH RESEND v8 6/7] omap3: nand: ecc layout select from board file

2011-01-19 Thread Sukumar Ghorai
This patch makes it possible to select sw or hw (different layout options) ecc scheme supported by omap nand driver. Signed-off-by: Vimal Singh vimalsi...@ti.com Signed-off-by: Sukumar Ghorai s-gho...@ti.com --- arch/arm/mach-omap2/board-flash.c |1 + arch/arm/plat-omap/include/plat

[PATCH] omap3: nand: bch ecc support added

2011-01-20 Thread Sukumar Ghorai
-archive.com/linux-omap@vger.kernel.org/msg42658.html Signed-off-by: Sukumar Ghorai s-gho...@ti.com --- arch/arm/mach-omap2/gpmc.c | 126 --- arch/arm/plat-omap/include/plat/gpmc.h |6 +- drivers/mtd/nand/Makefile |1 + drivers/mtd/nand/omap2.c

[PATCH v9 0/7] nand prefetch-irq support and ecc layout chanage

2011-01-28 Thread Sukumar Ghorai
@vger.kernel.org/msg31471.html v1: http://www.mail-archive.com/linux-omap@vger.kernel.org/msg2.html Sukumar Ghorai (7): omap3630: nand: fix device size to work in polled mode omap3: nand: configurable transfer type per board omap: gpmc: enable irq mode in gpmc omap3: nand: prefetch in irq mode

[PATCH v9 1/7] omap3630: nand: fix device size to work in polled mode

2011-01-28 Thread Sukumar Ghorai
zoom3 and 3630-sdp having the x16 nand device. This patch configure gpmc as x16 and select the currect function in driver for polled mode (without prefetch enable) transfer. Signed-off-by: Sukumar Ghorai s-gho...@ti.com --- arch/arm/mach-omap2/board-3430sdp.c |2 +- arch/arm/mach-omap2/board

[PATCH v9 2/7] omap3: nand: configurable transfer type per board

2011-01-28 Thread Sukumar Ghorai
nand transfer type (sDMA, Polled, prefetch) can be select from board file, enabling all transfer type in driver, by default. this helps in multi-omap build and to select different transfer type for different board. Signed-off-by: Sukumar Ghorai s-gho...@ti.com --- arch/arm/plat-omap/include

[PATCH v9 3/7] omap: gpmc: enable irq mode in gpmc

2011-01-28 Thread Sukumar Ghorai
add support the irq mode in GPMC. gpmc_init() function move after omap_init_irq() as it has dependecy on irq. Signed-off-by: Sukumar Ghorai s-gho...@ti.com --- arch/arm/mach-omap2/gpmc.c | 45 +-- arch/arm/mach-omap2/io.c |2 - arch/arm

[PATCH v9 6/7] omap3: nand: ecc layout select from board file

2011-01-28 Thread Sukumar Ghorai
This patch makes it possible to select sw or hw (different layout options) ecc scheme supported by omap nand driver. Signed-off-by: Vimal Singh vimalsi...@ti.com Signed-off-by: Sukumar Ghorai s-gho...@ti.com --- arch/arm/mach-omap2/board-flash.c |1 + arch/arm/plat-omap/include/plat

[PATCH v9 7/7] omap3: nand: making ecc layout as compatible with romcode ecc

2011-01-28 Thread Sukumar Ghorai
with other tools. This patch does not enables this feature by default and need to pass from board file to enable for any board. Signed-off-by: Vimal Singh vimalsi...@ti.com Signed-off-by: Sukumar Ghorai s-gho...@ti.com --- arch/arm/plat-omap/include/plat/gpmc.h |2 + drivers/mtd/nand/omap2.c

[PATCH v9 5/7] omap3: nand: configurable fifo threshold to gain the throughput

2011-01-28 Thread Sukumar Ghorai
Configure the FIFO THREASHOLD value different for read and write to keep busy both filling and to drain out of FIFO at reading and writing. Signed-off-by: Vimal Singh vimalsi...@ti.com Signed-off-by: Sukumar Ghorai s-gho...@ti.com --- arch/arm/mach-omap2/gpmc.c | 11

[PATCH v9 4/7] omap3: nand: prefetch in irq mode support

2011-01-28 Thread Sukumar Ghorai
This patch enable prefetch-irq mode for nand transfer(read, write) Signed-off-by: Vimal Singh vimalsi...@ti.com Signed-off-by: Sukumar Ghorai s-gho...@ti.com --- arch/arm/mach-omap2/board-flash.c |2 + arch/arm/plat-omap/include/plat/nand.h |4 +- drivers/mtd/nand/omap2.c

[PATCH 0/2] OMAP: Flash device support 3630 sdp board

2010-04-06 Thread Sukumar Ghorai
Sukumar Ghorai (2): OMAP3630SDP: Add support for Flash OMAP3630SDP: enable Flash device support arch/arm/mach-omap2/Makefile |1 + arch/arm/mach-omap2/board-3630sdp.c | 111 + arch/arm/mach-omap2/board-sdp-flash.c |2 + arch/arm/configs

[PATCH 1/2] OMAP3630SDP: Add support for Flash

2010-04-06 Thread Sukumar Ghorai
Add support for NAND, OneNAND, NOR on OMAP 3630-sdp board. Signed-off-by: Sukumar Ghorai s-gho...@ti.com --- --- arch/arm/mach-omap2/Makefile |1 + arch/arm/mach-omap2/board-3630sdp.c | 111 + arch/arm/mach-omap2/board-sdp-flash.c |2 + 3 files

[PATCH 2/2] OMAP3630SDP: enable Flash device support

2010-04-06 Thread Sukumar Ghorai
update config file to support for NAND, OneNAND, NOR on OMAP 3630-sdp board. Signed-off-by: Sukumar Ghorai s-gho...@ti.com --- --- arch/arm/configs/omap_3630sdp_defconfig | 77 ++- 1 files changed, 76 insertions(+), 1 deletions(-) diff --git a/arch/arm/configs

[PATCH] nand support on omap3 boards

2010-04-13 Thread Sukumar Ghorai
The following set of patches applies on top of the Tony's master branch. And these are the patches required to enable nand (nor and onenand for sdp only) for different platform. Sukumar Ghorai (3): OMAP: ZOOM: Introducing 'board-zoom-flash.c' omap3: add support for NAND on zoom2

[PATCH v3 3/8] omap3: add support for NAND on zoom3 board

2010-04-13 Thread Sukumar Ghorai
patch adds NAND support to zoom3 board. Signed-off-by: SUkumar Ghorai s-gho...@ti.com Signed-off-by: Vimal Singh vimalsi...@ti.com --- arch/arm/mach-omap2/Makefile |1 + arch/arm/mach-omap2/board-zoom3.c | 48 + 2 files changed, 49 insertions(+), 0

[PATCH 7/8] zoom2: enable NAND support

2010-04-13 Thread Sukumar Ghorai
update config file to support for NAND in zoom2. Signed-off-by: Sukumar Ghorai s-gho...@ti.com --- arch/arm/configs/omap_zoom2_defconfig | 90 - 1 files changed, 89 insertions(+), 1 deletions(-) diff --git a/arch/arm/configs/omap_zoom2_defconfig b/arch/arm

[PATCH v2 5/8] omap-3630-sdp: enable Flash device support

2010-04-13 Thread Sukumar Ghorai
update config file to support for NAND, OneNAND, NOR on omap 3630-sdp board. Signed-off-by: Sukumar Ghorai s-gho...@ti.com --- arch/arm/configs/omap_3630sdp_defconfig | 77 ++- 1 files changed, 76 insertions(+), 1 deletions(-) diff --git a/arch/arm/configs

[PATCH] omap: NAND: ecc layout select from board file

2010-04-13 Thread Sukumar Ghorai
This patch makes it possible to select sw or hw (different layout options) ecc scheme supported by omap nand driver. And hw ecc layout selected for sdp and zoom boards, by default. Signed-off-by: Sukumar Ghorai s-gho...@ti.com Signed-off-by: Vimal Singh vimalsi...@ti.com --- arch

[PATCH] omap: NAND: Making ecc layout as compatible with romcode ecc

2010-04-13 Thread Sukumar Ghorai
. This enables to flash x-load, u-boot, kernel, FS images from kernel itself and compatiable with other tools. Signed-off-by: Sukumar Ghorai s-gho...@ti.com Signed-off-by: Vimal Singh vimalsi...@ti.com --- arch/arm/mach-omap2/board-sdp-flash.c |2 +- arch/arm/mach-omap2/board-zoom-flash.c

[PATCH] omap-3630 NAND: enable NAND io in prefetch-irq mode

2010-04-13 Thread Sukumar Ghorai
Update config file to enable NAND in prefetch IRQ mode for ZOOM3 and 3630SDP . Signed-off-by: Sukumar Ghorai s-gho...@ti.com --- arch/arm/configs/omap_3630sdp_defconfig |1 + arch/arm/configs/omap_zoom3_defconfig |1 + 2 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch

[PATCH] omap3: NAND Prefetch in IRQ mode support

2010-04-13 Thread Sukumar Ghorai
This patch enable prefetch-irq mode for NAND. Signed-off-by: Vimal Singh vimalsi...@ti.com Signed-off-by: Sukumar Ghorai s-gho...@ti.com --- arch/arm/mach-omap2/board-sdp-flash.c |1 + arch/arm/mach-omap2/board-zoom-flash.c |1 + arch/arm/plat-omap/include/plat/nand.h |1 + drivers

[PATCH v2 6/8] omap3: add support for NAND on LDP board

2010-04-13 Thread Sukumar Ghorai
patch adds NAND support to LDP board. Signed-off-by: Vimal Singh vimalsi...@ti.com Signed-off-by: Sukumar Ghorai s-gho...@ti.com --- arch/arm/mach-omap2/Makefile|1 + arch/arm/mach-omap2/board-ldp.c | 41 +++ 2 files changed, 42 insertions(+), 0

[PATCH v3 1/8] omap3: zoom: Introducing 'board-zoom-flash.c'

2010-04-13 Thread Sukumar Ghorai
...@ti.com Signed-off-by: Sukumar Ghorai s-gho...@ti.com --- arch/arm/mach-omap2/board-zoom-flash.c| 82 + arch/arm/mach-omap2/include/mach/board-zoom.h | 11 +++ 2 files changed, 93 insertions(+), 0 deletions(-) create mode 100644 arch/arm/mach-omap2/board-zoom-flash.c

[PATCH v2 4/8] omap-3630-sdp : Add support for Flash

2010-04-13 Thread Sukumar Ghorai
add support for NAND, OneNAND, NOR on omap 3630-sdp board. Signed-off-by: Sukumar Ghorai s-gho...@ti.com --- arch/arm/mach-omap2/Makefile |1 + arch/arm/mach-omap2/board-3630sdp.c | 110 + arch/arm/mach-omap2/board-sdp-flash.c |2 + 3 files

[PATCH 8/8] zoom3: enable NAND support

2010-04-13 Thread Sukumar Ghorai
update config file to support for NAND on zoom3 board. Signed-off-by: Sukumar Ghorai s-gho...@ti.com --- arch/arm/configs/omap_zoom3_defconfig | 90 - 1 files changed, 89 insertions(+), 1 deletions(-) diff --git a/arch/arm/configs/omap_zoom3_defconfig b/arch

[PATCH] nand support on omap3 boards

2010-04-13 Thread Sukumar Ghorai
The following set of patches applies on top of the Tony's master branch. And dependency on following series of patch - Sukumar Ghorai (3): omap3: GPMC register definition at common location omap3: NAND Prefetch in IRQ mode support omap-3630 NAND: enable NAND io in prefetch-irq mode

[PATCH 8/8] omap3: GPMC register definition at common location

2010-04-13 Thread Sukumar Ghorai
GPMC register definition move to common place in gpmc.h. Signed-off-by: Sukumar Ghorai s-gho...@ti.com Signed-off-by: Vimal Singh vimalsi...@ti.com --- arch/arm/mach-omap2/gpmc.c | 38 +-- arch/arm/plat-omap/include/plat/gpmc.h | 36

[PATCH v3 2/8] omap3: add support for NAND on zoom2 board

2010-04-13 Thread Sukumar Ghorai
This patch adds NAND support to ZOOM2 board. This uses 'board-zoom-flash.c' for NAND initialization. Signed-off-by: Sukumar Ghorai s-gho...@ti.com Signed-off-by: Vimal Singh vimalsi...@ti.com --- arch/arm/mach-omap2/Makefile |1 + arch/arm/mach-omap2/board-zoom2.c | 49

[PATCH] nand support on omap3 boards

2010-04-13 Thread Sukumar Ghorai
The following set of patches applies on top of the Tony's master branch. And these are the patches required to enable nand (nor and onenand for sdp only) for different platform. Sukumar Ghorai (3): OMAP: ZOOM: Introducing 'board-zoom-flash.c' omap3: add support for NAND on zoom2

[PATCH 0/6] nand prefetch-irq support and ecc layout chanage

2010-04-16 Thread Sukumar Ghorai
/92224/ https://patchwork.kernel.org/patch/9/ https://patchwork.kernel.org/patch/92223/ https://patchwork.kernel.org/patch/92229/ Sukumar Ghorai (6): omap: NAND: Making ecc layout as compatible with romcode ecc omap: NAND: ecc layout select from board

[PATCH 1/6] omap3: GPMC register definition at common location

2010-04-16 Thread Sukumar Ghorai
GPMC register definition move to common place in gpmc.h. Signed-off-by: Sukumar Ghorai s-gho...@ti.com Signed-off-by: Vimal Singh vimalsi...@ti.com --- arch/arm/mach-omap2/gpmc.c | 38 +-- arch/arm/plat-omap/include/plat/gpmc.h | 36

[PATCH 2/6] omap3: NAND Prefetch in IRQ mode support

2010-04-16 Thread Sukumar Ghorai
This patch enable prefetch-irq mode for NAND. Signed-off-by: Vimal Singh vimalsi...@ti.com Signed-off-by: Sukumar Ghorai s-gho...@ti.com --- arch/arm/mach-omap2/board-sdp-flash.c |1 + arch/arm/mach-omap2/board-zoom-flash.c |1 + arch/arm/plat-omap/include/plat/nand.h |1 + drivers

[PATCH 3/6] OMAP NAND: configurable fifo threshold to gain the throughput

2010-04-16 Thread Sukumar Ghorai
Configure the FIFO THREASHOLD value to 50% (32 bytes) to keep busy both filling and to drain out of FIFO at reading and writing. Signed-off-by: Sukumar Ghorai s-gho...@ti.com Signed-off-by: Vimal Singh vimalsi...@ti.com --- arch/arm/mach-omap2/gpmc.c |9 ++--- arch/arm

[PATCH 4/6] omap-3630 NAND: enable NAND io in prefetch-irq mode

2010-04-16 Thread Sukumar Ghorai
Update config file to enable NAND in prefetch IRQ mode for ZOOM3 and 3630SDP . Signed-off-by: Sukumar Ghorai s-gho...@ti.com --- arch/arm/configs/omap_3630sdp_defconfig |1 + arch/arm/configs/omap_zoom3_defconfig |1 + 2 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch

[PATCH 5/6] omap: NAND: ecc layout select from board file

2010-04-16 Thread Sukumar Ghorai
This patch makes it possible to select sw or hw (different layout options) ecc scheme supported by omap nand driver. And hw ecc layout selected for sdp and zoom boards, by default. Signed-off-by: Sukumar Ghorai s-gho...@ti.com Signed-off-by: Vimal Singh vimalsi...@ti.com --- arch

[PATCH 6/6] omap: NAND: Making ecc layout as compatible with romcode ecc

2010-04-16 Thread Sukumar Ghorai
. This enables to flash x-load, u-boot, kernel, FS images from kernel itself and compatiable with other tools. Signed-off-by: Sukumar Ghorai s-gho...@ti.com --- arch/arm/mach-omap2/board-sdp-flash.c |2 +- arch/arm/mach-omap2/board-zoom-flash.c |2 +- drivers/mtd/nand/omap2.c

[PATCH 1/3] omap3: GPMC register definition at common location

2010-05-12 Thread Sukumar Ghorai
GPMC register definition move to common place in gpmc.h. Signed-off-by: Sukumar Ghorai s-gho...@ti.com --- arch/arm/mach-omap2/gpmc.c | 38 +-- arch/arm/plat-omap/include/plat/gpmc.h | 36 +++-- drivers/mtd/nand/omap2.c

[PATCH 3/3] omap3 nand: fix issue in board file to detect the nand

2010-05-12 Thread Sukumar Ghorai
Board file modified to pass the GMPC phys_base address to nand driver. This is required to adopt the _prob function as in omap2.c Signed-off-by: Sukumar Ghorai s-gho...@ti.com --- arch/arm/mach-omap2/board-cm-t35.c | 16 +--- arch/arm/mach-omap2/board-devkit8000.c

[PATCH 0/3] omap3 nand: cleanup exiting platform related code

2010-05-12 Thread Sukumar Ghorai
GPMC_CS0_BASE needs to go from the board files Passing hardcoded GPMC virtual addressess is sure way to mess up things. This should all become unnecessary once the NAND drivers stops messing with the GPMC registers directly. Sukumar Ghorai (3): omap3: GPMC register

[PATCH 2/3] omap3 nand: cleanup for not to use GPMC virtual address

2010-05-12 Thread Sukumar Ghorai
Necessary function added in GPMC module and used by nand driver. This is for not to use GPMC address directly from nand driver. Also it was passing GPMC base address from board files and that is removed. Signed-off-by: Sukumar Ghorai s-gho...@ti.com --- arch/arm/mach-omap2/board-cm-t35.c

[PATCH v2 0/2] omap3 nand: cleanup exiting platform related code

2010-05-14 Thread Sukumar Ghorai
-omap@vger.kernel.org/msg28164.html Sukumar Ghorai (2): omap3 nand: cleanup for not to use GPMC virtual address omap3 nand: fix issue in board file to detect the nand arch/arm/mach-omap2/board-cm-t35.c | 20 +--- arch/arm/mach-omap2/board-devkit8000.c | 25 +--- arch

[PATCH v2 2/2] omap3 nand: fix issue in board file to detect the nand

2010-05-14 Thread Sukumar Ghorai
Board file modified to pass the GMPC phys_base address to nand driver. This is required to adopt the _prob function as in omap2.c Signed-off-by: Sukumar Ghorai s-gho...@ti.com --- arch/arm/mach-omap2/board-cm-t35.c | 16 +--- arch/arm/mach-omap2/board-devkit8000.c

[PATCH v2 1/2] omap3 nand: cleanup for not to use GPMC virtual address

2010-05-14 Thread Sukumar Ghorai
Necessary function added in GPMC module and used by nand driver. This is for not to use GPMC address directly from nand driver. Also it was passing GPMC base address from board files and that is removed. Signed-off-by: Sukumar Ghorai s-gho...@ti.com --- arch/arm/mach-omap2/board-cm-t35.c

[PATCH v3 0/3] omap3 nand: cleanup exiting platform related code

2010-05-18 Thread Sukumar Ghorai
-omap@vger.kernel.org/msg28164.html Additionally, it was needed to implement more functions for the platform init code to use. Sukumar Ghorai (3): omap3 gpmc: functionality enhancement omap3 nand: cleanup virtual address usages omap3 nand: fix issue in board

[PATCH v3 1/3] omap3 gpmc: functionality enhancement

2010-05-18 Thread Sukumar Ghorai
few functions added in gpmc module and to be used by other drivers like NAND. E.g.: - ioctl function - ecc functions Signed-off-by: Sukumar Ghorai s-gho...@ti.com --- arch/arm/mach-omap2/gpmc.c | 246 +++- arch/arm/plat-omap/include/plat/gpmc.h

[PATCH v3 3/3] omap3 nand: fix issue in board file to detect nand

2010-05-18 Thread Sukumar Ghorai
Board file modified for not to provide gpmc phys_base address to nand driver. The gpmc_nand_init funciton is now used to detect the nand and required to adopt _prob function as in nand/omap2.c Signed-off-by: Sukumar Ghorai s-gho...@ti.com --- arch/arm/mach-omap2/board-cm-t35.c | 20

[PATCH v3 2/3] omap3 nand: cleanup virtual address usages

2010-05-18 Thread Sukumar Ghorai
This patch removes direct reference of gpmc address from generic nand platform code. Nand platform code now uses wrapper functions which are implemented in gpmc module. Signed-off-by: Sukumar Ghorai s-gho...@ti.com --- arch/arm/mach-omap2/gpmc-nand.c| 39 ++ arch/arm/mach-omap2

[PATCH v4 0/3] omap3 nand: cleanup exiting platform related code

2010-05-27 Thread Sukumar Ghorai
, it was needed to implement more functions for the platform init code to use. Sukumar Ghorai (3): omap3 gpmc: functionality enhancement omap3 nand: cleanup virtual address usages omap3 nand: fix issue in board file to detect nand arch/arm/mach-omap2/board-cm-t35.c

[PATCH v4 1/3] omap3 gpmc: functionality enhancement

2010-05-27 Thread Sukumar Ghorai
few functions added in gpmc module and to be used by other drivers like NAND. E.g.: - ioctl function - ecc functions Signed-off-by: Sukumar Ghorai s-gho...@ti.com --- arch/arm/mach-omap2/gpmc.c | 219 ++-- arch/arm/plat-omap/include/plat/gpmc.h

[PATCH v4 3/3] omap3 nand: fix issue in board file to detect nand

2010-05-27 Thread Sukumar Ghorai
Board file modified for not to provide gpmc phys_base address to nand driver. The gpmc_nand_init funciton is now used to detect the nand and required to adopt _prob function as in nand/omap2.c Signed-off-by: Sukumar Ghorai s-gho...@ti.com --- arch/arm/mach-omap2/board-cm-t35.c | 20

  1   2   >