diff options
author | Greg Ungerer <gerg@uclinux.org> | 2011-03-05 09:05:29 -0500 |
---|---|---|
committer | Greg Ungerer <gerg@uclinux.org> | 2011-03-15 07:01:54 -0400 |
commit | b62384afddbe7173b08420c67e6cbb22aa1ba709 (patch) | |
tree | b24bbc324e9297af0baf4cd39fe6b43ec356ebcf /arch/m68k | |
parent | 571f0608e1a53d6d405c385cc9c11b7902b35b7f (diff) |
m68knommu: remove use of MBAR value for ColdFire 523x peripheral addressing
The ColdFire 523x 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/m523xsim.h | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/arch/m68k/include/asm/m523xsim.h b/arch/m68k/include/asm/m523xsim.h index 6be94f6831ae..6e5c17a4bcb5 100644 --- a/arch/m68k/include/asm/m523xsim.h +++ b/arch/m68k/include/asm/m523xsim.h | |||
@@ -58,10 +58,19 @@ | |||
58 | /* | 58 | /* |
59 | * UART module. | 59 | * UART module. |
60 | */ | 60 | */ |
61 | #define MCFUART_BASE1 0x200 /* Base address of UART1 */ | 61 | #define MCFUART_BASE1 (MCF_IPSBAR + 0x200) |
62 | #define MCFUART_BASE2 0x240 /* Base address of UART2 */ | 62 | #define MCFUART_BASE2 (MCF_IPSBAR + 0x240) |
63 | #define MCFUART_BASE3 0x280 /* Base address of UART3 */ | 63 | #define MCFUART_BASE3 (MCF_IPSBAR + 0x280) |
64 | 64 | ||
65 | /* | ||
66 | * FEC ethernet module. | ||
67 | */ | ||
68 | #define MCFFEC_BASE (MCF_IPSBAR + 0x1000) | ||
69 | #define MCFFEC_SIZE 0x800 | ||
70 | |||
71 | /* | ||
72 | * GPIO module. | ||
73 | */ | ||
65 | #define MCFGPIO_PODR_ADDR (MCF_IPSBAR + 0x100000) | 74 | #define MCFGPIO_PODR_ADDR (MCF_IPSBAR + 0x100000) |
66 | #define MCFGPIO_PODR_DATAH (MCF_IPSBAR + 0x100001) | 75 | #define MCFGPIO_PODR_DATAH (MCF_IPSBAR + 0x100001) |
67 | #define MCFGPIO_PODR_DATAL (MCF_IPSBAR + 0x100002) | 76 | #define MCFGPIO_PODR_DATAL (MCF_IPSBAR + 0x100002) |