[Tinyx-devel] [PATCH] device.h for arm7 arch.
Status: Planning
Brought to you by:
davidcohen
From: David C. <da...@gm...> - 2007-12-11 23:09:33
|
Adding the device.h for arm7 arch. Signed-off-by: David Cohen <da...@gm...> --- include/asm-arm7/device.h | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) create mode 100644 include/asm-arm7/device.h diff --git a/include/asm-arm7/device.h b/include/asm-arm7/device.h new file mode 100644 index 0000000..93ea2fd --- /dev/null +++ b/include/asm-arm7/device.h @@ -0,0 +1,11 @@ +#ifndef __ASM_DEVICE_H +#define __ASM_DEVICE_H + +/* ARM7 Buses */ +#define BUS_TYPE_PLATFORM 0x00 +#define BUS_TYPE_I2C 0x01 +#define BUS_TYPE_SPI 0x02 +#define BUS_TYPE_UART 0x03 +#define BUS_TYPE_USB 0x04 + +#endif /* __ASM_DEVICE_H */ -- 1.5.3.5 |