]> git.dujemihanovic.xyz Git - u-boot.git/commit
xtensa: Implement phys virt conversion for PTP_MMU
authorJiaxun Yang <jiaxun.yang@flygoat.com>
Tue, 18 Jun 2024 13:56:03 +0000 (14:56 +0100)
committerTom Rini <trini@konsulko.com>
Thu, 4 Jul 2024 22:08:37 +0000 (16:08 -0600)
commit8dd193bc16246f66d3f709dfa21f3daf8241b85f
tree724b9c12ee1fd91e2f61040d84e0757598639f20
parente8461f4a41831ff3ec28014b85c552632bda0032
xtensa: Implement phys virt conversion for PTP_MMU

For PTP_MMU our physical address is not directly mapped
into virtual address space, we need to access physical
memory from those fixed map segments.

Implement phys_to_virt and virt_to_phys hook to reflect
this setting.

Tested-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
arch/xtensa/include/asm/addrspace.h
arch/xtensa/include/asm/io.h