public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: John Otken <jotken@softadvances.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] [PATCH] Add PVRs for AMCC 440EP Rev C and 440GR Rev B
Date: Mon, 08 May 2006 16:45:25 -0500	[thread overview]
Message-ID: <445FBBF5.60604@softadvances.com> (raw)

CHANGELOG:

Add PVRs for AMCC 440EP Rev C and 440GR Rev B


(I'm a cogito newbie.  Let me know if I did anything wrong.)


diff --git a/cpu/ppc4xx/cpu.c b/cpu/ppc4xx/cpu.c
old mode 100644
new mode 100755
index 0cd72b0..d3ab889
--- a/cpu/ppc4xx/cpu.c
+++ b/cpu/ppc4xx/cpu.c
@@ -223,12 +223,20 @@ int checkcpu (void)
  	case PVR_440EP_RB: /* 440EP rev B and 440GR rev A have same PVR */
  		puts("EP Rev. B");
  		break;
+
+	case PVR_440EP_RC: /* 440EP rev C and 440GR rev B have same PVR */
+		puts("EP Rev. C");
+		break;
  #endif /*  CONFIG_440EP */

  #ifdef CONFIG_440GR
  	case PVR_440GR_RA: /* 440EP rev B and 440GR rev A have same PVR */
  		puts("GR Rev. A");
  		break;
+
+	case PVR_440GR_RB: /* 440EP rev C and 440GR rev B have same PVR */
+		puts("GR Rev. B");
+		break;
  #endif /* CONFIG_440GR */
  #endif /* CONFIG_440 */

diff --git a/include/asm-ppc/processor.h b/include/asm-ppc/processor.h
old mode 100644
new mode 100755
index 8113783..9ff03af
--- a/include/asm-ppc/processor.h
+++ b/include/asm-ppc/processor.h
@@ -725,7 +725,9 @@
  #define PVR_440GP_RC	0x40120481
  #define PVR_440EP_RA	0x42221850
  #define PVR_440EP_RB	0x422218D3 /* 440EP rev B and 440GR rev A have same PVR */
+#define PVR_440EP_RC	0x422218D4 /* 440EP rev C and 440GR rev B have same PVR */
  #define PVR_440GR_RA	0x422218D3 /* 440EP rev B and 440GR rev A have same PVR */
+#define PVR_440GR_RB	0x422218D4 /* 440EP rev C and 440GR rev B have same PVR */
  #define PVR_440GX_RA	0x51B21850
  #define PVR_440GX_RB	0x51B21851
  #define PVR_440GX_RC	0x51B21892

                 reply	other threads:[~2006-05-08 21:45 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=445FBBF5.60604@softadvances.com \
    --to=jotken@softadvances.com \
    --cc=u-boot@lists.denx.de \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox