On Mon, Aug 15, 2011 at 5:12 PM, Jean-Christophe PLAGNIOL-VILLARD
On 16:43 Mon 15 Aug , Eric Miao wrote:On Mon, Aug 15, 2011 at 11:11 AM, Haojian ZhuangI've some reserve on the named pool they need to be managed at generic level
On Sun, 2011-08-14 at 20:09 -0700, Leo Yan wrote:On mmp platform, there have two sram banks:Acked-by: Haojian Zhuang<haojian.zhuang@xxxxxxxxx>
audio sram bank, and internal sram bank for video and PM.
So add the sram module to manage these sram banks.
And register the sram banks so can dynamically alloc/free
Leo Yan (3):
ARM: mmp: add sram allocator
ARM: mmp: register audio sram bank
ARM: mmp: register internal sram bank
arch/arm/Kconfig | 1 +
arch/arm/mach-mmp/Makefile | 2 +-
arch/arm/mach-mmp/brownstone.c | 11 ++
arch/arm/mach-mmp/include/mach/mmp2.h | 13 +++
arch/arm/mach-mmp/include/mach/sram.h | 35 +++++++
arch/arm/mach-mmp/mmp2.c | 3 +
arch/arm/mach-mmp/sram.c | 168 +++++++++++++++++++++++++++++++++
7 files changed, 232 insertions(+), 1 deletions(-)
create mode 100644 arch/arm/mach-mmp/include/mach/sram.h
create mode 100644 arch/arm/mach-mmp/sram.c
Looks good to me. Thanks Haojian. Applied to -devel.
What are their names? And your suggestions to fix this?