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 /drivers/spi/davinci_spi.c | |
parent | 9d2f6a9ae70d06e4cead539e57f264c980643f53 (diff) | |
download | u-boot-imx-92a3188d7d836779915e3a6f9251fa07b9c753e4.zip u-boot-imx-92a3188d7d836779915e3a6f9251fa07b9c753e4.tar.gz u-boot-imx-92a3188d7d836779915e3a6f9251fa07b9c753e4.tar.bz2 |
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 'drivers/spi/davinci_spi.c')
-rw-r--r-- | drivers/spi/davinci_spi.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/spi/davinci_spi.c b/drivers/spi/davinci_spi.c index 0a036cc..0bd4f88 100644 --- a/drivers/spi/davinci_spi.c +++ b/drivers/spi/davinci_spi.c @@ -15,8 +15,6 @@ #include <asm/io.h> #include <asm/arch/hardware.h> -#define BIT(x) (1 << (x)) - /* SPIGCR0 */ #define SPIGCR0_SPIENA_MASK 0x1 #define SPIGCR0_SPIRST_MASK 0x0 |