mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-19 18:53:52 +08:00
3c7241bd36
On mmp platform, there have two sram banks: audio sram and internal sram. The audio sram is mainly for audio; the internal sram is for video, wtm and power management. So add the sram allocator using genalloc to manage them. Every sram bank will register its own platform device info, after the sram allocator create the generic pool for the sram bank, the user module can use the pool's name to get the pool handler; then it can use the handler to alloc/free memory with genalloc APIs. Signed-off-by: Leo Yan <leoy@marvell.com> Acked-by: Haojian Zhuang <haojian.zhuang@gmail.com> Signed-off-by: Eric Miao <eric.y.miao@gmail.com> |
||
---|---|---|
.. | ||
include/mach | ||
aspenite.c | ||
avengers_lite.c | ||
brownstone.c | ||
clock.c | ||
clock.h | ||
common.c | ||
common.h | ||
devices.c | ||
flint.c | ||
gplugd.c | ||
irq-mmp2.c | ||
irq-pxa168.c | ||
jasper.c | ||
Kconfig | ||
Makefile | ||
Makefile.boot | ||
mmp2.c | ||
pxa168.c | ||
pxa910.c | ||
sram.c | ||
tavorevb.c | ||
teton_bga.c | ||
time.c | ||
ttc_dkb.c |