diff options
author | Heiko Schocher <hs@denx.de> | 2015-09-07 13:43:52 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2015-09-11 17:15:32 -0400 |
commit | 92a3188d7d836779915e3a6f9251fa07b9c753e4 (patch) | |
tree | 38057fbc4a6d77ffabdbc48bc863293f2e89e22d /arch/arm/mach-keystone | |
parent | 9d2f6a9ae70d06e4cead539e57f264c980643f53 (diff) | |
download | u-boot-92a3188d7d836779915e3a6f9251fa07b9c753e4.tar.gz u-boot-92a3188d7d836779915e3a6f9251fa07b9c753e4.tar.bz2 u-boot-92a3188d7d836779915e3a6f9251fa07b9c753e4.zip |
bitops: introduce BIT() definition
introduce BIT() definition, used in at91_udc gadget
driver.
Signed-off-by: Heiko Schocher <hs@denx.de>
[remove all other occurrences of BIT(x) definition]
Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>
Acked-by: Stefan Roese <sr@denx.de>
Acked-by: Anatolij Gustschin <agust@denx.de>
Diffstat (limited to 'arch/arm/mach-keystone')
-rw-r--r-- | arch/arm/mach-keystone/include/mach/clock_defs.h | 2 | ||||
-rw-r--r-- | arch/arm/mach-keystone/include/mach/hardware.h | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/arch/arm/mach-keystone/include/mach/clock_defs.h b/arch/arm/mach-keystone/include/mach/clock_defs.h index 8ad371f43d..f8d61d6ef1 100644 --- a/arch/arm/mach-keystone/include/mach/clock_defs.h +++ b/arch/arm/mach-keystone/include/mach/clock_defs.h @@ -11,8 +11,6 @@ #include <asm/arch/hardware.h> -#define BIT(x) (1 << (x)) - /* PLL Control Registers */ struct pllctl_regs { u32 ctl; /* 00 */ diff --git a/arch/arm/mach-keystone/include/mach/hardware.h b/arch/arm/mach-keystone/include/mach/hardware.h index 53f28ec8da..f98a24eb57 100644 --- a/arch/arm/mach-keystone/include/mach/hardware.h +++ b/arch/arm/mach-keystone/include/mach/hardware.h @@ -24,8 +24,6 @@ typedef volatile unsigned int *dv_reg_p; #endif -#define BIT(x) (1 << (x)) - #define KS2_DDRPHY_PIR_OFFSET 0x04 #define KS2_DDRPHY_PGCR0_OFFSET 0x08 #define KS2_DDRPHY_PGCR1_OFFSET 0x0C |