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>
1 file changed