mirror of
https://github.com/linux-sunxi/u-boot-sunxi.git
synced 2024-02-12 11:16:03 +08:00
powerpc, 8xx: move cache helper into C
Avoid unnecessary assembly functions when they can easily be written in C. Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
This commit is contained in:

committed by
Tom Rini

parent
7fd697fd54
commit
506cb8be7e
@ -310,38 +310,6 @@ get_pvr:
|
||||
mfspr r3, PVR
|
||||
blr
|
||||
|
||||
|
||||
.globl wr_ic_cst
|
||||
wr_ic_cst:
|
||||
mtspr IC_CST, r3
|
||||
blr
|
||||
|
||||
.globl rd_ic_cst
|
||||
rd_ic_cst:
|
||||
mfspr r3, IC_CST
|
||||
blr
|
||||
|
||||
.globl wr_ic_adr
|
||||
wr_ic_adr:
|
||||
mtspr IC_ADR, r3
|
||||
blr
|
||||
|
||||
|
||||
.globl wr_dc_cst
|
||||
wr_dc_cst:
|
||||
mtspr DC_CST, r3
|
||||
blr
|
||||
|
||||
.globl rd_dc_cst
|
||||
rd_dc_cst:
|
||||
mfspr r3, DC_CST
|
||||
blr
|
||||
|
||||
.globl wr_dc_adr
|
||||
wr_dc_adr:
|
||||
mtspr DC_ADR, r3
|
||||
blr
|
||||
|
||||
/*------------------------------------------------------------------------------*/
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user