All of lore.kernel.org
 help / color / mirror / Atom feed
From: Hollis Blanchard <hollis@austin.ibm.com>
To: embedded list <linuxppc-embedded@lists.linuxppc.org>
Subject: 405LP EBC setup fix
Date: 17 Dec 2002 12:51:18 -0600	[thread overview]
Message-ID: <1040151079.1100.119.camel@granite.austin.ibm.com> (raw)

[-- 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;

             reply	other threads:[~2002-12-17 18:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-17 18:51 Hollis Blanchard [this message]
2002-12-18  0:59 ` 405LP EBC setup fix David Gibson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1040151079.1100.119.camel@granite.austin.ibm.com \
    --to=hollis@austin.ibm.com \
    --cc=linuxppc-embedded@lists.linuxppc.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.