Florian Fainelli | 7ca5dc1 | 2009-06-24 11:12:57 +0200 | [diff] [blame] | 1 | /* |
| 2 | * This file is subject to the terms and conditions of the GNU General Public |
| 3 | * License. See the file "COPYING" in the main directory of this archive |
| 4 | * for more details. |
| 5 | * |
| 6 | * Copyright (C) 1994 - 1999, 2000, 03, 04 Ralf Baechle |
| 7 | * Copyright (C) 2000, 2002 Maciej W. Rozycki |
| 8 | * Copyright (C) 1990, 1999, 2000 Silicon Graphics, Inc. |
| 9 | */ |
| 10 | #ifndef _ASM_AR7_SPACES_H |
| 11 | #define _ASM_AR7_SPACES_H |
| 12 | |
| 13 | /* |
| 14 | * This handles the memory map. |
| 15 | * We handle pages at KSEG0 for kernels with 32 bit address space. |
| 16 | */ |
Leonid Yegoshin | ed3ce16 | 2013-06-20 14:36:30 +0000 | [diff] [blame] | 17 | #define PAGE_OFFSET _AC(0x94000000, UL) |
| 18 | #define PHYS_OFFSET _AC(0x14000000, UL) |
| 19 | |
| 20 | #define UNCAC_BASE _AC(0xb4000000, UL) /* 0xa0000000 + PHYS_OFFSET */ |
| 21 | #define IO_BASE UNCAC_BASE |
Florian Fainelli | 7ca5dc1 | 2009-06-24 11:12:57 +0200 | [diff] [blame] | 22 | |
| 23 | #include <asm/mach-generic/spaces.h> |
| 24 | |
| 25 | #endif /* __ASM_AR7_SPACES_H */ |