projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
powerpc/83xx: Add support for get_svr() for 83xx devices
[oweals/u-boot.git]
/
arch
/
powerpc
/
cpu
/
mpc83xx
/
start.S
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