]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: mvebu: export the SCU address
authorGregory CLEMENT <gregory.clement@free-electrons.com>
Wed, 23 Jul 2014 13:00:46 +0000 (15:00 +0200)
committerJason Cooper <jason@lakedaemon.net>
Thu, 24 Jul 2014 11:46:40 +0000 (11:46 +0000)
commit8dcff75e64e23f404cbd4e469e367ffe7e3e6ab4
treed493c926ac8ebafd98b3a87194db6d6747016dfa
parent5993a536c94256ef8e69d6de456e91d0f8007655
ARM: mvebu: export the SCU address

The SCU address will be needed in other files than board-v7.c,
especially in pmsu.c for cpuidle related activities. So this patch
adds a function that allows to retrieve the virtual address at which
the SCU has been mapped.

Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Link: https://lkml.kernel.org/r/1406120453-29291-10-git-send-email-thomas.petazzoni@free-electrons.com
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
arch/arm/mach-mvebu/board-v7.c
arch/arm/mach-mvebu/common.h