diff options
author | Paul Mundt <lethal@linux-sh.org> | 2008-09-20 21:24:18 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2008-09-20 21:24:18 -0400 |
commit | 837c946aad480d4773619707f115ed4c15738f77 (patch) | |
tree | 432d2db8dd76acc75d9812f32c2ce0d11c74147b /arch/sh/include | |
parent | c15c5f8c2bf0b00d036c5c6b67264764a6e5dffc (diff) |
sh: Copy in asm/sizes.h helper from ARM.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/include')
-rw-r--r-- | arch/sh/include/asm/sizes.h | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/arch/sh/include/asm/sizes.h b/arch/sh/include/asm/sizes.h new file mode 100644 index 000000000000..503843db1565 --- /dev/null +++ b/arch/sh/include/asm/sizes.h | |||
@@ -0,0 +1,56 @@ | |||
1 | /* | ||
2 | * This program is free software; you can redistribute it and/or modify | ||
3 | * it under the terms of the GNU General Public License as published by | ||
4 | * the Free Software Foundation; either version 2 of the License, or | ||
5 | * (at your option) any later version. | ||
6 | * | ||
7 | * This program is distributed in the hope that it will be useful, | ||
8 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
9 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
10 | * GNU General Public License for more details. | ||
11 | * | ||
12 | * You should have received a copy of the GNU General Public License | ||
13 | * along with this program; if not, write to the Free Software | ||
14 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
15 | */ | ||
16 | /* DO NOT EDIT!! - this file automatically generated | ||
17 | * from .s file by awk -f s2h.awk | ||
18 | */ | ||
19 | /* Size definitions | ||
20 | * Copyright (C) ARM Limited 1998. All rights reserved. | ||
21 | */ | ||
22 | |||
23 | #ifndef __sizes_h | ||
24 | #define __sizes_h 1 | ||
25 | |||
26 | /* handy sizes */ | ||
27 | #define SZ_16 0x00000010 | ||
28 | #define SZ_256 0x00000100 | ||
29 | #define SZ_512 0x00000200 | ||
30 | |||
31 | #define SZ_1K 0x00000400 | ||
32 | #define SZ_4K 0x00001000 | ||
33 | #define SZ_8K 0x00002000 | ||
34 | #define SZ_16K 0x00004000 | ||
35 | #define SZ_64K 0x00010000 | ||
36 | #define SZ_128K 0x00020000 | ||
37 | #define SZ_256K 0x00040000 | ||
38 | #define SZ_512K 0x00080000 | ||
39 | |||
40 | #define SZ_1M 0x00100000 | ||
41 | #define SZ_2M 0x00200000 | ||
42 | #define SZ_4M 0x00400000 | ||
43 | #define SZ_8M 0x00800000 | ||
44 | #define SZ_16M 0x01000000 | ||
45 | #define SZ_32M 0x02000000 | ||
46 | #define SZ_64M 0x04000000 | ||
47 | #define SZ_128M 0x08000000 | ||
48 | #define SZ_256M 0x10000000 | ||
49 | #define SZ_512M 0x20000000 | ||
50 | |||
51 | #define SZ_1G 0x40000000 | ||
52 | #define SZ_2G 0x80000000 | ||
53 | |||
54 | #endif | ||
55 | |||
56 | /* END */ | ||