diff options
author | Cyril Chemparathy <cyril@ti.com> | 2010-05-07 17:06:38 -0400 |
---|---|---|
committer | Kevin Hilman <khilman@deeprootsystems.com> | 2010-05-13 13:05:29 -0400 |
commit | 779b0d53ca41873d59225eb776c5d4493a0abd0f (patch) | |
tree | cf47ab5746105d9116e6c9e33f7ad142ff726d7a /arch/arm/mach-davinci/da850.c | |
parent | bd808947040ba53b2b0e52dde598a9414fb27bba (diff) |
Davinci: pinmux - use ioremap()
This patch modifies the pinmux implementation so as to ioremap() the pinmux
register area on first use.
Signed-off-by: Cyril Chemparathy <cyril@ti.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Diffstat (limited to 'arch/arm/mach-davinci/da850.c')
-rw-r--r-- | arch/arm/mach-davinci/da850.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm/mach-davinci/da850.c b/arch/arm/mach-davinci/da850.c index 6f5ea2aa1c4a..74d4e49d4064 100644 --- a/arch/arm/mach-davinci/da850.c +++ b/arch/arm/mach-davinci/da850.c | |||
@@ -1076,6 +1076,7 @@ static struct davinci_soc_info davinci_soc_info_da850 = { | |||
1076 | .cpu_clks = da850_clks, | 1076 | .cpu_clks = da850_clks, |
1077 | .psc_bases = da850_psc_bases, | 1077 | .psc_bases = da850_psc_bases, |
1078 | .psc_bases_num = ARRAY_SIZE(da850_psc_bases), | 1078 | .psc_bases_num = ARRAY_SIZE(da850_psc_bases), |
1079 | .pinmux_base = DA8XX_SYSCFG0_BASE + 0x120, | ||
1079 | .pinmux_pins = da850_pins, | 1080 | .pinmux_pins = da850_pins, |
1080 | .pinmux_pins_num = ARRAY_SIZE(da850_pins), | 1081 | .pinmux_pins_num = ARRAY_SIZE(da850_pins), |
1081 | .intc_base = DA8XX_CP_INTC_BASE, | 1082 | .intc_base = DA8XX_CP_INTC_BASE, |
@@ -1106,8 +1107,6 @@ void __init da850_init(void) | |||
1106 | if (WARN(!da8xx_syscfg1_base, "Unable to map syscfg1 module")) | 1107 | if (WARN(!da8xx_syscfg1_base, "Unable to map syscfg1 module")) |
1107 | return; | 1108 | return; |
1108 | 1109 | ||
1109 | davinci_soc_info_da850.pinmux_base = DA8XX_SYSCFG0_VIRT(0x120); | ||
1110 | |||
1111 | davinci_common_init(&davinci_soc_info_da850); | 1110 | davinci_common_init(&davinci_soc_info_da850); |
1112 | 1111 | ||
1113 | /* | 1112 | /* |