1. 23 2月, 2014 1 次提交
    • I
      ARM: davinci: aemif: get rid of davinci-nand driver dependency on aemif · 67f5185c
      Ivan Khoronzhuk 提交于
      The problem that the set timings code contains the call of Davinci
      platform function davinci_aemif_setup_timing() which is not
      accessible if kernel is built for another platform like Keystone.
      
      The Keysone platform is going to use TI AEMIF driver.
      If TI AEMIF is used we don't need to set timings and bus width.
      It is done by AEMIF driver.
      
      To get rid of davinci-nand driver dependency on aemif platform code
      we moved aemif code to davinci platform.
      
      The platform AEMIF code (aemif.c) has to be removed once Davinci
      will be converted to DT and use ti-aemif.c driver.
      Acked-by: NBrian Norris <computersforpeace@gmail.com>
      Signed-off-by: NIvan Khoronzhuk <ivan.khoronzhuk@ti.com>
      [nsekhar@ti.com: fixed checkpatch error and a build breakage due to
      		 missing include, rebased onto l2-mtd/master]
      Signed-off-by: NSekhar Nori <nsekhar@ti.com>
      67f5185c
  2. 30 9月, 2013 1 次提交
  3. 22 8月, 2013 1 次提交
  4. 03 1月, 2013 1 次提交
    • V
      ARM: davinci: da8xx_register_spi() should not register SPI board info · 0273612c
      Vivien Didelot 提交于
      Without this patch, da8xx_register_spi() registers the SPI board info,
      the SPI controller, and sets its number of chipselect to the size of the
      static spi_board_info array. This is bad because a SPI board info may
      declare devices for different SPI buses, and because other code can also
      call spi_register_board_info() (e.g. a daughter board might provide
      additional SPI devices).
      
      This patch removes the spi_register_board_info() call from
      da8xx_register_spi(), renames this last one to da8xx_register_spi_bus()
      to be more explicit, takes the number of chipselect as a function
      parameter, and updates the impacted board-da8{3,5}0-evm.c, and
      board-mityomapl138.c files accordingly. It also sets the SPI platform
      data static, as it doesn't need to be exported.
      Signed-off-by: NVivien Didelot <vivien.didelot@savoirfairelinux.com>
      [nsekhar@ti.com: fixed conflicts with v3.7-rc7, converted to use pr_warn(),
      modified print messages to use __func__]
      Signed-off-by: NSekhar Nori <nsekhar@ti.com>
      0273612c
  5. 25 12月, 2012 1 次提交
  6. 14 9月, 2012 1 次提交
  7. 05 5月, 2012 1 次提交
  8. 05 1月, 2012 1 次提交
  9. 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
  10. 22 8月, 2011 1 次提交
  11. 19 7月, 2011 1 次提交
  12. 22 6月, 2011 1 次提交
    • A
      net: remove mm.h inclusion from netdevice.h · b7f080cf
      Alexey Dobriyan 提交于
      Remove linux/mm.h inclusion from netdevice.h -- it's unused (I've checked manually).
      
      To prevent mm.h inclusion via other channels also extract "enum dma_data_direction"
      definition into separate header. This tiny piece is what gluing netdevice.h with mm.h
      via "netdevice.h => dmaengine.h => dma-mapping.h => scatterlist.h => mm.h".
      Removal of mm.h from scatterlist.h was tried and was found not feasible
      on most archs, so the link was cutoff earlier.
      
      Hope people are OK with tiny include file.
      
      Note, that mm_types.h is still dragged in, but it is a separate story.
      Signed-off-by: NAlexey Dobriyan <adobriyan@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      b7f080cf
  13. 25 4月, 2011 2 次提交
  14. 12 3月, 2011 1 次提交
  15. 01 3月, 2011 1 次提交
  16. 22 10月, 2010 1 次提交
  17. 12 10月, 2010 1 次提交
  18. 24 9月, 2010 4 次提交