b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame^] | 1 | /* |
| 2 | * linux/arch/arm/mach-mmp/include/mach/memory.h |
| 3 | * |
| 4 | * This program is free software; you can redistribute it and/or modify |
| 5 | * it under the terms of the GNU General Public License version 2 as |
| 6 | * published by the Free Software Foundation. |
| 7 | */ |
| 8 | |
| 9 | #ifndef __ASM_MACH_MEMORY_H |
| 10 | #define __ASM_MACH_MEMORY_H |
| 11 | |
| 12 | #if defined(CONFIG_CRASH_DUMP) |
| 13 | #define PLAT_PHYS_OFFSET UL(0x06000000) |
| 14 | #elif defined(CONFIG_TZ_HYPERVISOR) |
| 15 | #define PLAT_PHYS_OFFSET UL(0x01000000) |
| 16 | #else |
| 17 | #define PLAT_PHYS_OFFSET UL(0x00000000) |
| 18 | #endif |
| 19 | |
| 20 | #endif /* __ASM_MACH_MEMORY_H */ |