projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b7401d0
)
powerpc: mpc512x: Add support for get_svr() for mpc512x devices
author
Sriram Dash
<sriram.dash@nxp.com>
Fri, 14 Oct 2016 06:33:50 +0000
(12:03 +0530)
committer
York Sun
<york.sun@nxp.com>
Mon, 21 Nov 2016 17:20:32 +0000
(09:20 -0800)
Defines get_svr() for mpc512x devices
Signed-off-by: Sriram Dash <sriram.dash@nxp.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: York Sun <york.sun@nxp.com>
arch/powerpc/cpu/mpc512x/start.S
patch
|
blob
|
history
diff --git
a/arch/powerpc/cpu/mpc512x/start.S
b/arch/powerpc/cpu/mpc512x/start.S
index 471d401d49b2a211618980da88197906c2820af9..dd3066ec4c3bdbb62c99388ac031dd5ce945b38a 100644
(file)
--- a/
arch/powerpc/cpu/mpc512x/start.S
+++ b/
arch/powerpc/cpu/mpc512x/start.S
@@
-443,6
+443,11
@@
get_pvr:
mfspr r3, PVR
blr
+ .globl get_svr
+get_svr:
+ mfspr r3, SVR
+ blr
+
/*-------------------------------------------------------------------*/
/*