rockchip/rk3399: do secure timer init in pmusram
authorLin Huang <hl@rock-chips.com>
Sat, 27 May 2017 09:47:01 +0000 (17:47 +0800)
committerCaesar Wang <wxt@rock-chips.com>
Tue, 29 Aug 2017 07:35:29 +0000 (15:35 +0800)
commita7bb3388b1117da48eb0cc77c7512560be56221b
tree2c701f36dc8444afc71b47e91950f25695775e47
parent4c3770d9cfc1b4710809c88afd87c10e27f30bd8
rockchip/rk3399: do secure timer init in pmusram

we will use timer in pmusarm, when logic power rail shutdown,
the secure timer will gone, so need to initial it in pmusram.

Change-Id: I472e7eec3fc197f56223e6fff9167556c1c5e3bc
Signed-off-by: Lin Huang <hl@rock-chips.com>
plat/rockchip/rk3399/drivers/dram/suspend.c
plat/rockchip/rk3399/drivers/secure/secure.c
plat/rockchip/rk3399/drivers/secure/secure.h