Skip to contentSkip to conversation

powerpc/fsl_lbc: Increase the number of possible lbc banks

PATCH In review [email protected] 2 participants 2 messages Jun 11, 2009 PowerPC

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 powerpc/fsl_lbc: Increase the number of possible lbc banks

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.

---
 arch/powerpc/include/asm/fsl_lbc.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
arch/powerpc/include/asm/= renamed from arch/powerpc/include/asm/fsl_lbc.h +0 -0

fsl_lbc.h
index 63a4f77..1b5a210 100644

arch/powerpc/include/asm/fsl_lbc.h +2 -2
@@ -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 */

--
1.5.6.5

#1 lore raw
Quoted 8 lines · On Jun 10, 2009, at 10:01 PM, [email protected] wrote:

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.

---
arch/powerpc/include/asm/fsl_lbc.h | 4 ++--

1 files changed, 2 insertions(+), 2 deletions(-)

fsl_lbc is not applicable to the MPC8280. Its only used for MPC83xx, MPC85xx, and MPC86xx.

- k