Commit 72d0d151 authored by Suman Anna's avatar Suman Anna
Browse files

TEMP: remoteproc: add legacy support to handle internal memories



A remote processor may need to load certain firmware sections into
internal memories (eg: RAM at L1 or L2 levels) for performance or
other reasons. The deprecated function handler for the RSC_INTMEM
resource type has been modified to handle such memories. The handler
creates a kernel mapping for the resource's 'pa' (physical address).

Note that no iommu mapping is performed for this resource, as the
resource is primarily used to represent physical internal memories.
If the internal memory region can only be accessed through an iommu,
a devmem resource entry should be used instead.

WARNING NOTE:
This is a _temporary_ legacy solution from a prior kernel to handle
loading into internal memories. Firmwares are advised to move away
from using this resource type.

Signed-off-by: default avatarRobert Tivy <rtivy@ti.com>
Signed-off-by: default avatarSuman Anna <s-anna@ti.com>
parent ac50526f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment