]> git.baikalelectronics.ru Git - kernel.git/commit
m68knommu: make ColdFire SYPCR and RSR register definitions absolute addresses
authorGreg Ungerer <gerg@uclinux.org>
Sun, 15 Jul 2012 11:55:01 +0000 (21:55 +1000)
committerGreg Ungerer <gerg@uclinux.org>
Thu, 27 Sep 2012 13:33:47 +0000 (23:33 +1000)
commit288986917a9efbe5ac008544605acda6e6e5bf5b
tree04a5e228b586561c274d1267b907f5b062ee0018
parente92ab934a476c4f0a2fc19f2f6e289ac8d968647
m68knommu: make ColdFire SYPCR and RSR register definitions absolute addresses

Make all definitions of the ColdFire Reset and System registers absolute
addresses. Currently some are relative to the MBAR peripheral region.

The various ColdFire parts use different methods to address the internal
registers, some are absolute, some are relative to peripheral regions
which can be mapped at different address ranges (such as the MBAR and IPSBAR
registers). We don't want to deal with this in the code when we are
accessing these registers, so make all register definitions the abolsute
address - factoring out whether it is an offset into a peripheral region.

This makes them all consistently defined, and reduces the occasional bugs
caused by inconsistent definition of the register addresses.

Signed-off-by: Greg Ungerer <gerg@uclinux.org>
arch/m68k/include/asm/m5206sim.h
arch/m68k/include/asm/m5249sim.h
arch/m68k/include/asm/m525xsim.h
arch/m68k/include/asm/m5307sim.h
arch/m68k/include/asm/m5407sim.h
arch/m68k/platform/coldfire/reset.c