summaryrefslogtreecommitdiffstats
path: root/arch/m68k/platform
diff options
context:
space:
mode:
authorGreg Ungerer <gerg@uclinux.org>2012-02-19 16:34:58 +1000
committerGreg Ungerer <gerg@uclinux.org>2012-03-05 10:42:27 +1000
commit645e5333ec9088da08a1db619561de9c93c70634 (patch)
tree40853706c6568e62159f3460a67169a6e3af88bd /arch/m68k/platform
parent0b2a2139056a05dde934e715739c361d8c01e523 (diff)
downloadop-kernel-dev-645e5333ec9088da08a1db619561de9c93c70634.zip
op-kernel-dev-645e5333ec9088da08a1db619561de9c93c70634.tar.gz
m68knommu: make 528x CPU reset register addressing consistent
If we make all MCF_RCR (CPU reset register) addressing consistent across all ColdFire CPU family members that use it then we will be able to remove the duplicated copies of the code that use it. Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Diffstat (limited to 'arch/m68k/platform')
-rw-r--r--arch/m68k/platform/528x/config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/m68k/platform/528x/config.c b/arch/m68k/platform/528x/config.c
index 98decc6..d203b1b 100644
--- a/arch/m68k/platform/528x/config.c
+++ b/arch/m68k/platform/528x/config.c
@@ -63,7 +63,7 @@ static void __init m528x_fec_init(void)
static void m528x_cpu_reset(void)
{
local_irq_disable();
- __raw_writeb(MCF_RCR_SWRESET, MCF_IPSBAR + MCF_RCR);
+ __raw_writeb(MCF_RCR_SWRESET, MCF_RCR);
}
/***************************************************************************/
OpenPOWER on IntegriCloud