aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-davinci/include/mach/common.h
diff options
context:
space:
mode:
authorCyril Chemparathy <cyril@ti.com>2010-05-07 17:06:39 -0400
committerKevin Hilman <khilman@deeprootsystems.com>2010-05-13 13:05:31 -0400
commitbcd6a1c695c8b404bfde22b276186ac52a20291b (patch)
tree548f1308faa72bd90308632d16fb656718cf6090 /arch/arm/mach-davinci/include/mach/common.h
parent779b0d53ca41873d59225eb776c5d4493a0abd0f (diff)
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>
Diffstat (limited to 'arch/arm/mach-davinci/include/mach/common.h')
-rw-r--r--arch/arm/mach-davinci/include/mach/common.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/arch/arm/mach-davinci/include/mach/common.h b/arch/arm/mach-davinci/include/mach/common.h
index 2e072482c119..a57cba21e21e 100644
--- a/arch/arm/mach-davinci/include/mach/common.h
+++ b/arch/arm/mach-davinci/include/mach/common.h
@@ -39,7 +39,13 @@ struct davinci_timer_info {
39 39
40struct davinci_gpio_controller; 40struct davinci_gpio_controller;
41 41
42/* SoC specific init support */ 42/*
43 * SoC info passed into common davinci modules.
44 *
45 * Base addresses in this structure should be physical and not virtual.
46 * Modules that take such base addresses, should internally ioremap() them to
47 * use.
48 */
43struct davinci_soc_info { 49struct davinci_soc_info {
44 struct map_desc *io_desc; 50 struct map_desc *io_desc;
45 unsigned long io_desc_num; 51 unsigned long io_desc_num;