diff options
author | Christophe Leroy <christophe.leroy@c-s.fr> | 2017-07-13 15:10:06 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-07-22 22:22:51 -0400 |
commit | ba2c5a5c9d478c58277c4b0bb1187a6e82912410 (patch) | |
tree | a1ef570acd2f109cb9102cd8b2dc3a95a5787a68 /arch/powerpc/cpu/mpc83xx | |
parent | 506cb8be7e83d29b316e1708bcf05359be16cfb7 (diff) | |
download | u-boot-ba2c5a5c9d478c58277c4b0bb1187a6e82912410.tar.gz |
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/mpc83xx')
-rw-r--r-- | arch/powerpc/cpu/mpc83xx/start.S | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/arch/powerpc/cpu/mpc83xx/start.S b/arch/powerpc/cpu/mpc83xx/start.S index 2fed4a1fec..d99ae27a65 100644 --- a/arch/powerpc/cpu/mpc83xx/start.S +++ b/arch/powerpc/cpu/mpc83xx/start.S @@ -116,16 +116,6 @@ disable_addr_trans: mtspr SRR1, r3 rfi - .globl get_svr -get_svr: - mfspr r3, SVR - blr - - .globl get_pvr -get_pvr: - mfspr r3, PVR - blr - .globl ppcDWstore ppcDWstore: lfd 1, 0(r4) |