diff options
Diffstat (limited to 'arch/arm/mach-gemini/include/mach/memory.h')
| -rw-r--r-- | arch/arm/mach-gemini/include/mach/memory.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/arch/arm/mach-gemini/include/mach/memory.h b/arch/arm/mach-gemini/include/mach/memory.h new file mode 100644 index 00000000000..a50915f764d --- /dev/null +++ b/arch/arm/mach-gemini/include/mach/memory.h | |||
| @@ -0,0 +1,19 @@ | |||
| 1 | /* | ||
| 2 | * Copyright (C) 2001-2006 Storlink, Corp. | ||
| 3 | * Copyright (C) 2008-2009 Paulius Zaleckas <paulius.zaleckas@teltonika.lt> | ||
| 4 | * | ||
| 5 | * This program is free software; you can redistribute it and/or modify | ||
| 6 | * it under the terms of the GNU General Public License as published by | ||
| 7 | * the Free Software Foundation; either version 2 of the License, or | ||
| 8 | * (at your option) any later version. | ||
| 9 | */ | ||
| 10 | #ifndef __MACH_MEMORY_H | ||
| 11 | #define __MACH_MEMORY_H | ||
| 12 | |||
| 13 | #ifdef CONFIG_GEMINI_MEM_SWAP | ||
| 14 | # define PLAT_PHYS_OFFSET UL(0x00000000) | ||
| 15 | #else | ||
| 16 | # define PLAT_PHYS_OFFSET UL(0x10000000) | ||
| 17 | #endif | ||
| 18 | |||
| 19 | #endif /* __MACH_MEMORY_H */ | ||
