Add support for friendly-arm SBC-2410X board
[oweals/u-boot.git] / drivers / bcm570x_bits.h
1
2 /******************************************************************************/
3 /*                                                                            */
4 /* Broadcom BCM5700 Linux Network Driver, Copyright (c) 2000 Broadcom         */
5 /* Corporation.                                                               */
6 /* All rights reserved.                                                       */
7 /*                                                                            */
8 /* This program is free software; you can redistribute it and/or modify       */
9 /* it under the terms of the GNU General Public License as published by       */
10 /* the Free Software Foundation, located in the file LICENSE.                 */
11 /*                                                                            */
12 /* History:                                                                   */
13 /*    02/25/00 Hav Khauv        Initial version.                              */
14 /******************************************************************************/
15
16 #ifndef BITS_H
17 #define BITS_H
18
19
20 /******************************************************************************/
21 /* Bit Mask definitions */
22 /******************************************************************************/
23 #define BIT_NONE            0x00
24 #define BIT_0               0x01
25 #define BIT_1               0x02
26 #define BIT_2               0x04
27 #define BIT_3               0x08
28 #define BIT_4               0x10
29 #define BIT_5               0x20
30 #define BIT_6               0x40
31 #define BIT_7               0x80
32 #define BIT_8               0x0100
33 #define BIT_9               0x0200
34 #define BIT_10              0x0400
35 #define BIT_11              0x0800
36 #define BIT_12              0x1000
37 #define BIT_13              0x2000
38 #define BIT_14              0x4000
39 #define BIT_15              0x8000
40 #define BIT_16              0x010000
41 #define BIT_17              0x020000
42 #define BIT_18              0x040000
43 #define BIT_19              0x080000
44 #define BIT_20              0x100000
45 #define BIT_21              0x200000
46 #define BIT_22              0x400000
47 #define BIT_23              0x800000
48 #define BIT_24              0x01000000
49 #define BIT_25              0x02000000
50 #define BIT_26              0x04000000
51 #define BIT_27              0x08000000
52 #define BIT_28              0x10000000
53 #define BIT_29              0x20000000
54 #define BIT_30              0x40000000
55 #define BIT_31              0x80000000
56
57 #endif /* BITS_H */