]> git.baikalelectronics.ru Git - kernel.git/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)
commitc2124b400a281615c83c7482e42b06e85ed9c81a
tree9f7c87c87bcff36eb14bfe0a96df585f4589b9bd
parent1114c9778105345ed6d66c4d9af1ed2fe661a60d
[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