1. 03 May, 2019 2 commits
  2. 11 May, 2018 2 commits
  3. 07 May, 2018 1 commit
    • Tom Rini's avatar
      SPDX: Convert all of our single license tags to Linux Kernel style · 83d290c5
      Tom Rini authored
      When U-Boot started using SPDX tags we were among the early adopters and
      there weren't a lot of other examples to borrow from.  So we picked the
      area of the file that usually had a full license text and replaced it
      with an appropriate SPDX-License-Identifier: entry.  Since then, the
      Linux Kernel has adopted SPDX tags and they place it as the very first
      line in a file (except where shebangs are used, then it's second line)
      and with slightly different comment styles than us.
      
      In part due to community overlap, in part due to better tag visibility
      and in part for other minor reasons, switch over to that style.
      
      This commit changes all instances where we have a single declared
      license in the tag as both the before and after are identical in tag
      contents.  There's also a few places where I found we did not have a tag
      and have introduced one.
      Signed-off-by: default avatarTom Rini <trini@konsulko.com>
      83d290c5
  4. 02 May, 2018 1 commit
    • Hannes Schmelzer's avatar
      mmc: sdhci: add SDHCI_QUIRK_BROKEN_HISPD_MODE · 88a57125
      Hannes Schmelzer authored
      Some IP-core implementations of the SDHCI have different troubles on the
      silicon where they are placed.
      
      On ZYNQ platform for example Xilinx doesn't accept the hold timing of an
      eMMC chip which operates in High-Speed mode and must be forced to
      operate in non high-speed mode. To get rid of this
      "SDHCI_QUIRK_BROKEN_HISPD_MODE" is introduced.
      
      For more details about this refer to the Xilinx answer-recor #59999
      https://www.xilinx.com/support/answers/59999.html
      
      This commit:
      - doesn't set HISPD bit on the host-conroller
      - reflects this fact within the host-controller capabilities
      
      Upon this the layer above (mmc-driver) can setup the card correctly.
      
      Otherwise the MMC card will be switched into high-speed mode and causes
      possible timing violation on the host-controller side.
      Signed-off-by: default avatarHannes Schmelzer <oe5hpm@oevsv.at>
      Signed-off-by: default avatarHannes Schmelzer <hannes.schmelzer@br-automation.com>
      88a57125
  5. 17 Aug, 2017 1 commit
  6. 25 Jan, 2017 1 commit
  7. 23 Jan, 2017 1 commit
  8. 11 Jan, 2017 5 commits
  9. 19 Sep, 2016 1 commit
  10. 15 Aug, 2016 1 commit
  11. 05 Aug, 2016 2 commits
  12. 11 Jul, 2016 1 commit
  13. 25 Apr, 2016 1 commit
  14. 30 Jan, 2015 1 commit
  15. 24 Mar, 2014 1 commit
    • Pantelis Antoniou's avatar
      mmc: Split mmc struct, rework mmc initialization (v2) · 93bfd616
      Pantelis Antoniou authored
      The way that struct mmc was implemented was a bit of a mess;
      configuration and internal state all jumbled up in a single structure.
      
      On top of that the way initialization is done with mmc_register leads
      to a lot of duplicated code in drivers.
      
      Typically the initialization got something like this in every driver.
      
      	struct mmc *mmc = malloc(sizeof(struct mmc));
      	memset(mmc, 0, sizeof(struct mmc);
      	/* fill in fields of mmc struct */
      	/* store private data pointer */
      	mmc_register(mmc);
      
      By using the new mmc_create call one just passes an mmc config struct
      and an optional private data pointer like this:
      
      	struct mmc = mmc_create(&cfg, priv);
      
      All in tree drivers have been updated to the new form, and expect
      mmc_register to go away before long.
      
      Changes since v1:
      
      * Use calloc instead of manually calling memset.
      * Mark mmc_register as deprecated.
      Signed-off-by: default avatarPantelis Antoniou <panto@antoniou-consulting.com>
      93bfd616
  16. 12 Mar, 2014 1 commit
  17. 17 Sep, 2013 1 commit
  18. 24 Jul, 2013 1 commit
  19. 28 Nov, 2012 1 commit
  20. 22 Oct, 2012 1 commit
  21. 06 Sep, 2012 2 commits
  22. 09 May, 2012 2 commits
  23. 26 Nov, 2011 1 commit
  24. 03 Nov, 2011 2 commits
    • Lei Wen's avatar
      mmc: sdhci: add mmc structure for host · 6cf1b17c
      Lei Wen authored
      So that sdhci host would tell in the driver that the mmc current
      attributes.
      Signed-off-by: default avatarLei Wen <leiwen@marvell.com>
      6cf1b17c
    • Lei Wen's avatar
      mmc: sdhci: fix build warning · 0d2f15f9
      Lei Wen authored
      If CONFIG_MMC_SDHCI_IO_ACCESSORS is defined, the following warning would
      shows up:
      
      include/sdhci.h:224: warning: 'struct sdhci_host' declared inside
      parameter list
      include/sdhci.h:224: warning: its scope is only this definition or
      declaration, which is probably not what you want
      include/sdhci.h:225: warning: 'struct sdhci_host' declared inside
      parameter list
      include/sdhci.h:226: warning: 'struct sdhci_host' declared inside
      parameter list
      include/sdhci.h:227: warning: 'struct sdhci_host' declared inside
      parameter list
      include/sdhci.h:228: warning: 'struct sdhci_host' declared inside
      parameter list
      include/sdhci.h:229: warning: 'struct sdhci_host' declared inside
      parameter list
      Signed-off-by: default avatarLei Wen <leiwen@marvell.com>
      0d2f15f9
  25. 16 Jul, 2011 1 commit