1. 27 Nov, 2014 3 commits
    • 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. 26 Nov, 2014 6 commits
  3. 25 Nov, 2014 15 commits
  4. 24 Nov, 2014 16 commits