linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] powerpc/fsl_lbc: Increase the number of possible lbc banks
@ 2009-06-11  3:01 mware
  2009-06-11  4:33 ` Kumar Gala
  0 siblings, 1 reply; 2+ messages in thread
From: mware @ 2009-06-11  3:01 UTC (permalink / raw)
  To: linuxppc-dev

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>
---
 arch/powerpc/include/asm/fsl_lbc.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/powerpc/include/asm/fsl_lbc.h b/arch/powerpc/include/asm/=
fsl_lbc.h
index 63a4f77..1b5a210 100644
--- a/arch/powerpc/include/asm/fsl_lbc.h
+++ b/arch/powerpc/include/asm/fsl_lbc.h
@@ -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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] powerpc/fsl_lbc: Increase the number of possible lbc banks
  2009-06-11  3:01 [PATCH] powerpc/fsl_lbc: Increase the number of possible lbc banks mware
@ 2009-06-11  4:33 ` Kumar Gala
  0 siblings, 0 replies; 2+ messages in thread
From: Kumar Gala @ 2009-06-11  4:33 UTC (permalink / raw)
  To: mware; +Cc: linuxppc-dev


On Jun 10, 2009, at 10:01 PM, mware@internode.on.net 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.
>
> Signed-Off-By: Mark Ware <mware@elphinstone.net>
> ---
> 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-06-11  4:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-11  3:01 [PATCH] powerpc/fsl_lbc: Increase the number of possible lbc banks mware
2009-06-11  4:33 ` Kumar Gala

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).