mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-15 09:27:35 +00:00
819833af39
This helps to clean up the include/ directory so that it only contains non-architecture-specific headers and also matches Linux's directory layout which many U-Boot developers are already familiar with. Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
48 lines
1.2 KiB
C
48 lines
1.2 KiB
C
/* bits.h
|
|
* Copyright (c) 2004 Texas Instruments
|
|
*
|
|
* This package is free software; you can redistribute it and/or
|
|
* modify it under the terms of the license found in the file
|
|
* named COPYING that should have accompanied this file.
|
|
*
|
|
* THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
|
|
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
|
|
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
|
*/
|
|
#ifndef __bits_h
|
|
#define __bits_h 1
|
|
|
|
#define BIT0 (1<<0)
|
|
#define BIT1 (1<<1)
|
|
#define BIT2 (1<<2)
|
|
#define BIT3 (1<<3)
|
|
#define BIT4 (1<<4)
|
|
#define BIT5 (1<<5)
|
|
#define BIT6 (1<<6)
|
|
#define BIT7 (1<<7)
|
|
#define BIT8 (1<<8)
|
|
#define BIT9 (1<<9)
|
|
#define BIT10 (1<<10)
|
|
#define BIT11 (1<<11)
|
|
#define BIT12 (1<<12)
|
|
#define BIT13 (1<<13)
|
|
#define BIT14 (1<<14)
|
|
#define BIT15 (1<<15)
|
|
#define BIT16 (1<<16)
|
|
#define BIT17 (1<<17)
|
|
#define BIT18 (1<<18)
|
|
#define BIT19 (1<<19)
|
|
#define BIT20 (1<<20)
|
|
#define BIT21 (1<<21)
|
|
#define BIT22 (1<<22)
|
|
#define BIT23 (1<<23)
|
|
#define BIT24 (1<<24)
|
|
#define BIT25 (1<<25)
|
|
#define BIT26 (1<<26)
|
|
#define BIT27 (1<<27)
|
|
#define BIT28 (1<<28)
|
|
#define BIT29 (1<<29)
|
|
#define BIT30 (1<<30)
|
|
#define BIT31 (1<<31)
|
|
|
|
#endif
|