Branch: refs/heads/main Home: https://github.com/OpenAMP/libmetal Commit: 9a814dac131c2cf61b87b8b1e76ac639db35fa2f https://github.com/OpenAMP/libmetal/commit/9a814dac131c2cf61b87b8b1e76ac639d... Author: Sergei Korneichuk sergei.korneichuk@amd.com Date: 2022-09-21 (Wed, 21 Sep 2022)
Changed paths: M lib/system/freertos/zynqmp_r5/sys.c M lib/system/generic/zynqmp_r5/sys.c
Log Message: ----------- zynqmp_r5: replace Xil_SetMPURegion with Xil_MemMap
The metal_machine_io_mem_map() used to call Xil_SetMPURegion directly and could get into an infinite loop. Replace the faulty code in metal_machine_io_mem_map() with Xil_MemMap() call and assert it succeeds.
Signed-off-by: Sergei Korneichuk sergei.korneichuk@amd.com