wdenk | bb2d927 | 2003-06-25 22:26:29 +0000 | [diff] [blame] | 1 | /* |
Wolfgang Denk | d79de1d | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 2 | * SPDX-License-Identifier: GPL-2.0+ |
wdenk | bb2d927 | 2003-06-25 22:26:29 +0000 | [diff] [blame] | 3 | */ |
wdenk | bb2d927 | 2003-06-25 22:26:29 +0000 | [diff] [blame] | 4 | /* Size defintions |
| 5 | * Copyright (C) ARM Limited 1998. All rights reserved. |
| 6 | */ |
| 7 | |
| 8 | #ifndef __sizes_h |
| 9 | #define __sizes_h 1 |
| 10 | |
| 11 | /* handy sizes */ |
| 12 | #define SZ_1K 0x00000400 |
| 13 | #define SZ_4K 0x00001000 |
| 14 | #define SZ_8K 0x00002000 |
| 15 | #define SZ_16K 0x00004000 |
Andreas Bießmann | c959998 | 2010-09-24 23:31:43 +0200 | [diff] [blame] | 16 | #define SZ_32K 0x00008000 |
wdenk | bb2d927 | 2003-06-25 22:26:29 +0000 | [diff] [blame] | 17 | #define SZ_64K 0x00010000 |
| 18 | #define SZ_128K 0x00020000 |
| 19 | #define SZ_256K 0x00040000 |
| 20 | #define SZ_512K 0x00080000 |
| 21 | |
| 22 | #define SZ_1M 0x00100000 |
| 23 | #define SZ_2M 0x00200000 |
| 24 | #define SZ_4M 0x00400000 |
| 25 | #define SZ_8M 0x00800000 |
| 26 | #define SZ_16M 0x01000000 |
Andreas Bießmann | c959998 | 2010-09-24 23:31:43 +0200 | [diff] [blame] | 27 | #define SZ_31M 0x01F00000 |
wdenk | bb2d927 | 2003-06-25 22:26:29 +0000 | [diff] [blame] | 28 | #define SZ_32M 0x02000000 |
| 29 | #define SZ_64M 0x04000000 |
| 30 | #define SZ_128M 0x08000000 |
| 31 | #define SZ_256M 0x10000000 |
| 32 | #define SZ_512M 0x20000000 |
| 33 | |
| 34 | #define SZ_1G 0x40000000 |
| 35 | #define SZ_2G 0x80000000 |
| 36 | |
| 37 | #endif |
| 38 | |
| 39 | /* END */ |