1. 14 9月, 2012 1 次提交
  2. 11 9月, 2011 2 次提交
    • B
      mtd: nand: rename NAND_USE_FLASH_BBT · bb9ebd4e
      Brian Norris 提交于
      Recall the recently added prefix requirements:
       * "NAND_" for flags in nand.h, used in nand_chip.options
       * "NAND_BBT_" for flags in bbm.h, used in nand_chip.bbt_options
              or in nand_bbt_descr.options
      
      Thus, I am changing NAND_USE_FLASH_BBT to NAND_BBT_USE_FLASH.
      
      Again, this flag is found in bbm.h and so should NOT be used in the
      "nand_chip.options" field.
      Signed-off-by: NBrian Norris <computersforpeace@gmail.com>
      Signed-off-by: NArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
      bb9ebd4e
    • B
      mtd: nand: consolidate redundant flash-based BBT flags · a40f7341
      Brian Norris 提交于
      This patch works with the following three flags from two headers (nand.h
      and bbm.h):
        (1) NAND_USE_FLASH_BBT (nand.h)
        (2) NAND_USE_FLASH_BBT_NO_OOB (nand.h)
        (3) NAND_BBT_NO_OOB (bbm.h)
      
      These flags are all related and interdependent, yet they were in
      different headers. Flag (2) is simply the combination of (1) and (3) and
      can be eliminated.
      
      This patch accomplishes the following:
        * eliminate NAND_USE_FLASH_BBT_NO_OOB (i.e., flag (2))
        * move NAND_USE_FLASH_BBT (i.e., flag (1)) to bbm.h
      
      It's important to note that because (1) and (3) are now both found in
      bbm.h, they should NOT be used in the "nand_chip.options" field.
      
      I removed a small section from the mtdnand DocBook because it referes to
      NAND_USE_FLASH_BBT in nand.h, which has been moved to bbm.h.
      Signed-off-by: NBrian Norris <computersforpeace@gmail.com>
      Signed-off-by: NArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
      a40f7341
  3. 24 9月, 2010 2 次提交
    • S
      nand: davinci: add support for timing configuration · a88dbc5b
      Sekhar Nori 提交于
      This patch modifies the DaVinci NAND driver to use the
      new AEMIF timing setup API to configure the NAND access
      timings.
      
      Earlier, AEMIF configuration was being done as a special
      case for DM644x board, but now more boards emerge which have
      capability to boot for other media (SPI flash, NOR flash) and
      have the kernel access NAND flash. This means that kernel cannot
      always  depend on the bootloader to setup the NAND.
      
      Also, on platforms such as da850/omap-l138, the aemif input
      frequency changes as cpu frequency changes; necessiating
      re-calculation of timimg values as part of cpufreq transtitions.
      This patch forms the basis for adding that support.
      Signed-off-by: NSekhar Nori <nsekhar@ti.com>
      Acked-by: NKevin Hilman <khilman@deeprootsystems.com>
      Signed-off-by: NArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
      a88dbc5b
    • S
      davinci: add support for aemif timing configuration · 8060ef4d
      Sekhar Nori 提交于
      This patch adds support to configure the AEMIF interface
      with supplied timing values.
      
      Since this capability is useful both from NOR and NAND
      flashes, it is provided as a new interface and in a file
      of its own.
      
      AEMIF timing configuration is required in cases:
      
      1) Where the AEMIF clock rate can change at runtime (a side
         affect of cpu frequency change).
      
      2) Where U-Boot does not support NAND/NOR but supports other
         media like SPI Flash or MMC/SD and thus does not care about
         setting up the AEMIF timing for kernel to use.
      
      3) Where U-Boot just hasn't configured the timing values and
         cannot be upgraded because the box is already in the field.
      
      Since there is now a header file for AEMIF interface, the
      common (non-NAND specific) defines for AEMIF registers have
      been moved from nand.h into the newly created aemif.h
      Signed-off-by: NSekhar Nori <nsekhar@ti.com>
      Acked-by: NKevin Hilman <khilman@deeprootsystems.com>
      Signed-off-by: NKevin Hilman <khilman@deeprootsystems.com>
      8060ef4d
  4. 30 11月, 2009 1 次提交
  5. 06 6月, 2009 1 次提交
  6. 20 3月, 2009 1 次提交