Commit | Line | Data |
---|---|---|
5eb3da72 SS |
1 | /* |
2 | * Copyright 2014 Texas Instruments, Inc. | |
3 | * Santosh Shilimkar <santosh.shilimkar@ti.com> | |
4 | * | |
5 | * This program is free software; you can redistribute it and/or modify it | |
6 | * under the terms and conditions of the GNU General Public License, | |
7 | * version 2, as published by the Free Software Foundation. | |
8 | */ | |
9 | #ifndef __MEMORY_H | |
10 | #define __MEMORY_H | |
11 | ||
12 | #define MAX_PHYSMEM_BITS 36 | |
13 | #define SECTION_SIZE_BITS 34 | |
14 | ||
15 | #define KEYSTONE_LOW_PHYS_START 0x80000000ULL | |
16 | #define KEYSTONE_LOW_PHYS_SIZE 0x80000000ULL /* 2G */ | |
17 | #define KEYSTONE_LOW_PHYS_END (KEYSTONE_LOW_PHYS_START + \ | |
18 | KEYSTONE_LOW_PHYS_SIZE - 1) | |
19 | ||
20 | #define KEYSTONE_HIGH_PHYS_START 0x800000000ULL | |
21 | #define KEYSTONE_HIGH_PHYS_SIZE 0x400000000ULL /* 16G */ | |
22 | #define KEYSTONE_HIGH_PHYS_END (KEYSTONE_HIGH_PHYS_START + \ | |
23 | KEYSTONE_HIGH_PHYS_SIZE - 1) | |
24 | #endif /* __MEMORY_H */ |