linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* SPRN_SVR for MPC5121e?
@ 2009-10-28 15:23 Wolfram Sang
  2009-10-29  6:26 ` Wolfgang Denk
  0 siblings, 1 reply; 3+ messages in thread
From: Wolfram Sang @ 2009-10-28 15:23 UTC (permalink / raw)
  To: linuxppc-dev

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

Hiya,

my MPC5121e (Rev2) has PVR/SVR: 0x8086_2010/0x8018_0020 (as mentioned in the manual)

I would assume that Rev1 has something like 0x8018_0010 for SVR. Seeing this
code in the Denx NFC-driver seconds that:

+	rev = (mfspr(SPRN_SVR) >> 4) & 0xF;
+	if (rev != 2) {
+		printk(KERN_ERR DRV_NAME
+				": SoC revision %u is not supported!\n", rev);
+		return -ENXIO;
+	}

Does someone here have a Rev1 and can ultimately confirm and/or supply the
complete PVR/SVR for Rev1? Couldn't find any hint neither in the manual nor in
the web.

Thanks,

   Wolfram

-- 
Pengutronix e.K.                           | Wolfram Sang                |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

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

* Re: SPRN_SVR for MPC5121e?
  2009-10-28 15:23 SPRN_SVR for MPC5121e? Wolfram Sang
@ 2009-10-29  6:26 ` Wolfgang Denk
  2009-10-30  9:14   ` Wolfram Sang
  0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Denk @ 2009-10-29  6:26 UTC (permalink / raw)
  To: Wolfram Sang; +Cc: linuxppc-dev

Dear Wolfram Sang,

In message <20091028152324.GC3920@pengutronix.de> you wrote:
> 
> my MPC5121e (Rev2) has PVR/SVR: 0x8086_2010/0x8018_0020 (as mentioned in the manual)
...
> Does someone here have a Rev1 and can ultimately confirm and/or supply the
> complete PVR/SVR for Rev1? Couldn't find any hint neither in the manual nor in
> the web.

We saw

	PVR/SVR = 0x80862010 / 0x80180010 for MPC5121
and

	PVR/SVR = 0x80862010 / 0x80180030 for MPC5123

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
Quantum particles: The dreams that stuff is made of.

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

* Re: SPRN_SVR for MPC5121e?
  2009-10-29  6:26 ` Wolfgang Denk
@ 2009-10-30  9:14   ` Wolfram Sang
  0 siblings, 0 replies; 3+ messages in thread
From: Wolfram Sang @ 2009-10-30  9:14 UTC (permalink / raw)
  To: Wolfgang Denk; +Cc: linuxppc-dev

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

> We saw
> 
> 	PVR/SVR = 0x80862010 / 0x80180010 for MPC5121
> and
> 
> 	PVR/SVR = 0x80862010 / 0x80180030 for MPC5123

Thanx a lot!

-- 
Pengutronix e.K.                           | Wolfram Sang                |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

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

end of thread, other threads:[~2009-10-30  9:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-28 15:23 SPRN_SVR for MPC5121e? Wolfram Sang
2009-10-29  6:26 ` Wolfgang Denk
2009-10-30  9:14   ` Wolfram Sang

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