OSDN Git Service

ARM: davinci: add platform hook to fetch the SRAM pool
authorMatt Porter <mporter@ti.com>
Fri, 5 Oct 2012 17:04:43 +0000 (13:04 -0400)
committerSekhar Nori <nsekhar@ti.com>
Sat, 27 Oct 2012 10:58:35 +0000 (16:28 +0530)
commit983c42ba3465d4a80edfd318de24f8ffb2bf71ca
tree69fbbb59019fadb8f6c1a6eaf271c41faa7004d1
parentc94472d4ad11c5b7d8cd527d136c198269d390fc
ARM: davinci: add platform hook to fetch the SRAM pool

Adds sram_get_gen_pool() which allows platform code to get
the machine's SRAM gen_pool. The gen_pool may be passed in
platform data for driver genalloc use.

Signed-off-by: Matt Porter <mporter@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
arch/arm/mach-davinci/include/mach/sram.h
arch/arm/mach-davinci/sram.c