mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
net: ethernet: ucc_geth: fix MEM_PART_MURAM mode
Since commit5093bb965a("powerpc/QE: switch to the cpm_muram implementation"), muram area is not part of immrbar mapping anymore so immrbar_virt_to_phys() is not usable anymore. Fixes:5093bb965a("powerpc/QE: switch to the cpm_muram implementation") Signed-off-by: Christophe Leroy <[email protected]> Acked-by: David S. Miller <[email protected]> Acked-by: Li Yang <[email protected]> Signed-off-by: Scott Wood <[email protected]>
This commit is contained in:
parent
fd615f69a1
commit
8b8642af15
2 changed files with 4 additions and 5 deletions
|
|
@ -243,6 +243,7 @@ static inline int qe_alive_during_sleep(void)
|
|||
#define qe_muram_free cpm_muram_free
|
||||
#define qe_muram_addr cpm_muram_addr
|
||||
#define qe_muram_offset cpm_muram_offset
|
||||
#define qe_muram_dma cpm_muram_dma
|
||||
|
||||
#define qe_setbits32(_addr, _v) iowrite32be(ioread32be(_addr) | (_v), (_addr))
|
||||
#define qe_clrbits32(_addr, _v) iowrite32be(ioread32be(_addr) & ~(_v), (_addr))
|
||||
|
|
|
|||
Loading…
Reference in a new issue