-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MIPS: Move FIXADDR_TOP into spaces.h
Memory maps and addressing quirks are normally defined in <spaces.h>. There are already three targets that need to override FIXADDR_TOP, and others exist. This will be a cleaner approach than adding lots of ifdefs in fixmap.h . Signed-off-by: Kevin Cernekee <cernekee@gmail.com> Cc: Atsushi Nemoto <anemo@mba.ocn.ne.jp> Cc: linux-mips@linux-mips.org Cc: linux-kernel@vger.kernel.org Patchwork: https://patchwork.linux-mips.org/patch/1573/ Acked-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
- Loading branch information
Kevin Cernekee
authored and
Ralf Baechle
committed
Jul 25, 2011
1 parent
d0023c4
commit 565b60d
Showing
5 changed files
with
56 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
/* | ||
* This file is subject to the terms and conditions of the GNU General Public | ||
* License. See the file "COPYING" in the main directory of this archive | ||
* for more details. | ||
* | ||
* Copyright (C) 1994 - 1999, 2000, 03, 04 Ralf Baechle | ||
* Copyright (C) 2000, 2002 Maciej W. Rozycki | ||
* Copyright (C) 1990, 1999, 2000 Silicon Graphics, Inc. | ||
*/ | ||
#ifndef _ASM_BCM63XX_SPACES_H | ||
#define _ASM_BCM63XX_SPACES_H | ||
|
||
#define FIXADDR_TOP ((unsigned long)(long)(int)0xff000000) | ||
|
||
#include <asm/mach-generic/spaces.h> | ||
|
||
#endif /* __ASM_BCM63XX_SPACES_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
/* | ||
* This file is subject to the terms and conditions of the GNU General Public | ||
* License. See the file "COPYING" in the main directory of this archive | ||
* for more details. | ||
* | ||
* Copyright (C) 1994 - 1999, 2000, 03, 04 Ralf Baechle | ||
* Copyright (C) 2000, 2002 Maciej W. Rozycki | ||
* Copyright (C) 1990, 1999, 2000 Silicon Graphics, Inc. | ||
*/ | ||
#ifndef _ASM_TX39XX_SPACES_H | ||
#define _ASM_TX39XX_SPACES_H | ||
|
||
#define FIXADDR_TOP ((unsigned long)(long)(int)0xfefe0000) | ||
|
||
#include <asm/mach-generic/spaces.h> | ||
|
||
#endif /* __ASM_TX39XX_SPACES_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
/* | ||
* This file is subject to the terms and conditions of the GNU General Public | ||
* License. See the file "COPYING" in the main directory of this archive | ||
* for more details. | ||
* | ||
* Copyright (C) 1994 - 1999, 2000, 03, 04 Ralf Baechle | ||
* Copyright (C) 2000, 2002 Maciej W. Rozycki | ||
* Copyright (C) 1990, 1999, 2000 Silicon Graphics, Inc. | ||
*/ | ||
#ifndef _ASM_TX49XX_SPACES_H | ||
#define _ASM_TX49XX_SPACES_H | ||
|
||
#define FIXADDR_TOP ((unsigned long)(long)(int)0xfefe0000) | ||
|
||
#include <asm/mach-generic/spaces.h> | ||
|
||
#endif /* __ASM_TX49XX_SPACES_H */ |