Re: [PATCH 2/4] mmc: core: Prepare to support SD UHS-II cards

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Ulf,
     In struct mmc_host, there was added a bit definition
'MMC_CAP2_SD_UHS2'(bit 9 of caps2).
     But there was already a definition 'MMC_CAP_UHS2'(bit 26 of caps).
     Do these two bit definitions work for the same purpose?

     By the way, where can I find the 2 source
codes(a/include/linux/mmc/ and b/include/linux/mmc/) which you diff
from.

> > ---
 diff --git a/include/linux/mmc/host.h b/include/linux/mmc/host.h
 index a001ad2f5f23..0a777caaf7f3 100644
 --- a/include/linux/mmc/host.h
 +++ b/include/linux/mmc/host.h

 @@ -377,6 +393,7 @@  struct mmc_host {
   MMC_CAP2_HS200_1_2V_SDR)
  #define MMC_CAP2_SD_EXP (1 << 7) /* SD express via PCIe */
  #define MMC_CAP2_SD_EXP_1_2V (1 << 8) /* SD express 1.2V */
 +#define MMC_CAP2_SD_UHS2 (1 << 9) /* SD UHS-II support */
  #define MMC_CAP2_CD_ACTIVE_HIGH (1 << 10) /* Card-detect signal active high */
  #define MMC_CAP2_RO_ACTIVE_HIGH (1 << 11) /* Write-protect signal
active high */
  #define MMC_CAP2_NO_PRESCAN_POWERUP (1 << 14) /* Don't power up before scan */


 best regards,
 Jason Lai



[Index of Archives]     [Linux Memonry Technology]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux