From: Vipul Kumar Date: Mon, 10 Sep 2018 08:59:51 +0000 (+0530) Subject: mmc: Moving macros to the common header file X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=33c1d3a6813bebfa3fb5e7785257c174e31f5b19;p=thirdparty%2Fu-boot.git mmc: Moving macros to the common header file This patch moves the following macros to the mmc.h define SD_HS_BUS_SPEED define MMC_DDR52_BUS_SPEED define MMC_HS_BUS_SPEED define MMC_MAX_BUS_SPEED Signed-off-by: Vipul Kumar Acked-by: Siva Durga Prasad Paladugu Signed-off-by: Michal Simek --- diff --git a/drivers/mmc/zynq_sdhci.c b/drivers/mmc/zynq_sdhci.c index 99bdaded378..c8667de1b3e 100644 --- a/drivers/mmc/zynq_sdhci.c +++ b/drivers/mmc/zynq_sdhci.c @@ -48,10 +48,6 @@ DECLARE_GLOBAL_DATA_PTR; #define SDHCI_OTAPDLYSEL_MMC_HS200_B2 0x00000002 #define MMC_BANK2 0x2 -#define SD_HS_BUS_SPEED 6 -#define MMC_DDR52_BUS_SPEED 7 -#define MMC_HS_BUS_SPEED 8 -#define MMC_MAX_BUS_SPEED 9 struct arasan_sdhci_plat { struct mmc_config cfg; diff --git a/include/mmc.h b/include/mmc.h index 8eb63043a3d..224b1212ae4 100644 --- a/include/mmc.h +++ b/include/mmc.h @@ -312,6 +312,10 @@ #define MMC_TIMING_UHS_DDR50 4 #define MMC_TIMING_HS200 5 #define MMC_TIMING_HS 1 +#define SD_HS_BUS_SPEED 6 +#define MMC_DDR52_BUS_SPEED 7 +#define MMC_HS_BUS_SPEED 8 +#define MMC_MAX_BUS_SPEED 9 /* Driver model support */