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:
2eb3ac7
)
powerpc/83xx: Add support for get_svr() for 83xx devices
author
Ramneek Mehresh
<ramneek.mehresh@freescale.com>
Fri, 3 Jan 2014 06:41:55 +0000
(12:11 +0530)
committer
York Sun
<yorksun@freescale.com>
Tue, 21 Jan 2014 21:35:43 +0000
(13:35 -0800)
Defines get_svr() for 83xx devices
Signed-off-by: Ramneek Mehresh <ramneek.mehresh@freescale.com>
Reviewed-by: York Sun <yorksun@freescale.com>
arch/powerpc/cpu/mpc83xx/start.S
patch
|
blob
|
history
diff --git
a/arch/powerpc/cpu/mpc83xx/start.S
b/arch/powerpc/cpu/mpc83xx/start.S
index b4fafe65ef99276abbe9526db903bb3fdb4001b2..7f74a50bac225169741a7e34c13d8576d657b21e 100644
(file)
--- 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