arm: socfpga: stratix10: Add cpu_has_been_warmreset()
authorLey Foon Tan <ley.foon.tan@intel.com>
Thu, 21 Mar 2019 17:24:04 +0000 (01:24 +0800)
committerMarek Vasut <marex@denx.de>
Wed, 17 Apr 2019 20:20:17 +0000 (22:20 +0200)
commit8ab9daabe5e88a401c891d02d4a765de2c6abaa2
tree9814b08289457d2a74ab0730ad62b2ddcd38b207
parent62e6278d1e7e6628a9ea8b4429a99247fc6a6be6
arm: socfpga: stratix10: Add cpu_has_been_warmreset()

Add helper function cpu_has_been_warmreset() to check
if CPU is from warm reset boot.

Signed-off-by: Ley Foon Tan <ley.foon.tan@intel.com>
arch/arm/mach-socfpga/include/mach/reset_manager_s10.h
arch/arm/mach-socfpga/reset_manager_s10.c