1. 15 Aug, 2016 1 commit
  2. 05 Aug, 2016 2 commits
  3. 11 Jul, 2016 1 commit
  4. 25 Apr, 2016 1 commit
  5. 30 Jan, 2015 1 commit
  6. 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
  7. 12 Mar, 2014 1 commit
  8. 17 Sep, 2013 1 commit
  9. 24 Jul, 2013 1 commit
  10. 27 Nov, 2012 1 commit
  11. 22 Oct, 2012 1 commit
  12. 05 Sep, 2012 2 commits
  13. 08 May, 2012 2 commits
  14. 25 Nov, 2011 1 commit
  15. 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
  16. 16 Jul, 2011 1 commit