Davinci: iotable based ioremap() interception
authorCyril Chemparathy <cyril@ti.com>
Fri, 7 May 2010 21:06:39 +0000 (17:06 -0400)
committerKevin Hilman <khilman@deeprootsystems.com>
Thu, 13 May 2010 17:05:31 +0000 (10:05 -0700)
commitbcd6a1c695c8b404bfde22b276186ac52a20291b
tree548f1308faa72bd90308632d16fb656718cf6090
parent779b0d53ca41873d59225eb776c5d4493a0abd0f
Davinci: iotable based ioremap() interception

This patch allows for a more flexible ioremap() interception based on iotable
contents.

With this patch, the ioremap() interception code can properly translate
addresses only after davinci_soc_info has been initialized.  Consequently,
in soc-specific init functions, davinci_common_init() has to happen before any
ioremap() attempts. The da8xx init sequence has been suitably modified to meet
this restriction.

Signed-off-by: Cyril Chemparathy <cyril@ti.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
arch/arm/mach-davinci/da830.c
arch/arm/mach-davinci/da850.c
arch/arm/mach-davinci/include/mach/common.h
arch/arm/mach-davinci/io.c