]> err.no Git - linux-2.6/commit
[ARM] Orion: DRAM mapping granularity is 64KiB, not 16MiB
authorLennert Buytenhek <buytenh@wantstofly.org>
Fri, 23 May 2008 06:34:42 +0000 (08:34 +0200)
committerLennert Buytenhek <buytenh@marvell.com>
Sun, 22 Jun 2008 20:44:41 +0000 (22:44 +0200)
commit4fc338e38f08f0a91e35ab386abae48eb033dbb2
tree9f7c87c87bcff36eb14bfe0a96df585f4589b9bd
parenta18b658449e6677aba2bf8dcd3593adecff6fe4d
[ARM] Orion: DRAM mapping granularity is 64KiB, not 16MiB

The DRAM base address and size fields in the CPU's MBUS bridge have
64KiB granularity, instead of the currently used 16MiB.  Since all
of the currently supported MBUS peripherals support 64KiB granularity
as well, this patch changes the Orion address map code to stop
rounding base addresses down and sizes up to multiples of 16MiB.

Found by Ke Wei <kewei@marvell.com>.

Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
Acked-by: Russell King <linux@arm.linux.org.uk>
arch/arm/mach-orion5x/addr-map.c