ARM: OMAP: AM33XX: Add an API for obtaining the virt EMIF addr
authorVaibhav Bedia <vaibhav.bedia@ti.com>
Tue, 17 Jan 2012 06:44:34 +0000 (12:14 +0530)
committerVaibhav Hiremath <hvaibhav@ti.com>
Mon, 23 Jan 2012 19:14:56 +0000 (00:44 +0530)
commit63d3c9c2bb87c4ab9c75a900fca3d6194098b309
treeadedff37302e7bfe6e251f361f6e5fb0d933a26a
parentd194a41fb4f94aec58d1fbd0a347212ad29f4524
ARM: OMAP: AM33XX: Add an API for obtaining the virt EMIF addr

The low level code for suspend needs the virtual address
of EMIF so that the SDRAM can be put in self-refresh.
Since the emif is ioremapped very early on, add an API
which returns the virtual address of the EMIF address space

Signed-off-by: Vaibhav Bedia <vaibhav.bedia@ti.com>
arch/arm/mach-omap2/board-am335xevm.c
arch/arm/plat-omap/include/plat/emif.h