1. 25 5月, 2020 3 次提交
  2. 24 5月, 2019 1 次提交
  3. 07 12月, 2018 2 次提交
  4. 03 10月, 2018 15 次提交
  5. 31 7月, 2018 1 次提交
  6. 20 7月, 2018 1 次提交
  7. 18 7月, 2018 2 次提交
  8. 02 5月, 2018 1 次提交
  9. 27 4月, 2018 1 次提交
    • S
      mtd: rawnand: davinci: don't acquire and enable clock · a8e3923a
      Sekhar Nori 提交于
      NAND itself is an asynchronous interface, it does not have any
      clock input. DaVinci NAND driver acquires clock for AEMIF
      (asynchronous external memory interface) which is an on-chip
      IP to which NAND is connected.
      
      The same clock is also enabled in AEMIF driver (either present
      drivers/memory or from machine code for some older platforms).
      AEMIF timing must be initialized before NAND can be accessed.
      This ensures that AEMIF clock is enabled too.
      
      Remove the superfluous clock acquisition and enable in DaVinci
      NAND driver.
      
      Tested on K2L, K2HK, K2E, DA850 EVM, DA850 LCDK in device-tree
      boot and DM644x EVM in legacy boot.
      Signed-off-by: NSekhar Nori <nsekhar@ti.com>
      Tested-by: NBartosz Golaszewski <bgolaszewski@baylibre.com>
      Signed-off-by: NBoris Brezillon <boris.brezillon@bootlin.com>
      a8e3923a
  10. 29 3月, 2018 1 次提交
  11. 16 2月, 2018 1 次提交
  12. 13 8月, 2017 1 次提交
  13. 15 5月, 2017 1 次提交
  14. 25 4月, 2017 1 次提交
  15. 10 9月, 2016 1 次提交
    • K
      mtd: nand: davinci: Reinitialize the HW ECC engine in 4bit hwctl · f6d7c1b5
      Karl Beldan 提交于
      This fixes subpage writes when using 4-bit HW ECC.
      
      There has been numerous reports about ECC errors with devices using this
      driver for a while.  Also the 4-bit ECC has been reported as broken with
      subpages in [1] and with 16 bits NANDs in the driver and in mach* board
      files both in mainline and in the vendor BSPs.
      
      What I saw with 4-bit ECC on a 16bits NAND (on an LCDK) which got me to
      try reinitializing the ECC engine:
      - R/W on whole pages properly generates/checks RS code
      - try writing the 1st subpage only of a blank page, the subpage is well
        written and the RS code properly generated, re-reading the same page
        the HW detects some ECC error, reading the same page again no ECC
        error is detected
      
      Note that the ECC engine is already reinitialized in the 1-bit case.
      
      Tested on my LCDK with UBI+UBIFS using subpages.
      This could potentially get rid of the issue workarounded in [1].
      
      [1] 28c015a9 ("mtd: davinci-nand: disable subpage write for keystone-nand")
      
      Fixes: 6a4123e5 ("mtd: nand: davinci_nand, 4-bit ECC for smallpage")
      Cc: <stable@vger.kernel.org>
      Signed-off-by: NKarl Beldan <kbeldan@baylibre.com>
      Acked-by: NBoris Brezillon <boris.brezillon@free-electrons.com>
      Signed-off-by: NBrian Norris <computersforpeace@gmail.com>
      f6d7c1b5
  16. 06 5月, 2016 3 次提交
  17. 07 1月, 2016 2 次提交
  18. 19 12月, 2015 2 次提交