powerpc/axonram: Enable partitioning of the Axons DDR2 DIMMs
authorMaxim Shchetynin <maxim@de.ibm.com>
Tue, 15 Jul 2008 19:51:42 +0000 (05:51 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 22 Jul 2008 00:39:31 +0000 (10:39 +1000)
commit8204cba7fa0ca0752fdaec021dae2634788178aa
tree4cbaa53ba45a43af73014ccd7781ad8ada734e38
parent9a23409b69440e76d34dc23846cae44f46f60d98
powerpc/axonram: Enable partitioning of the Axons DDR2 DIMMs

DDR2 memory DIMMs on the Axon could be accessed only as one partition
when using file system drivers which are using the direct_access() method.
This patch enables for such file system drivers to access Axon's DDR2 memory
even if it is splitted in several partitions.

Signed-off-by: Maxim Shchetynin <maxim@de.ibm.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/sysdev/axonram.c