Commits
Suman Anna committed 91b50d6d1d8
remoteproc/k3-r5: fix loading into BTCM when using R5 local addresses A R5F remote processor can access its TCMs either using its local address views at address 0x0 and/or 0x41010000 depending on the LOCZRAMA setting, or using the corresponding SoC-bus address views (one-to-one views since there are no MMUs). The K3 R5F remoteproc driver provides the translations for the TCMs through the k3_r5_rproc_da_to_va() function to allow loading into TCMs. This function is translating the SoC-view addresses just fine, but is only translating ATCMs at address 0x0 at present. This results in a failure to load any segments into BTCMs when using the R5 local address range at 0x41010000. Update the logic in this function to fix these BTCM load issues. Fixes: 80d807f572e9 ("remoteproc/k3-r5: add a remoteproc driver for R5F subsystem") Signed-off-by: Suman Anna <s-anna@ti.com>