diff options
author | Greg Ungerer <gerg@uclinux.org> | 2011-03-05 09:20:01 -0500 |
---|---|---|
committer | Greg Ungerer <gerg@uclinux.org> | 2011-03-15 07:01:54 -0400 |
commit | a0ba4332a2cb110d6ef7695e64887396ab7d09d6 (patch) | |
tree | 5ee42d93979133ee6ba186c267d0e1dce53a8b62 /arch/m68k | |
parent | 9a6b0c73afa702eee1803e664eae1b951faf895c (diff) |
m68knommu: remove use of MBAR value for ColdFire 528x peripheral addressing
The ColdFire 528x family of CPUs does not have an MBAR register, so don't
define its peripheral addresses relative to one. Its internal peripherals
are relative to the IPSBAR register, so make sure to use that.
Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Diffstat (limited to 'arch/m68k')
-rw-r--r-- | arch/m68k/include/asm/m528xsim.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/arch/m68k/include/asm/m528xsim.h b/arch/m68k/include/asm/m528xsim.h index 014098a7de89..d7c92419f2b5 100644 --- a/arch/m68k/include/asm/m528xsim.h +++ b/arch/m68k/include/asm/m528xsim.h | |||
@@ -49,9 +49,15 @@ | |||
49 | /* | 49 | /* |
50 | * UART module. | 50 | * UART module. |
51 | */ | 51 | */ |
52 | #define MCFUART_BASE1 0x200 /* Base address of UART1 */ | 52 | #define MCFUART_BASE1 (MCF_IPSBAR + 0x00000200) |
53 | #define MCFUART_BASE2 0x240 /* Base address of UART2 */ | 53 | #define MCFUART_BASE2 (MCF_IPSBAR + 0x00000240) |
54 | #define MCFUART_BASE3 0x280 /* Base address of UART3 */ | 54 | #define MCFUART_BASE3 (MCF_IPSBAR + 0x00000280) |
55 | |||
56 | /* | ||
57 | * FEC ethernet module. | ||
58 | */ | ||
59 | #define MCFFEC_BASE (MCF_IPSBAR + 0x00001000) | ||
60 | #define MCFFEC_SIZE 0x800 | ||
55 | 61 | ||
56 | /* | 62 | /* |
57 | * GPIO registers | 63 | * GPIO registers |