[PATCH] ppc32: Fix static IO mapping for Freescale MPC52xx
authorSylvain Munaut <tnt@246tNt.com>
Fri, 6 Jan 2006 08:11:34 +0000 (00:11 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 6 Jan 2006 16:33:31 +0000 (08:33 -0800)
commit4aa7c80193c561e52c06351e0f521e697954a859
tree97aeb99b3e58355601a2aefd508f9b6f4e991421
parentd62de3aa8ac762c09845aa38634a845da55f31dc
[PATCH] ppc32: Fix static IO mapping for Freescale MPC52xx

The current iomapping used MBAR_SIZE for the size argument of
io_block_mapping, resulting in a call to setbat with a size argument of 64k
which is invalid.

This patch correct this and maps the whole 0xf0000000->0xffffffff range so
that devices on the local bus are also included in the BAT mapping.

Thanks to Bernhard Kuhn from Metrowerks for pointing this out.

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/ppc/syslib/mpc52xx_setup.c