Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit cb9e2063 authored by Roy Franz's avatar Roy Franz Committed by Richard Weinberger
Browse files

mtd: slram: use memremap() instead of ioremap()



Convert slram to use memremap() to map the memory it uses to back an MTD
device, as this is the proper interface for mapping memory. This change
enables normal memory to be used to back an MTD device on arm64, as arm64
prevents ioremap() being used on normal memory.

Signed-off-by: default avatarRoy Franz <roy.franz@cavium.com>
Acked-by: default avatarArd Biesheuvel <ard.biesheuvel@linaro.org>
Tested-by: default avatarDavid Daney <david.daney@cavium.com>
Signed-off-by: default avatarRichard Weinberger <richard@nod.at>
parent 9de8da47
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment