wdenk | bb2d927 | 2003-06-25 22:26:29 +0000 | [diff] [blame] | 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 | */ |
wdenk | bb2d927 | 2003-06-25 22:26:29 +0000 | [diff] [blame] | 16 | /* Size defintions |
| 17 | * Copyright (C) ARM Limited 1998. All rights reserved. |
| 18 | */ |
| 19 | |
| 20 | #ifndef __sizes_h |
| 21 | #define __sizes_h 1 |
| 22 | |
| 23 | /* handy sizes */ |
| 24 | #define SZ_1K 0x00000400 |
| 25 | #define SZ_4K 0x00001000 |
| 26 | #define SZ_8K 0x00002000 |
| 27 | #define SZ_16K 0x00004000 |
Andreas Bießmann | c959998 | 2010-09-24 23:31:43 +0200 | [diff] [blame^] | 28 | #define SZ_32K 0x00008000 |
wdenk | bb2d927 | 2003-06-25 22:26:29 +0000 | [diff] [blame] | 29 | #define SZ_64K 0x00010000 |
| 30 | #define SZ_128K 0x00020000 |
| 31 | #define SZ_256K 0x00040000 |
| 32 | #define SZ_512K 0x00080000 |
| 33 | |
| 34 | #define SZ_1M 0x00100000 |
| 35 | #define SZ_2M 0x00200000 |
| 36 | #define SZ_4M 0x00400000 |
| 37 | #define SZ_8M 0x00800000 |
| 38 | #define SZ_16M 0x01000000 |
Andreas Bießmann | c959998 | 2010-09-24 23:31:43 +0200 | [diff] [blame^] | 39 | #define SZ_31M 0x01F00000 |
wdenk | bb2d927 | 2003-06-25 22:26:29 +0000 | [diff] [blame] | 40 | #define SZ_32M 0x02000000 |
| 41 | #define SZ_64M 0x04000000 |
| 42 | #define SZ_128M 0x08000000 |
| 43 | #define SZ_256M 0x10000000 |
| 44 | #define SZ_512M 0x20000000 |
| 45 | |
| 46 | #define SZ_1G 0x40000000 |
| 47 | #define SZ_2G 0x80000000 |
| 48 | |
| 49 | #endif |
| 50 | |
| 51 | /* END */ |