[PATCH] mmc: xenon_sdhci: Remove duplicated macros
Michal Simek
monstr at monstr.eu
Wed Jan 20 08:48:44 CET 2021
út 5. 1. 2021 v 14:30 odesílatel Michal Simek <michal.simek at xilinx.com> napsal:
>
> There is no need to define the same macros in drivers.
> All macros have been added by commit 17a42abb40dd ("mmc: Define timing
> macro's").
>
> Signed-off-by: Michal Simek <michal.simek at xilinx.com>
> ---
>
> drivers/mmc/xenon_sdhci.c | 12 ------------
> 1 file changed, 12 deletions(-)
>
> diff --git a/drivers/mmc/xenon_sdhci.c b/drivers/mmc/xenon_sdhci.c
> index 6ce9d00d0ae7..b58848668aa3 100644
> --- a/drivers/mmc/xenon_sdhci.c
> +++ b/drivers/mmc/xenon_sdhci.c
> @@ -104,18 +104,6 @@ DECLARE_GLOBAL_DATA_PTR;
> /* Hyperion only have one slot 0 */
> #define XENON_MMC_SLOT_ID_HYPERION 0
>
> -#define MMC_TIMING_LEGACY 0
> -#define MMC_TIMING_MMC_HS 1
> -#define MMC_TIMING_SD_HS 2
> -#define MMC_TIMING_UHS_SDR12 3
> -#define MMC_TIMING_UHS_SDR25 4
> -#define MMC_TIMING_UHS_SDR50 5
> -#define MMC_TIMING_UHS_SDR104 6
> -#define MMC_TIMING_UHS_DDR50 7
> -#define MMC_TIMING_MMC_DDR52 8
> -#define MMC_TIMING_MMC_HS200 9
> -#define MMC_TIMING_MMC_HS400 10
> -
> #define XENON_MMC_MAX_CLK 400000000
> #define XENON_MMC_3V3_UV 3300000
> #define XENON_MMC_1V8_UV 1800000
> --
> 2.30.0
>
Applied.
M
--
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Xilinx Microblaze
Maintainer of Linux kernel - Xilinx Zynq ARM and ZynqMP ARM64 SoCs
U-Boot custodian - Xilinx Microblaze/Zynq/ZynqMP/Versal SoCs
More information about the U-Boot
mailing list