From: Faiz Abbas Date: Thu, 4 Feb 2021 09:40:48 +0000 (+0530) Subject: mmc: am654_sdhci: Convert flag fields to BIT macro X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=144e131d47fcc027ae6e9869273f7c8756eb8846;p=u-boot.git mmc: am654_sdhci: Convert flag fields to BIT macro Convert the flags field defines to use the BIT() macro. Signed-off-by: Faiz Abbas Signed-off-by: Aswath Govindraju Reviewed-by: Jaehoon Chung --- diff --git a/drivers/mmc/am654_sdhci.c b/drivers/mmc/am654_sdhci.c index 33f658fba7..e0136dff97 100644 --- a/drivers/mmc/am654_sdhci.c +++ b/drivers/mmc/am654_sdhci.c @@ -80,10 +80,10 @@ struct am654_sdhci_plat { u32 drv_strength; u32 strb_sel; u32 flags; -#define DLL_PRESENT (1 << 0) -#define IOMUX_PRESENT (1 << 1) -#define FREQSEL_2_BIT (1 << 2) -#define STRBSEL_4_BIT (1 << 3) +#define DLL_PRESENT BIT(0) +#define IOMUX_PRESENT BIT(1) +#define FREQSEL_2_BIT BIT(2) +#define STRBSEL_4_BIT BIT(3) }; struct timing_data {