summaryrefslogtreecommitdiff
path: root/arch/powerpc/cpu/mpc85xx
diff options
context:
space:
mode:
authorChristophe Leroy <christophe.leroy@c-s.fr>2017-07-13 13:10:06 (GMT)
committerTom Rini <trini@konsulko.com>2017-07-23 02:22:51 (GMT)
commitba2c5a5c9d478c58277c4b0bb1187a6e82912410 (patch)
treea1ef570acd2f109cb9102cd8b2dc3a95a5787a68 /arch/powerpc/cpu/mpc85xx
parent506cb8be7e83d29b316e1708bcf05359be16cfb7 (diff)
downloadu-boot-fsl-qoriq-ba2c5a5c9d478c58277c4b0bb1187a6e82912410.tar.xz
powerpc: move get_pvr() and get_svr() into C
Avoid unnecessary assembly functions when they can easily be written in C. Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Diffstat (limited to 'arch/powerpc/cpu/mpc85xx')
-rw-r--r--arch/powerpc/cpu/mpc85xx/start.S10
1 files changed, 0 insertions, 10 deletions
diff --git a/arch/powerpc/cpu/mpc85xx/start.S b/arch/powerpc/cpu/mpc85xx/start.S
index 63fdffd..f03e1a0 100644
--- a/arch/powerpc/cpu/mpc85xx/start.S
+++ b/arch/powerpc/cpu/mpc85xx/start.S
@@ -1427,16 +1427,6 @@ dcache_status:
andi. r3,r3,L1CSR0_DCE
blr
- .globl get_pvr
-get_pvr:
- mfspr r3,PVR
- blr
-
- .globl get_svr
-get_svr:
- mfspr r3,SVR
- blr
-
/*------------------------------------------------------------------------------- */
/* Function: in8 */
/* Description: Input 8 bits */