diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2007-05-05 15:28:16 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2007-05-05 15:28:16 -0400 |
commit | 0af92befeb4b330c46cce6b520b2cc775cd6931f (patch) | |
tree | d771f3f4812f9710c3d93caad3fbf31d5c83946f /include/asm-arm/mach/map.h | |
parent | 9ef7963503abd3287943125681c2dc17879e8d4e (diff) |
[ARM] mm 9: add additional device memory types
Add cached device type for ioremap_cached(). Group all device memory
types together, and ensure that they all have a "MT_DEVICE" prefix.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include/asm-arm/mach/map.h')
-rw-r--r-- | include/asm-arm/mach/map.h | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/include/asm-arm/mach/map.h b/include/asm-arm/mach/map.h index cef5364ed5fe..8afef40730af 100644 --- a/include/asm-arm/mach/map.h +++ b/include/asm-arm/mach/map.h | |||
@@ -17,14 +17,18 @@ struct map_desc { | |||
17 | }; | 17 | }; |
18 | 18 | ||
19 | #define MT_DEVICE 0 | 19 | #define MT_DEVICE 0 |
20 | #define MT_CACHECLEAN 1 | 20 | #define MT_DEVICE_NONSHARED 1 |
21 | #define MT_MINICLEAN 2 | 21 | #define MT_DEVICE_CACHED 2 |
22 | #define MT_LOW_VECTORS 3 | 22 | #define MT_DEVICE_IXP2000 3 |
23 | #define MT_HIGH_VECTORS 4 | 23 | #define MT_CACHECLEAN 4 |
24 | #define MT_MEMORY 5 | 24 | #define MT_MINICLEAN 5 |
25 | #define MT_ROM 6 | 25 | #define MT_LOW_VECTORS 6 |
26 | #define MT_IXP2000_DEVICE 7 | 26 | #define MT_HIGH_VECTORS 7 |
27 | #define MT_NONSHARED_DEVICE 8 | 27 | #define MT_MEMORY 8 |
28 | #define MT_ROM 9 | ||
29 | |||
30 | #define MT_NONSHARED_DEVICE MT_DEVICE_NONSHARED | ||
31 | #define MT_IXP2000_DEVICE MT_DEVICE_IXP2000 | ||
28 | 32 | ||
29 | #ifdef CONFIG_MMU | 33 | #ifdef CONFIG_MMU |
30 | extern void iotable_init(struct map_desc *, int); | 34 | extern void iotable_init(struct map_desc *, int); |