Message ID | ce1968da8dfde848c82d44b37a8ae71f1eb6e641.1561462741.git.michal.simek@xilinx.com |
---|---|
State | Accepted |
Commit | e3a14b6684bc591d0648e2bb8de383074ee81f43 |
Delegated to: | Peng Fan |
Headers | show |
Series | Add SDHCI card detection support | expand |
> Subject: [PATCH v3 1/4] mmc: mvebu: Remove unused MMC_CAP.. macros > > From: T Karthik Reddy <t.karthik.reddy@xilinx.com> > > Removed MMC_CAP_NONREMOVABLE, MMC_CAP_NEEDS_POLL macros > from mvebu_mmc.h to avoid redefining of these macros when compiled with > mvebu based configs. > > Signed-off-by: T Karthik Reddy <t.karthik.reddy@xilinx.com> > Signed-off-by: Michal Simek <michal.simek@xilinx.com> > --- > > Changes in v3: > - New patch in this series to release macros > > Changes in v2: None > > include/mvebu_mmc.h | 4 ---- > 1 file changed, 4 deletions(-) > > diff --git a/include/mvebu_mmc.h b/include/mvebu_mmc.h index > d51b1fe4670e..7397165f67f6 100644 > --- a/include/mvebu_mmc.h > +++ b/include/mvebu_mmc.h > @@ -222,13 +222,9 @@ > #define MMC_CAP_SDIO_IRQ (1 << 3) > /* Talks only SPI protocols */ > #define MMC_CAP_SPI (1 << 4) > -/* Needs polling for card-detection */ > -#define MMC_CAP_NEEDS_POLL (1 << 5) > /* Can the host do 8 bit transfers */ > #define MMC_CAP_8_BIT_DATA (1 << 6) > > -/* Nonremovable e.g. eMMC */ > -#define MMC_CAP_NONREMOVABLE (1 << 8) > /* Waits while card is busy */ > #define MMC_CAP_WAIT_WHILE_BUSY (1 << 9) > /* Allow erase/trim commands */ Patchset applied to mmc master. Thanks, Peng. > -- > 2.17.1
diff --git a/include/mvebu_mmc.h b/include/mvebu_mmc.h index d51b1fe4670e..7397165f67f6 100644 --- a/include/mvebu_mmc.h +++ b/include/mvebu_mmc.h @@ -222,13 +222,9 @@ #define MMC_CAP_SDIO_IRQ (1 << 3) /* Talks only SPI protocols */ #define MMC_CAP_SPI (1 << 4) -/* Needs polling for card-detection */ -#define MMC_CAP_NEEDS_POLL (1 << 5) /* Can the host do 8 bit transfers */ #define MMC_CAP_8_BIT_DATA (1 << 6) -/* Nonremovable e.g. eMMC */ -#define MMC_CAP_NONREMOVABLE (1 << 8) /* Waits while card is busy */ #define MMC_CAP_WAIT_WHILE_BUSY (1 << 9) /* Allow erase/trim commands */