On Tue, May 18, 2010 at 4:46 PM, Sukumar Ghorai s-gho...@ti.com wrote:
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
On Wed, May 19, 2010 at 10:54 PM, Ghorai, Sukumar s-gho...@ti.com wrote:
/* take care of subpage reads */
for (; len % 4 != 0; ) {
*buf++ = __raw_readb(info-nand.IO_ADDR_R);
len--;
}
- p = (u32 *) buf;
Above code had an issue,
* Vimal Singh vimal.neww...@gmail.com [100519 11:02]:
On Wed, May 19, 2010 at 10:54 PM, Ghorai, Sukumar s-gho...@ti.com wrote:
/* take care of subpage reads */
for (; len % 4 != 0; ) {
*buf++ = __raw_readb(info-nand.IO_ADDR_R);
len--;
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 ++