diff options
author | Andrew Victor <andrew@sanpeople.com> | 2007-05-11 20:09:41 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2007-05-11 21:07:58 +0100 |
commit | 54cb128037de499ea81626b0f37f9bb90e8db3d3 (patch) | |
tree | 26cedd628b87e0fe3c36dcbbcf39fc016bd044b4 /include/asm-arm | |
parent | 877d7720f5f67793b9b6027840d2c88ea25dc4c8 (diff) | |
download | op-kernel-dev-54cb128037de499ea81626b0f37f9bb90e8db3d3.zip op-kernel-dev-54cb128037de499ea81626b0f37f9bb90e8db3d3.tar.gz |
[ARM] 4372/1: Define byte sizes in asm-arm/sizes.h
Define SZ_512, SZ_256 and SZ_16 in asm-arm/sizes.h.
Remove the definitions from the at91*_devices.c files.
(Dependent on ARM patch #4370/2)
Signed-off-by: Andrew Victor <andrew@sanpeople.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include/asm-arm')
-rw-r--r-- | include/asm-arm/sizes.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asm-arm/sizes.h b/include/asm-arm/sizes.h index 7f50ae0..503843d 100644 --- a/include/asm-arm/sizes.h +++ b/include/asm-arm/sizes.h @@ -24,6 +24,10 @@ #define __sizes_h 1 /* handy sizes */ +#define SZ_16 0x00000010 +#define SZ_256 0x00000100 +#define SZ_512 0x00000200 + #define SZ_1K 0x00000400 #define SZ_4K 0x00001000 #define SZ_8K 0x00002000 |