1. 14 Sep, 2012 1 commit
  2. 11 Sep, 2011 2 commits
    • Brian Norris's avatar
      mtd: nand: rename NAND_USE_FLASH_BBT · bb9ebd4e
      Brian Norris authored
      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: default avatarBrian Norris <computersforpeace@gmail.com>
      Signed-off-by: default avatarArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
      bb9ebd4e
    • Brian Norris's avatar
      mtd: nand: consolidate redundant flash-based BBT flags · a40f7341
      Brian Norris authored
      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: default avatarBrian Norris <computersforpeace@gmail.com>
      Signed-off-by: default avatarArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
      a40f7341
  3. 24 Sep, 2010 2 commits
    • Sekhar Nori's avatar
      nand: davinci: add support for timing configuration · a88dbc5b
      Sekhar Nori authored
      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: default avatarSekhar Nori <nsekhar@ti.com>
      Acked-by: default avatarKevin Hilman <khilman@deeprootsystems.com>
      Signed-off-by: default avatarArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
      a88dbc5b
    • Sekhar Nori's avatar
      davinci: add support for aemif timing configuration · 8060ef4d
      Sekhar Nori authored
      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: default avatarSekhar Nori <nsekhar@ti.com>
      Acked-by: default avatarKevin Hilman <khilman@deeprootsystems.com>
      Signed-off-by: default avatarKevin Hilman <khilman@deeprootsystems.com>
      8060ef4d
  4. 30 Nov, 2009 1 commit
  5. 05 Jun, 2009 1 commit
  6. 20 Mar, 2009 1 commit