aboutsummaryrefslogtreecommitdiff
path: root/drivers/mmc
diff options
context:
space:
mode:
authorFaiz Abbas <faiz_abbas@ti.com>2021-02-04 15:10:48 +0530
committerLokesh Vutla <lokeshvutla@ti.com>2021-02-04 20:37:57 +0530
commit144e131d47fcc027ae6e9869273f7c8756eb8846 (patch)
tree77f514d4abc9b5fbd5343480071a1f2d1e261f55 /drivers/mmc
parentc604e204eff2a465fe284d41e195e49f58bff72f (diff)
downloadu-boot-144e131d47fcc027ae6e9869273f7c8756eb8846.zip
u-boot-144e131d47fcc027ae6e9869273f7c8756eb8846.tar.gz
u-boot-144e131d47fcc027ae6e9869273f7c8756eb8846.tar.bz2
mmc: am654_sdhci: Convert flag fields to BIT macro
Convert the flags field defines to use the BIT() macro. Signed-off-by: Faiz Abbas <faiz_abbas@ti.com> Signed-off-by: Aswath Govindraju <a-govindraju@ti.com> Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
Diffstat (limited to 'drivers/mmc')
-rw-r--r--drivers/mmc/am654_sdhci.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/mmc/am654_sdhci.c b/drivers/mmc/am654_sdhci.c
index 33f658f..e0136df 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 {