summaryrefslogtreecommitdiffstats
path: root/arch/m68k/platform/527x/config.c
diff options
context:
space:
mode:
authorGreg Ungerer <gerg@uclinux.org>2012-02-19 16:33:11 +1000
committerGreg Ungerer <gerg@uclinux.org>2012-03-05 10:42:26 +1000
commit0b2a2139056a05dde934e715739c361d8c01e523 (patch)
tree8c95e464f8686c5491daa7f70983225d98407c41 /arch/m68k/platform/527x/config.c
parent320de7d01c19b6181c592fe8c69b00646ff28962 (diff)
downloadblackbird-op-linux-0b2a2139056a05dde934e715739c361d8c01e523.tar.gz
blackbird-op-linux-0b2a2139056a05dde934e715739c361d8c01e523.zip
m68knommu: make 527x 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/527x/config.c')
-rw-r--r--arch/m68k/platform/527x/config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/m68k/platform/527x/config.c b/arch/m68k/platform/527x/config.c
index 9bdf522d9f08..38655051bf59 100644
--- a/arch/m68k/platform/527x/config.c
+++ b/arch/m68k/platform/527x/config.c
@@ -90,7 +90,7 @@ static void __init m527x_fec_init(void)
static void m527x_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