mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-24 13:43:28 +00:00
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>
This commit is contained in:
parent
c604e204ef
commit
144e131d47
1 changed files with 4 additions and 4 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue