1. 25 2月, 2012 2 次提交
  2. 05 1月, 2012 1 次提交
  3. 01 11月, 2011 1 次提交
  4. 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
  5. 22 8月, 2011 1 次提交
  6. 19 7月, 2011 1 次提交
  7. 15 3月, 2011 1 次提交
  8. 20 10月, 2010 1 次提交
    • N
      arm: remove machine_desc.io_pg_offst and .phys_io · 6451d778
      Nicolas Pitre 提交于
      Since we're now using addruart to establish the debug mapping, we can
      remove the io_pg_offst and phys_io members of struct machine_desc.
      
      The various declarations were removed using the following script:
      
        grep -rl MACHINE_START arch/arm | xargs \
        sed -i '/MACHINE_START/,/MACHINE_END/ { /\.\(phys_io\|io_pg_offst\)/d }'
      
      [ Initial patch was from Jeremy Kerr, example script from Russell King ]
      Signed-off-by: NNicolas Pitre <nicolas.pitre@linaro.org>
      Acked-by: Eric Miao <eric.miao at canonical.com>
      6451d778
  9. 24 9月, 2010 2 次提交
  10. 14 5月, 2010 1 次提交
    • C
      Davinci: aintc/cpintc - use ioremap() · bd808947
      Cyril Chemparathy 提交于
      This patch implements the following:
      
       - interrupt initialization uses ioremap() instead of passing a virtual address
         via davinci_soc_info.
      
       - machine definitions directly point to cp_intc_init() or davinci_irq_init()
      
       - davinci_intc_type and davinci_intc_base now get initialized in controller
         specific init functions instead of davinci_common_init()
      
       - minor fix in davinci_irq_init() to use intc_irq_num instead of
         DAVINCI_N_AINTC_IRQ
      Signed-off-by: NCyril Chemparathy <cyril@ti.com>
      Signed-off-by: NKevin Hilman <khilman@deeprootsystems.com>
      bd808947
  11. 07 5月, 2010 3 次提交
  12. 05 2月, 2010 1 次提交
  13. 07 1月, 2010 1 次提交
  14. 26 11月, 2009 2 次提交
  15. 17 9月, 2009 1 次提交
  16. 26 8月, 2009 3 次提交
  17. 26 7月, 2009 1 次提交
  18. 29 5月, 2009 2 次提交
  19. 26 5月, 2009 3 次提交
    • M
      davinci: Encapsulate SoC-specific data in a structure · 79c3c0b7
      Mark A. Greer 提交于
      Create a structure to encapsulate SoC-specific information.
      This will assist in generalizing code so it can be used by
      different SoCs that have similar hardware but with minor
      differences such as having a different base address.
      
      The idea is that the code for each SoC fills out a structure
      with the correct information.  The board-specific code then
      calls the SoC init routine which in turn will call a common
      init routine that makes a copy of the structure, maps in I/O
      regions, etc.
      
      After initialization, code can get a pointer to the structure
      by calling davinci_get_soc_info().  Eventually, the common
      init routine will make a copy of all of the data pointed to
      by the structure so the original data can be made __init_data.
      That way the data for SoC's that aren't being used won't consume
      memory for the entire life of the kernel.
      
      The structure will be extended in subsequent patches but
      initially, it holds the map_desc structure for any I/O
      regions the SoC/board wants statically mapped.
      Signed-off-by: NMark A. Greer <mgreer@mvista.com>
      Signed-off-by: NKevin Hilman <khilman@deeprootsystems.com>
      79c3c0b7
    • K
      davinci: EMAC platform support · ac7b75b5
      Kevin Hilman 提交于
      Add SoC and platform-specific data and init for DaVinci EMAC network
      driver.
      Signed-off-by: NKevin Hilman <khilman@deeprootsystems.com>
      ac7b75b5
    • K
      davinci: MMC platform support · 2dbf56ae
      Kevin Hilman 提交于
      Add SoC and platform-specific data and init for MMC driver.
      Signed-off-by: NKevin Hilman <khilman@deeprootsystems.com>
      2dbf56ae
  20. 07 5月, 2009 1 次提交
  21. 28 4月, 2009 3 次提交
    • D
      davinci: DM644x: NAND: update partitioning · 3e9c18e1
      David Brownell 提交于
      Update NAND partitioning for the dm6446 evm, unmasking the hidden
      data at the beginning and letting the kernel be updated from Linux.
      
       - This is boot-compatible with TI's software (U-Boot 1.20 and both
         the 2.6.10 and 2.6.18 kernels), in terms of startup and loading
         kernels from flash.
      
       - In the same way, it's also boot-compatible with mainline U-Boot,
         which stores U-Boot params in block 0 not block 16.
      
       - It's not quite compatible with systems that previously used NAND
         partitions to hold (filesystem) data.  The compatibilities are a
         bit different based on which kernel was used previously
           + Users of TI/MV kernels no longer see mtd2 "params"
             (mainline u-boot env is in a different place)
      	* Filesystem is now mtd2 ... vs mtd3
           + Users of GIT kernels now see mtd0 and mtd1 partitions
      	* Filesystem partition starts 640 KBytes earlier
      	* Filesystem is now mtd2 ... vs mtd0
           * Linux now *uses* the flash-resident BBT
      	* Removes annoying slowdown/hiccup during boot
      	* Potentially ~64KB less space available with TI/MV kernels
      
      If you *used* NAND partitions from Linux, there is no solution that's
      fully compatible with all previous kernels in those respects ... ergo
      this "best compromise".  It'd be good to back back up the filesystem
      data; or, carry your own backwards-compatibility patch for awhile.
      Signed-off-by: NDavid Brownell <dbrownell@users.sourceforge.net>
      Signed-off-by: NKevin Hilman <khilman@deeprootsystems.com>
      3e9c18e1
    • K
      davinci: update DM644x support in preparation for more SoCs · d0e47fba
      Kevin Hilman 提交于
      Rework DM644x code into SoC specific and board specific parts.
      This is also to generalize the structure a bit so it's easier to add
      support for new SoCs in the DaVinci family.
      Signed-off-by: NKevin Hilman <khilman@deeprootsystems.com>
      d0e47fba
    • K
      davinci: DM644x: rename board file · 73d3c68f
      Kevin Hilman 提交于
      Rename DM6446 EVM board file, no functional changes.  Code is updated
      and reworked in following patch.
      Signed-off-by: NKevin Hilman <khilman@deeprootsystems.com>
      73d3c68f
  22. 24 4月, 2009 2 次提交
    • K
      davinci: add arch_ioremap() which uses existing static mappings · f5c122da
      Kevin Hilman 提交于
      Add arch-specific ioremap() which uses any existing static mappings in
      place of doing a new mapping.  From now on, drivers should always use
      ioremap() instead of IO_ADDRESS().
      
      In addition, remove the davinci_[read|write]* macros in favor of using
      ioremap.
      Signed-off-by: NKevin Hilman <khilman@deeprootsystems.com>
      f5c122da
    • K
      davinci: major rework of clock, PLL, PSC infrastructure · c5b736d0
      Kevin Hilman 提交于
      This is a significant rework of the low-level clock, PLL and Power
      Sleep Controller (PSC) implementation for the DaVinci family.  The
      primary goal is to have better modeling if the hardware clocks and
      features with the aim of DVFS functionality.
      
      Highlights:
      - model PLLs and all PLL-derived clocks
      - model parent/child relationships of PLLs and clocks
      - convert to new clkdev layer
      - view clock frequency and refcount via /proc/davinci_clocks
      
      Special thanks to significant contributions and testing by David
      Brownell.
      
      Cc: David Brownell <dbrownell@users.sourceforge.net>
      Signed-off-by: NKevin Hilman <khilman@deeprootsystems.com>
      c5b736d0
  23. 07 4月, 2009 1 次提交
  24. 28 2月, 2009 1 次提交
    • D
      usb: musb: make Davinci *work* in mainline · 34f32c97
      David Brownell 提交于
      Now that the musb build fixes for DaVinci got merged (RC3?), kick in
      the other bits needed to get it finally *working* in mainline:
      
       - Use clk_enable()/clk_disable() ... the "always enable USB clocks"
         code this originally relied on has since been removed.
      
       - Initialize the USB device only after the relevant I2C GPIOs are
         available, so the host side can properly enable VBUS.
      
       - Tweak init sequencing to cope with mainline's relatively late init
         of the I2C system bus for power switches, transceivers, and so on.
      
      Sanity tested on DM6664 EVM for host and peripheral modes; that system
      won't boot with CONFIG_PM enabled, so OTG can't yet be tested.  Also
      verified on OMAP3.
      
      (Unrelated:  correct the MODULE_PARM_DESC spelling of musb_debug.)
      Signed-off-by: NDavid Brownell <dbrownell@users.sourceforge.net>
      Cc: Felipe Balbi <me@felipebalbi.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      34f32c97
  25. 17 9月, 2008 2 次提交