1. 14 9月, 2012 1 次提交
  2. 07 9月, 2012 1 次提交
  3. 05 9月, 2012 1 次提交
    • J
      mmc: tegra: convert to device tree support only · b37f9d98
      Joseph Lo 提交于
      When compiling a kernel that supports only Tegra30 and not Tegra20,
      the SDHCI driver will fail to compile since the of_match_device() failure
      fallback code unconditinally references soc_data_tegra20, which is only
      compiled in when Tegra20 support is enabled.
      
      In Kernel 3.7, both Tegra20 and Tegra30 will only support booting using
      device tree, Hence, there is never a need to fall back to using
      soc_data_tegra20 if of_mach_device() fails. Instead, make this case an
      error. This removes the reference to soc_data_tegra20, and hence solves
      the compile failure.
      Signed-off-by: NJoseph Lo <josephl@nvidia.com>
      Tested-by: NStephen Warren <swarren@wwwdotorg.org>
      Signed-off-by: NChris Ball <cjb@laptop.org>
      b37f9d98
  4. 12 6月, 2012 2 次提交
  5. 22 4月, 2012 1 次提交
  6. 19 4月, 2012 1 次提交
  7. 26 3月, 2012 1 次提交
    • S
      mmc: sdhci-tegra: Explicitly support Tegra30 · 3e44a1a7
      Stephen Warren 提交于
      Tegra30 differs from Tegra20 in a number of ways. This patch implements a
      minimal set of differences in order to get the Cardhu board's SD slot and
      eMMC working. Given the diffs between the mainline sdhci-tegra.c and our
      downstream versions, I expect we'll eventually need to add many more
      differences, hence the seemingly heavy-weight addition of the soc_data
      structure.
      
      * Tegra30 doesn't need to override register access to SDHCI_HOST_VERSION or
        SDHCI_INT_ENABLE.
      
      * Tegra30 needs quirk SDHCI_QUIRK_DATA_TIMEOUT_USES_SDCLK.
      Signed-off-by: NStephen Warren <swarren@nvidia.com>
      Signed-off-by: NChris Ball <cjb@laptop.org>
      3e44a1a7
  8. 29 2月, 2012 1 次提交
  9. 12 1月, 2012 1 次提交
  10. 20 12月, 2011 1 次提交
  11. 01 11月, 2011 1 次提交
  12. 27 10月, 2011 3 次提交
  13. 27 9月, 2011 1 次提交
  14. 08 8月, 2011 1 次提交
  15. 21 7月, 2011 2 次提交
    • S
      mmc: sdhci: change sdhci-pltfm into a module · f0de8369
      Shawn Guo 提交于
      There are a couple of problems left from the sdhci pltfm and OF
      consolidation changes.
      
      * When building more than one sdhci-pltfm based drivers in the same
        image, linker will give multiple definition error on the sdhci-pltfm
        helper functions.  For example right now, building sdhci-of-esdhc
        and sdhci-of-hlwd together is a valid combination from Kconfig view.
      
      * With the current build method, there is error with building the
        drivers as module, but module installation fails with modprobe.
      
      The patch fixes above problems by changing sdhci-pltfm into a module.
      To avoid EXPORT_SYMBOL on so many big endian IO accessors, it moves
      these accessors into sdhci-pltfm.h as the 'static inline' functions.
      As a result, sdhci.h needs to be included in sdhci-pltfm.h, and in
      turn can be removed from individual drivers which already include
      sdhci-pltfm.h.
      Signed-off-by: NShawn Guo <shawn.guo@linaro.org>
      Signed-off-by: NChris Ball <cjb@laptop.org>
      f0de8369
    • S
      mmc: sdhci: make sdhci-pltfm device drivers self registered · 85d6509d
      Shawn Guo 提交于
      The patch turns the common stuff in sdhci-pltfm.c into functions, and
      add device drivers their own .probe and .remove which in turn call
      into the common functions, so that those sdhci-pltfm device drivers
      register itself and keep all device specific things away from common
      sdhci-pltfm file.
      Signed-off-by: NShawn Guo <shawn.guo@linaro.org>
      Reviewed-by: NGrant Likely <grant.likely@secretlab.ca>
      Acked-by: NArnd Bergmann <arnd@arndb.de>
      Acked-by: NAnton Vorontsov <cbouatmailru@gmail.com>
      Signed-off-by: NChris Ball <cjb@laptop.org>
      85d6509d
  16. 25 5月, 2011 1 次提交
  17. 16 3月, 2011 1 次提交
  18. 09 1月, 2011 1 次提交