commit | 78d4383225fe4e2e11d047e9ad7ec5a69d0b57c3 | [log] [tgz] |
---|---|---|
author | Haojian Zhuang <haojian.zhuang@linaro.org> | Thu Mar 29 16:17:12 2018 +0800 |
committer | Haojian Zhuang <haojian.zhuang@linaro.org> | Thu Mar 29 16:21:14 2018 +0800 |
tree | 3edcdd16d242ac3c9fe6ef628418babf006561c4 | |
parent | b2e01b201b1de31db139b29ccb819bbd9e70a943 [diff] |
Platforms/HiKey960Dxe: check flag before clearing virtual key Add reboot flag before checking virtual key of reboot reason. Since we add the delay before reboot, the virtual key event will be clear automatically by virtual key driver. Add the reboot flag to guranatee the clear option could only be executed for reboot scenario. Signed-off-by: Haojian Zhuang <haojian.zhuang@linaro.org>