mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-09 03:21:51 +00:00
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>
This commit is contained in:
parent
9d2f6a9ae7
commit
92a3188d7d
16 changed files with 2 additions and 27 deletions
|
@ -32,8 +32,6 @@
|
|||
*/
|
||||
#define MV_DEBUG_INIT
|
||||
|
||||
#define BIT(x) (1 << (x))
|
||||
|
||||
#ifdef MV_DEBUG_INIT
|
||||
#define DEBUG_INIT_S(s) puts(s)
|
||||
#define DEBUG_INIT_D(d, l) printf("%x", d)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue