linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* 405LP EBC setup fix
@ 2002-12-17 18:51 Hollis Blanchard
  2002-12-18  0:59 ` David Gibson
  0 siblings, 1 reply; 2+ messages in thread
From: Hollis Blanchard @ 2002-12-17 18:51 UTC (permalink / raw)
  To: embedded list

[-- Attachment #1: Type: text/plain, Size: 275 bytes --]

EBC0_B0CR should be set as 16-bit; through an ifdef merging typo it is
currently set incorrectly as 8-bit. This prevents 405LP wakeup from
succeeding and needs to be fixed.

Please apply to _2_4_devel and 2.5.

-Hollis
-- 
PowerPC Linux
IBM Linux Technology Center

[-- Attachment #2: 405LP-EBC0_B0CR-2.4.diff --]
[-- Type: text/plain, Size: 497 bytes --]

===== arch/ppc/platforms/beech.c 1.9 vs edited =====
--- 1.9/arch/ppc/platforms/beech.c	Thu Dec 12 17:06:37 2002
+++ edited/arch/ppc/platforms/beech.c	Tue Dec 17 11:29:58 2002
@@ -180,7 +180,7 @@
 	    (mfdcri(DCRN_EBC0, BnCR(0)) & EBC0_BnCR_MASK);
 	cr.fields.bs = BEECH_BANK0_EBC_SIZE;
 	cr.fields.bu = EBC0_BnCR_BU_RW;
-	cr.fields.bw = EBC0_BnCR_BW_8;
+	cr.fields.bw = EBC0_BnCR_BW_16;
 	mtdcri(DCRN_EBC0, BnCR(0), cr.reg);
 
 	ap.reg = mfdcri(DCRN_EBC0, BnAP(0)) & EBC0_BnAP_MASK;

[-- Attachment #3: 405LP-EBC0_B0CR-2.5.diff --]
[-- Type: text/plain, Size: 509 bytes --]

===== arch/ppc/platforms/4xx/beech.c 1.9 vs edited =====
--- 1.9/arch/ppc/platforms/4xx/beech.c	Thu Dec 12 17:06:37 2002
+++ edited/arch/ppc/platforms/4xx/beech.c	Tue Dec 17 11:29:58 2002
@@ -180,7 +180,7 @@
 	    (mfdcri(DCRN_EBC0, BnCR(0)) & EBC0_BnCR_MASK);
 	cr.fields.bs = BEECH_BANK0_EBC_SIZE;
 	cr.fields.bu = EBC0_BnCR_BU_RW;
-	cr.fields.bw = EBC0_BnCR_BW_8;
+	cr.fields.bw = EBC0_BnCR_BW_16;
 	mtdcri(DCRN_EBC0, BnCR(0), cr.reg);
 
 	ap.reg = mfdcri(DCRN_EBC0, BnAP(0)) & EBC0_BnAP_MASK;

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

* Re: 405LP EBC setup fix
  2002-12-17 18:51 405LP EBC setup fix Hollis Blanchard
@ 2002-12-18  0:59 ` David Gibson
  0 siblings, 0 replies; 2+ messages in thread
From: David Gibson @ 2002-12-18  0:59 UTC (permalink / raw)
  To: Hollis Blanchard; +Cc: embedded list


On Tue, Dec 17, 2002 at 12:51:18PM -0600, Hollis Blanchard wrote:
> EBC0_B0CR should be set as 16-bit; through an ifdef merging typo it is
> currently set incorrectly as 8-bit. This prevents 405LP wakeup from
> succeeding and needs to be fixed.
>
> Please apply to _2_4_devel and 2.5.

I've applied this to _2_4_devel, but not to 2.5 (I'm not really
up-to-date on 2.5 at the moment).

--
David Gibson			| For every complex problem there is a
david@gibson.dropbear.id.au	| solution which is simple, neat and
				| wrong.
http://www.ozlabs.org/people/dgibson

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

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

end of thread, other threads:[~2002-12-18  0:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-17 18:51 405LP EBC setup fix Hollis Blanchard
2002-12-18  0:59 ` David Gibson

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).