Skip to contentSkip to conversation

OMAP: NAND: support flashes on sdp boards

PATCH Superseded Vimal Singh 1 participant 2 messages Jan 13, 2010 – Feb 8, 2010 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

cover OMAP: NAND: support flashes on sdp boards

Quoted 1 line

From 4fbddd880c7a0da61fb66ae1d2c2553e3fbc82cb Mon Sep 17 00:00:00 2001

From: Vimal Singh <[email protected]>
Date: Tue, 12 Jan 2010 18:14:14 +0530
Subject: [PATCH] OMAP: NAND: support flashes on sdp boards

1st patch introduces 'gpmc-nand.c' for generic gpmc stuffs. Which may be used by any omap board.

2nd and 3rd patches are to show up how to use 'gpmc-nand.c' with example of 3430sdp board.

Vimal Singh (3):
Introducing 'gpmc-nand.c' for GPMC specific NAND init
OMAP: SDP: Introducing 'board-sdp-flash.c' for flash init
OMAP3: Add support for flash on 3430SDP board

 arch/arm/mach-omap2/Makefile                 |    4 +
 arch/arm/mach-omap2/board-3430sdp.c          |  111 ++++++++++
 arch/arm/mach-omap2/board-sdp-flash.c        |  295 ++++++++++++++++++++++++++
 arch/arm/mach-omap2/gpmc-nand.c              |  139 ++++++++++++
 arch/arm/mach-omap2/include/mach/board-sdp.h |   22 ++
 arch/arm/plat-omap/include/plat/gpmc.h       |    2 +
 arch/arm/plat-omap/include/plat/nand.h       |    8 +
 drivers/mtd/nand/omap2.c                     |   35 +---
 8 files changed, 585 insertions(+), 31 deletions(-)
 create mode 100644 arch/arm/mach-omap2/board-sdp-flash.c
 create mode 100644 arch/arm/mach-omap2/gpmc-nand.c
 create mode 100644 arch/arm/mach-omap2/include/mach/board-sdp.h
#1 lore raw

v2 cover OMAP: NAND: support flashes on sdp boards

Quoted 4 lines · Vimal Singh

From 4fbddd880c7a0da61fb66ae1d2c2553e3fbc82cb Mon Sep 17 00:00:00 2001
From: Vimal Singh <[email protected]>
Date: Tue, 12 Jan 2010 18:14:14 +0530
Subject: [PATCH] OMAP: NAND: support flashes on sdp boards

Reposting this patch set again after fixes in 1st patch as per comments from Tony:
- Removing 'nand_base' from functions specified and correcting prototype in header file too
- calling gpmc_cs_request first

Rest of the patches in the series are untouched and just have been re-based on LO master branch.

--
Vimal

Quoted 1 line

From d3e5ee6d8a6449aee01fbc93313201a4674f5577 Mon Sep 17 00:00:00 2001

From: Vimal Singh <[email protected]>
Date: Mon, 8 Feb 2010 05:19:20 +0530
Subject: [PATCH] OMAP: NAND: support flashes on sdp boards

1st patch introduces 'gpmc-nand.c' for generic gpmc stuffs. Which may be used by any omap board.

2nd and 3rd patches are to show up how to use 'gpmc-nand.c' with example of 3430sdp board.

Vimal Singh (3):
Introducing 'gpmc-nand.c' for GPMC specific NAND init
OMAP: SDP: Introducing 'board-sdp-flash.c' for flash init
OMAP3: Add support for flash on 3430SDP board

 arch/arm/mach-omap2/Makefile                 |    4 +
 arch/arm/mach-omap2/board-3430sdp.c          |  111 ++++++++++
 arch/arm/mach-omap2/board-sdp-flash.c        |  295 ++++++++++++++++++++++++++
 arch/arm/mach-omap2/gpmc-nand.c              |  139 ++++++++++++
 arch/arm/mach-omap2/include/mach/board-sdp.h |   22 ++
 arch/arm/plat-omap/include/plat/gpmc.h       |    2 +
 arch/arm/plat-omap/include/plat/nand.h       |   10 +-
 drivers/mtd/nand/omap2.c                     |   35 +---
 8 files changed, 586 insertions(+), 32 deletions(-)
 create mode 100644 arch/arm/mach-omap2/board-sdp-flash.c
 create mode 100644 arch/arm/mach-omap2/gpmc-nand.c
 create mode 100644 arch/arm/mach-omap2/include/mach/board-sdp.h