Skip to content
Snippets Groups Projects
  1. Nov 27, 2014
    • Marek Vasut's avatar
      mtd: nand: s3c: Unify the register definition and naming · b19157bf
      Marek Vasut authored
      
      Merge struct s3c2410_nand and struct s3c2440_nand into one unified
      struct s3c24x0_nand. While at it, fix up and rename the functions
      to retrieve the NAND base address and fix up the s3c NAND driver to
      reflect this change.
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Kyungmin Park <kyungmin.park@samsung.com>
      Cc: Lukasz Majewski <l.majewski@samsung.com>
      Cc: Minkyu Kang <mk7.kang@samsung.com>
      Cc: Scott Wood <scottwood@freescale.com>
      Cc: Vladimir Zapolskiy <vz@mleia.com>
      b19157bf
    • Sanchayan Maity's avatar
      mtd/nand/vf610_nfc: Disable subpage writes · 22604573
      Sanchayan Maity authored
      
      This patch disables subpage writes for vf610_nfc nand
      driver. This is required, as without this fix, writing
      unaligned u-boot images with DFU results in a hang.
      Trying to write unalgined binary images also results
      in a hang, without disabling subpage writes.
      
      Patch has been tested on a Colibri VF61 module.
      
      Signed-off-by: default avatarSanchayan Maity <maitysanchayan@gmail.com>
      22604573
    • Masahiro Yamada's avatar
      mtd: denali: set some registers after nand_scan_ident() · f09eb52b
      Masahiro Yamada authored
      
      Some but not all of implementations of the Denali NAND controller
      have hardware circuits to detect the device parameters such as
      page_size, erase_size, etc.  Even on those SoCs with such hardware
      supported, the hardware is known to detect wrong parameters for some
      nasty (almost buggy) NAND devices.  The device parameters detected
      during nand_scan_ident() are more trustworthy.
      
      This commit sets some hardware registers to mtd->pagesize,
      mtd->oobsize, etc. in the code between nand_scan_ident() and
      nand_scan_tail().
      
      Signed-off-by: default avatarMasahiro Yamada <yamada.m@jp.panasonic.com>
      Cc: Scott Wood <scottwood@freescale.com>
      Cc: Chin Liang See <clsee@altera.com>
      f09eb52b
    • Masahiro Yamada's avatar
      mtd: denali: use CONFIG_SYS_NAND_SELF_INIT · 65e4145a
      Masahiro Yamada authored
      
      Some variants of the Denali NAND controller need some registers
      set up based on the device information that has been detected during
      nand_scan_ident().
      
      CONFIG_SYS_NAND_SELF_INIT has to be defined to insert code between
      nand_scan_ident() and nand_scan_tail().  It is also helpful to reduce
      the difference between this driver and its Linux counterpart because
      this driver was ported from Linux.  Moreover, doc/README.nand recommends
      to use CONFIG_SYS_NAND_SELF_INIT.
      
      Signed-off-by: default avatarMasahiro Yamada <yamada.m@jp.panasonic.com>
      Cc: Scott Wood <scottwood@freescale.com>
      Cc: Chin Liang See <clsee@altera.com>
      65e4145a
    • Rostislav Lisovy's avatar
      nand: reinstate lazy bad block scanning · 35c204d8
      Rostislav Lisovy authored
      
      Commit ff94bc40
      ("mtd, ubi, ubifs: resync with Linux-3.14")
      accidentally reverted part of the commit
      13f0fd94
      ("NAND: Scan bad blocks lazily.").
      
      Reinstate the change as by commit
      fb49454b
      ("nand: reinstate lazy bad block scanning")
      
      Signed-off-by: default avatarRostislav Lisovy <lisovy@merica.cz>
      Acked-by: default avatarHeiko Schocher <hs@denx.de>
      35c204d8
  2. Nov 26, 2014
  3. Nov 25, 2014
  4. Nov 24, 2014
Loading