]> git.baikalelectronics.ru Git - kernel.git/commit
m68knommu: make ColdFire Park and Assignment register definitions absolute addresses
authorGreg Ungerer <gerg@uclinux.org>
Fri, 14 Sep 2012 06:09:59 +0000 (16:09 +1000)
committerGreg Ungerer <gerg@uclinux.org>
Thu, 27 Sep 2012 13:33:52 +0000 (23:33 +1000)
commita22aac5df5d064ade815178d579c5dfcb6b3c207
treee613209b3d4b7d293ee5b2c43510b9ea81ebc699
parent0d1948433e7a84d1fe3897077fa9fcca4a511955
m68knommu: make ColdFire Park and Assignment register definitions absolute addresses

Make all definitions of the ColdFire MPARK and IRQ Assignment 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/m5249sim.h
arch/m68k/include/asm/m525xsim.h
arch/m68k/include/asm/m5307sim.h
arch/m68k/include/asm/m5407sim.h