ARM: EXYNOS: add secure firmware support to AFTR mode code
commita135e20185fe6f0258fa6837455043f3063601d8
authorBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Thu, 25 Sep 2014 08:59:41 +0000 (25 17:59 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Mon, 20 Oct 2014 15:06:36 +0000 (21 00:06 +0900)
tree001820cdbf32025e4bb147cdf3e048fb24cc75df
parent0b7778a801fde0eacd5ee08242290273507e60a2
ARM: EXYNOS: add secure firmware support to AFTR mode code

* Move cp15 registers saving to exynos_save_cp15() helper and add
  additional helper usage to do_idle firmware method.

* Use resume firmware method instead of exynos_cpu_restore_register()
  and skip exynos_cpu_save_register() on boards with secure firmware
  enabled.

* Use sysram_ns_base_addr + 0x24/0x20 addresses instead of the default
  ones used by exynos_cpu_set_boot_vector() on boards with secure
  firmware enabled.

* Use do_idle firmware method instead of cpu_do_idle() on boards with
  secure firmware enabled.

Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Acked-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/mach-exynos/firmware.c
arch/arm/mach-exynos/pm.c