]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
powerpc/fsl: Increase the number of possible localbus banks
authormware@internode.on.net <mware@internode.on.net>
Wed, 10 Jun 2009 17:01:19 +0000 (17:01 +0000)
committerKumar Gala <galak@kernel.crashing.org>
Tue, 16 Jun 2009 02:45:32 +0000 (21:45 -0500)
Currently the fsl,*lbc devices support 8 banks (ie OR and BR registers).
This is adequate for most pq2 and pq3 processors, but not the MPC8280 which
has 12 banks.

Signed-Off-By: Mark Ware <mware@elphinstone.net>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/include/asm/fsl_lbc.h

index 63a4f779f5312d54281373c29bd319ce74a4f6ca..1b5a21041f9bf96319a7de869005a3833f8666b6 100644 (file)
@@ -95,8 +95,8 @@ struct fsl_lbc_bank {
 };
 
 struct fsl_lbc_regs {
-       struct fsl_lbc_bank bank[8];
-       u8 res0[0x28];
+       struct fsl_lbc_bank bank[12];
+       u8 res0[0x8];
        __be32 mar;             /**< UPM Address Register */
        u8 res1[0x4];
        __be32 mamr;            /**< UPMA Mode Register */