]> git.openfabrics.org - ~emulex/infiniband.git/commit
ARM: mmp: register internal sram bank
authorLeo Yan <leoy@marvell.com>
Mon, 15 Aug 2011 03:09:54 +0000 (11:09 +0800)
committerEric Miao <eric.y.miao@gmail.com>
Tue, 25 Oct 2011 12:29:20 +0000 (20:29 +0800)
commitbca7ab316edd819edd0e3d59f9ccb26c6b2173f5
treecee77ea94d3305dcbd1ca0c96fbc70c9042209ee
parent101bf4c19672b519f6d50a7b11e1e03b25a929b6
ARM: mmp: register internal sram bank

MMP2 have the internal sram, this sram can be allocated
for video, power management and secure processor.

Now the sram usage is:
0xd1000000 ~ 0xd101ffff (128KB) : reserved for secure processor
0xd1020000 ~ 0xd1037fff (96KB)  : for video and PM

Register the internal sram's second half 96KB buffer,
so that video and PM can dynamically alloc/free from it.

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>
arch/arm/mach-mmp/brownstone.c
arch/arm/mach-mmp/include/mach/mmp2.h
arch/arm/mach-mmp/mmp2.c