-
Notifications
You must be signed in to change notification settings - Fork 6.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
samples: Support different base address of the shared mem
Now, in open_amp_rsc_table sample we support only the devices that have the same value for driver and device physical address. But, in case they are different, we need to convert from driver to device address. Therefore, add ranges property in device tree in case we need to translate the addresses. If this property is found in device tree, take both the driver and device address, and size. Otherwise it works as before, take the device physical address and size from reg property. Signed-off-by: Iuliana Prodan <[email protected]>
- Loading branch information
1 parent
ddff91f
commit 7c04f82
Showing
2 changed files
with
18 additions
and
7 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