Skip to content
Commit c993487e authored by Paul Mundt's avatar Paul Mundt
Browse files

sh: Provide a generic SRAM pool for tiny memories.



This sets up a generic SRAM pool for CPUs and platform code to insert
their otherwise unused memories into. A simple alloc/free interface is
provided (lifed from avr32) for generic code.

This only applies to tiny SRAMs that are otherwise unmanaged, and does
not take in to account the more complex SRAMs sitting behind transfer
engines, or that employ an I/D split.

Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent b6b77b2d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment