public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH V5 RESEND 0/3] mtd/NAND: Support for FSMC controller
@ 2012-05-24  5:28 Amit Virdi
  2012-05-24  5:28 ` [U-Boot] [PATCH V5 RESEND 1/3] mtd/NAND: Add FSMC driver support Amit Virdi
                   ` (3 more replies)
  0 siblings, 4 replies; 12+ messages in thread
From: Amit Virdi @ 2012-05-24  5:28 UTC (permalink / raw)
  To: u-boot

This patchset adds support for ST's FSMC controller. In the current u-boot, a
SPEAr specific driver exists for FSMC controller.  This patchset adds a full
fledged driver that can be used across multiple platforms and removes the
obsolete SPEAr specific driver.

V4 -> V5
 - Dropped the patch that defined change_bit as wrapper over __change_bit and,
   instead, defined logic to correct bit errors without using __change_bit

V3 -> V4
 - Removed local_irq_save and local_irq_restore calls from change_bit wrapper
 - Report the total bit flips, including that of ECC, to the upper layers
 - Replace change_bit calls for err_idx's 0th and 1st bit with "^= 3" operation

V2 -> V3
 - Implemented timeout during hardware ecc read
 - Used __attribute__ ((aligned(2))) instead of using array of U16
 - Removed unnecessary enum

V1 -> V2
 - Defined CONFIG_SYS_NAND_SELF_INIT and did the related changes
 - Modified the error index calculation process
 - Modified newly erased page read algorithm
 - Initialized the badblockbits index to 7
 - Improved fsmc_bch8_correct_data() implementation

Vipin KUMAR (3):
  mtd/NAND: Add FSMC driver support
  SPEAr: Configure FSMC driver for NAND interface
  mtd/NAND: Remove obsolete SPEAr specific NAND drivers

 arch/arm/include/asm/arch-spear/hardware.h |    8 +-
 arch/arm/include/asm/arch-spear/spr_nand.h |   57 ----
 board/spear/spear300/spear300.c            |   14 +-
 board/spear/spear310/spear310.c            |   14 +-
 board/spear/spear320/spear320.c            |   13 +-
 board/spear/spear600/spear600.c            |   14 +-
 drivers/mtd/nand/Makefile                  |    1 +
 drivers/mtd/nand/fsmc_nand.c               |  487 ++++++++++++++++++++++++++++
 drivers/mtd/nand/spr_nand.c                |  124 -------
 include/configs/spear-common.h             |    3 +-
 include/configs/spear3xx.h                 |    4 +
 include/configs/spear6xx.h                 |    3 +
 include/linux/mtd/fsmc_nand.h              |  101 ++++++
 13 files changed, 638 insertions(+), 205 deletions(-)
 delete mode 100644 arch/arm/include/asm/arch-spear/spr_nand.h
 create mode 100644 drivers/mtd/nand/fsmc_nand.c
 delete mode 100644 drivers/mtd/nand/spr_nand.c
 create mode 100644 include/linux/mtd/fsmc_nand.h

-- 
1.7.2.2

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2012-06-01  5:58 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-24  5:28 [U-Boot] [PATCH V5 RESEND 0/3] mtd/NAND: Support for FSMC controller Amit Virdi
2012-05-24  5:28 ` [U-Boot] [PATCH V5 RESEND 1/3] mtd/NAND: Add FSMC driver support Amit Virdi
2012-05-24 16:34   ` Vikram Narayanan
2012-05-25  9:18     ` Amit Virdi
2012-05-24  5:28 ` [U-Boot] [PATCH V5 RESEND 2/3] SPEAr: Configure FSMC driver for NAND interface Amit Virdi
2012-05-24  5:28 ` [U-Boot] [PATCH V5 RESEND 3/3] mtd/NAND: Remove obsolete SPEAr specific NAND drivers Amit Virdi
2012-05-25  1:58 ` [U-Boot] [PATCH V5 RESEND 0/3] mtd/NAND: Support for FSMC controller stefan at roese.nl
2012-05-31  7:04   ` Stefan Roese
2012-05-31 19:27     ` Scott Wood
2012-06-01  4:24       ` Amit Virdi
2012-06-01  5:58         ` Stefan Roese
2012-06-01  5:58       ` Stefan Roese

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox