mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-29 08:01:08 +00:00
powerpc/83xx: Add support for get_svr() for 83xx devices
Defines get_svr() for 83xx devices Signed-off-by: Ramneek Mehresh <ramneek.mehresh@freescale.com> Reviewed-by: York Sun <yorksun@freescale.com>
This commit is contained in:
parent
2eb3ac7fe8
commit
3f283f4bdc
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue