ARM: 5625/1: fix hard coded 4K resource size in amba bus detection
authorLeo Chen <leochen@broadcom.com>
Tue, 28 Jul 2009 22:34:59 +0000 (23:34 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 2 Sep 2009 10:21:15 +0000 (11:21 +0100)
This patch modifies the amba bus detection logic in the kernel
to detect the AMBA devices using the calculated resource
size information rather than the hard coded 4K size.

It also calculates the resource size when request mem region
and release mem region.

Signed-off-by: Leo Chen <leochen@broadcom.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

No differences found