Import 2.3.1
[davej-history.git] / include / asm-arm / hardware.h
blobbc785422144f0ecd82e629d8dba111186ac3d4e1
1 /*
2 * linux/include/asm-arm/hardware.h
4 * Copyright (C) 1996 Russell King
6 * Common hardware definitions
7 */
9 #ifndef __ASM_HARDWARE_H
10 #define __ASM_HARDWARE_H
12 #include <asm/arch/hardware.h>
14 #ifdef HAS_EXPMASK
15 #ifndef __ASSEMBLER__
16 #define __EXPMASK(offset) (((volatile unsigned char *)EXPMASK_BASE)[offset])
17 #else
18 #define __EXPMASK(offset) offset
19 #endif
21 #define EXPMASK_STATUS __EXPMASK(0x00)
22 #define EXPMASK_ENABLE __EXPMASK(0x04)
24 #endif
26 #endif