arch/mips/include/asm/mach-ip30/spaces.h
raw| 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
| 2 | /* |
| 3 | * Copyright (C) 2016 Joshua Kinard <[email protected]> |
| 4 | * |
| 5 | */ |
| 6 | #ifndef _ASM_MACH_IP30_SPACES_H |
| 7 | #define _ASM_MACH_IP30_SPACES_H |
| 8 | |
| 9 | /* |
| 10 | * Memory in IP30/Octane is offset 512MB in the physical address space. |
| 11 | */ |
| 12 | #define PHYS_OFFSET _AC(0x20000000, UL) |
| 13 | |
| 14 | #ifdef CONFIG_64BIT |
| 15 | #define CAC_BASE _AC(0xA800000000000000, UL) |
| 16 | #endif |
| 17 | |
| 18 | #include <asm/mach-generic/spaces.h> |
| 19 | |
| 20 | #endif /* _ASM_MACH_IP30_SPACES_H */ |