-
Notifications
You must be signed in to change notification settings - Fork 314
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
imx: sdma: Add support for loading RAM script
SDMA support loading firmware RAM scripts in order to enhance functionality. We will need this for supporting multi-fifo with upcoming MICFIL PDM driver. Allow SDMA to load such scripts selected via CONFIG_HAVE_SDMA_FIRMWARE config. A RAM script interface guarantees that there will be the following information provided: - sdma_code, an array of bytes containting the actual script binary - RAM_CODE_START_ADDR, location in RAM where to load the script - RAM_CODE_SIZE, size of the sdma_code array. Because RAM scripts are NXP proprietary binaries we won't make them public but offer the interface to integrate them with SOF in private builds. We use for now sdma_script_code_imx7d_4_5.h header file which must be present in location indicated by CONFIG_SDMA_SCRIPT_CODE. Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
- Loading branch information
Showing
4 changed files
with
41 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters