Linus Walleij dc890c2dcd [ARM] 5544/1: Trust PrimeCell resource sizes
I found the PrimeCell/AMBA Bus drivers distrusting the resource
passed in as part of the struct amba_device abstraction. This
patch removes all hard coded resource sizes found in the PrimeCell
drivers and move the responsibility of this definition back to
the platform/board device definition, which already exist and
appear to be correct for all in-tree users of these drivers.
We do this using the resource_size() inline function which was
also replicated in the only driver using the resource size, so
that has been changed too. The KMI_SIZE was left in kmi.h in case
someone likes it. Test-compiled against Versatile and Integrator
defconfigs, seems to work but I don't posess these boards and
cannot test them.

Signed-off-by: Linus Walleij <linus.walleij@stericsson.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2009-06-11 15:36:56 +01:00
..
2009-04-16 14:12:22 +09:00
2009-04-02 01:05:32 +00:00
2009-02-11 14:25:36 -08:00
2009-01-06 15:59:25 -08:00
2009-04-21 13:41:50 -07:00
2009-01-04 13:33:20 -08:00
2009-02-05 12:56:46 -08:00
2009-01-06 15:59:25 -08:00
2008-10-20 08:52:41 -07:00
2009-01-06 15:59:24 -08:00
2009-04-01 08:59:24 -07:00
2008-10-20 08:52:41 -07:00
2008-10-20 08:52:41 -07:00
2008-10-20 08:52:41 -07:00
2009-01-06 15:59:24 -08:00
2009-01-11 01:34:24 +01:00
2009-04-02 01:05:32 +00:00
2008-10-20 08:52:41 -07:00
2009-04-16 14:12:22 +09:00
2008-11-21 01:24:38 -08:00
2008-11-14 16:37:54 -08:00
2009-01-06 15:59:25 -08:00
2009-04-01 08:59:26 -07:00
2008-10-20 08:52:41 -07:00