diff options
author | Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> | 2014-09-25 10:59:41 +0200 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2014-10-20 17:06:35 +0200 |
commit | 0b7778a801fde0eacd5ee08242290273507e60a2 (patch) | |
tree | 0a599184daa140c64b47c1231ed430bfdec3986d /arch/arm/include/asm/firmware.h | |
parent | ARM: EXYNOS: replace EXYNOS_BOOT_VECTOR_* macros by static inlines (diff) | |
download | linux-0b7778a801fde0eacd5ee08242290273507e60a2.tar.xz linux-0b7778a801fde0eacd5ee08242290273507e60a2.zip |
ARM: firmware: add AFTR mode support to firmware do_idle method
On some platforms (i.e. EXYNOS ones) more than one idle mode is
available and we need to distinguish them in firmware do_idle method.
Add mode parameter to do_idle firmware method and AFTR mode support
to EXYNOS do_idle implementation.
This change is a preparation for adding secure firmware support to
EXYNOS cpuidle driver.
This patch shouldn't cause any functionality changes.
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Acked-by: Kyungmin Park <kyungmin.park@samsung.com>
Acked-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/include/asm/firmware.h')
-rw-r--r-- | arch/arm/include/asm/firmware.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/include/asm/firmware.h b/arch/arm/include/asm/firmware.h index 5904f59b0409..89aefe10d66b 100644 --- a/arch/arm/include/asm/firmware.h +++ b/arch/arm/include/asm/firmware.h @@ -28,7 +28,7 @@ struct firmware_ops { /* * Enters CPU idle mode */ - int (*do_idle)(void); + int (*do_idle)(unsigned long mode); /* * Sets boot address of specified physical CPU */ |