summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorSuman Anna <s-anna@ti.com>2020-10-02 18:42:33 -0500
committerBjorn Andersson <bjorn.andersson@linaro.org>2020-10-13 18:34:39 -0500
commit34f2653686fecc9bd5a4ee16724768c72953fb57 (patch)
tree1763e6cfa17054b9be3701805cb4bab9f436bcbf /sound
parent6dedbd1d544389d6ab1727423348572a11e9df5d (diff)
remoteproc: k3-r5: Initialize TCM memories for ECC
The R5F processors on K3 SoCs all have two TCMs (ATCM and BTCM) that support 32-bit ECC. The TCMs are typically loaded with some boot-up code to initialize the R5 MPUs to further execute code out of DDR. The ECC for the TCMs is enabled by default on K3 SoCs due to internal default tie-off values, but the TCM memories are not initialized on device power up. Any read access without the corresponding TCM memory location initialized will generate an ECC error, and any such access from a A72 or A53 core will trigger a SError. So, zero initialize both the TCM memories before loading any firmware onto a R5F in remoteproc mode. Any R5F booted from U-Boot/SPL would require a similar initialization in the bootloader. Note that both the TCMs are initialized unconditionally as the TCM enable config bits only manage the access and visibility from R5. Signed-off-by: Suman Anna <s-anna@ti.com> Reviewed-by: Mathieu Poirier <mathieu.poirier@linaro.org> Link: https://lore.kernel.org/r/20201002234234.20704-4-s-anna@ti.com Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions