summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-at91/at91sam9x5.c
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2012-02-22 17:50:54 +0100
committerNicolas Ferre <nicolas.ferre@atmel.com>2012-02-23 09:26:41 +0100
commit8ff12ad3df62ee343d5f5ec29572b9d2c5c2cedd (patch)
tree96a4c446fc380bffb040418beffbc3ba7cc438b1 /arch/arm/mach-at91/at91sam9x5.c
parent0dcfed1486739afdce053ebdccac28076e9d9e1f (diff)
ARM: at91/pm_slowclock: function slow_clock() accepts parameters
Change slow_clock()/at91_slow_clock() prototype to accept the PMC base address and one or two RAM controller addresses by parameters. The r0, r1 and r2 registers are used differently and preserved during function call. Those values are defined in pm.c and slow_clock() function is called from there with its new parameters. This will allow to have a soc independent pm_slowclock. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Ached-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Diffstat (limited to 'arch/arm/mach-at91/at91sam9x5.c')
0 files changed, 0 insertions, 0 deletions