All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH][v2] powerpc/83xx: Add support for get_svr() for 83xx devices
@ 2014-01-03  6:41 Nikhil Badola
  2014-01-21 22:58 ` York Sun
  0 siblings, 1 reply; 2+ messages in thread
From: Nikhil Badola @ 2014-01-03  6:41 UTC (permalink / raw)
  To: u-boot

From: Ramneek Mehresh <ramneek.mehresh@freescale.com>

Defines get_svr() for 83xx devices

Signed-off-by: Ramneek Mehresh <ramneek.mehresh@freescale.com>
---
Changes for v2:
	- Changed patch heading

 arch/powerpc/cpu/mpc83xx/start.S | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/arch/powerpc/cpu/mpc83xx/start.S b/arch/powerpc/cpu/mpc83xx/start.S
index b4fafe6..7f74a50 100644
--- a/arch/powerpc/cpu/mpc83xx/start.S
+++ b/arch/powerpc/cpu/mpc83xx/start.S
@@ -120,6 +120,11 @@ disable_addr_trans:
 	mtspr	SRR1, r3
 	rfi
 
+	.globl get_svr
+get_svr:
+	mfspr	r3, SVR
+	blr
+
 	.globl get_pvr
 get_pvr:
 	mfspr	r3, PVR
-- 
1.7.11.7

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

* [U-Boot] [PATCH][v2] powerpc/83xx: Add support for get_svr() for 83xx devices
  2014-01-03  6:41 [U-Boot] [PATCH][v2] powerpc/83xx: Add support for get_svr() for 83xx devices Nikhil Badola
@ 2014-01-21 22:58 ` York Sun
  0 siblings, 0 replies; 2+ messages in thread
From: York Sun @ 2014-01-21 22:58 UTC (permalink / raw)
  To: u-boot

On 01/02/2014 10:41 PM, Nikhil Badola wrote:
> From: Ramneek Mehresh <ramneek.mehresh@freescale.com>
> 
> Defines get_svr() for 83xx devices
> 
> Signed-off-by: Ramneek Mehresh <ramneek.mehresh@freescale.com>
> ---
> Changes for v2:
> 	- Changed patch heading
> 

Applied to u-boot-mpc85xx master branch. Awaiting upstream.

York

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

end of thread, other threads:[~2014-01-21 22:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-03  6:41 [U-Boot] [PATCH][v2] powerpc/83xx: Add support for get_svr() for 83xx devices Nikhil Badola
2014-01-21 22:58 ` York Sun

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.