m68knommu: make ColdFire Interrupt Source register definitions absolute addresses
authorGreg Ungerer <gerg@uclinux.org>
Fri, 17 Aug 2012 06:48:16 +0000 (16:48 +1000)
committerGreg Ungerer <gerg@uclinux.org>
Thu, 27 Sep 2012 13:33:50 +0000 (23:33 +1000)
commitc986a3d520395604ca29a7fb9fca60a455abcc44
tree4b7106fc2ce8945cdca7d0d7c55a239c5a901503
parenta45f56b272e59527e41d7fbfc9b49dac9b90644c
m68knommu: make ColdFire Interrupt Source register definitions absolute addresses

Make all definitions of the ColdFire Interrupt Source 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 absolute
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/m5272sim.h
arch/m68k/include/asm/m5307sim.h
arch/m68k/include/asm/m5407sim.h
arch/m68k/platform/coldfire/device.c
arch/m68k/platform/coldfire/intc-5272.c
arch/m68k/platform/coldfire/m5249.c
arch/m68k/platform/coldfire/m525x.c
arch/m68k/platform/coldfire/timers.c