trusty: Pass cpu suspend/resume reason to trusty
authorArve Hjønnevåg <arve@android.com>
Mon, 27 Nov 2017 19:05:46 +0000 (11:05 -0800)
committerArve Hjønnevåg <arve@android.com>
Thu, 25 Jan 2018 01:43:48 +0000 (17:43 -0800)
commitfab2319ec8aa9532178c1c7b61035466e197f18e
treebec4fd3522897daba6613a514c33c6894ab79216
parent27d8e1e75a2f45d7c2357bc9b42e9dbea9db0321
trusty: Pass cpu suspend/resume reason to trusty

Add off/on argument to SMC_FC_CPU_SUSPEND SMC_FC_CPU_RESUME and pass
1 when called from the cpu on/off hooks.

Change-Id: Ie233c446fd38b3ff8546e445a8d86a15d2816093
Signed-off-by: Arve Hjønnevåg <arve@android.com>
services/spd/trusty/trusty.c