blob: 316bb2b2be3dd7ca64638ea2d13d502e66ee5fde [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001/*
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 */
Linus Torvalds1da177e2005-04-16 15:20:36 -070016/* Size definitions
17 * Copyright (C) ARM Limited 1998. All rights reserved.
18 */
19
20#ifndef __sizes_h
21#define __sizes_h 1
22
23/* handy sizes */
Andrew Victor54cb1282007-05-11 20:09:41 +010024#define SZ_16 0x00000010
Stephen Warren537de3a2010-12-22 04:52:05 +010025#define SZ_32 0x00000020
26#define SZ_64 0x00000040
27#define SZ_128 0x00000080
Andrew Victor54cb1282007-05-11 20:09:41 +010028#define SZ_256 0x00000100
29#define SZ_512 0x00000200
30
Linus Torvalds1da177e2005-04-16 15:20:36 -070031#define SZ_1K 0x00000400
Nicolas Pitrec1191b02009-06-02 21:43:45 -040032#define SZ_2K 0x00000800
Linus Torvalds1da177e2005-04-16 15:20:36 -070033#define SZ_4K 0x00001000
34#define SZ_8K 0x00002000
35#define SZ_16K 0x00004000
Linus Walleij8bd239d2009-04-08 01:32:20 +010036#define SZ_32K 0x00008000
Linus Torvalds1da177e2005-04-16 15:20:36 -070037#define SZ_64K 0x00010000
38#define SZ_128K 0x00020000
39#define SZ_256K 0x00040000
40#define SZ_512K 0x00080000
41
42#define SZ_1M 0x00100000
43#define SZ_2M 0x00200000
44#define SZ_4M 0x00400000
45#define SZ_8M 0x00800000
46#define SZ_16M 0x01000000
47#define SZ_32M 0x02000000
Krzysztof HaƂasa0a072322009-03-13 17:57:04 +010048#define SZ_48M 0x03000000
Linus Torvalds1da177e2005-04-16 15:20:36 -070049#define SZ_64M 0x04000000
50#define SZ_128M 0x08000000
51#define SZ_256M 0x10000000
52#define SZ_512M 0x20000000
53
54#define SZ_1G 0x40000000
55#define SZ_2G 0x80000000
56
57#endif
58
59/* END */