2 * linux/include/asm-arm/hardware.h
4 * Copyright (C) 1996 Russell King
6 * Common hardware definitions
9 #ifndef __ASM_HARDWARE_H
10 #define __ASM_HARDWARE_H
12 #include <asm/arch/hardware.h>
16 #define __EXPMASK(offset) (((volatile unsigned char *)EXPMASK_BASE)[offset])
18 #define __EXPMASK(offset) offset
21 #define EXPMASK_STATUS __EXPMASK(0x00)
22 #define EXPMASK_ENABLE __EXPMASK(0x04)