1
linux/arch/powerpc
Vitaly Bordug fc8e50e349 POWERPC: Get rid of remapping the whole immr
The stuff below cleans up the code attempting to remap the whole cpm2_immr
early, as well as places happily assuming that fact. This is more like the 2.4
legacy stuff, and is at least confusing and unclear now.

To keep the world comfortable, a new mechanism is introduced: before accessing
specific immr register/register set, one needs to map it, using cpm2_map(<reg>),
for instance, access to CPM command register will look like
	volatile cpm_cpm2_t *cp = cpm2_map(im_cpm);
keeping the code clear, yet without "already defined somewhere" cpm2_immr.

So far, unmapping code is not implemented, but it's not a big deal to add it,
if the whole idea makes sense.

Signed-off-by: Vitaly Bordug <vbordug@ru.mvista.com>
2006-09-21 22:37:58 +04:00
..
boot POWERPC: Add support for the mpc8560 eval board 2006-09-21 22:31:26 +04:00
configs POWERPC: Add support for the mpc8560 eval board 2006-09-21 22:31:26 +04:00
kernel [POWERPC] Fix non-smp build 2006-09-14 10:36:11 +10:00
lib POWERPC: Move generic cpm2 stuff to powerpc 2006-09-21 22:18:53 +04:00
math-emu
mm Merge branch 'merge' 2006-08-25 14:56:07 +10:00
oprofile
platforms POWERPC: Add support for the mpc8560 eval board 2006-09-21 22:31:26 +04:00
sysdev POWERPC: Get rid of remapping the whole immr 2006-09-21 22:37:58 +04:00
xmon [POWERPC] print backtrace when entering xmon 2006-09-13 18:39:53 +10:00
Kconfig Merge branch 'linux-2.6' 2006-09-14 07:07:18 +10:00
Kconfig.debug [POWERPC] print backtrace when entering xmon 2006-09-13 18:39:53 +10:00
Makefile