Commit 931e1bfe authored by Thomas Bogendoerfer's avatar Thomas Bogendoerfer Committed by Paul Burton

MIPS: SGI-IP22: set PHYS_OFFSET to memory start

IP22 started at physical 0x08000000. To avoid wasting memory for
page structs set PHYS_OFFSET.
Signed-off-by: default avatarThomas Bogendoerfer <tbogendoerfer@suse.de>
Signed-off-by: default avatarPaul Burton <paul.burton@mips.com>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: James Hogan <jhogan@kernel.org>
Cc: linux-mips@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
parent 351889d3
...@@ -10,11 +10,10 @@ ...@@ -10,11 +10,10 @@
#ifndef _ASM_MACH_IP22_SPACES_H #ifndef _ASM_MACH_IP22_SPACES_H
#define _ASM_MACH_IP22_SPACES_H #define _ASM_MACH_IP22_SPACES_H
#define PHYS_OFFSET _AC(0x08000000, UL)
#ifdef CONFIG_64BIT #ifdef CONFIG_64BIT
#define PAGE_OFFSET 0xffffffff80000000UL
#define CAC_BASE 0xffffffff80000000 #define CAC_BASE 0xffffffff80000000
#define IO_BASE 0xffffffffa0000000 #define IO_BASE 0xffffffffa0000000
#define UNCAC_BASE 0xffffffffa0000000 #define UNCAC_BASE 0xffffffffa0000000
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment