spi: sprd: adi: Add a reset reason for TOS panic
authorChenxu Wei <weicx@spreadst.com>
Fri, 26 Jul 2019 07:20:49 +0000 (15:20 +0800)
committerMark Brown <broonie@kernel.org>
Fri, 26 Jul 2019 11:23:50 +0000 (12:23 +0100)
commitcc6b3431b36a1109d44cb8e4015cc68dddc75208
treed133dc99fed7ec62ad8a8e0f44b9fa719da02f51
parentc627c58acdc48055a9e4d40d6f9f1b434222a68d
spi: sprd: adi: Add a reset reason for TOS panic

Add a new reset flag to indicate the reset reason is caused by TOS.

Signed-off-by: Chenxu Wei <weicx@spreadst.com>
Signed-off-by: Baolin Wang <baolin.wang@linaro.org>
Link: https://lore.kernel.org/r/97583aad1f2b849d69b4e76e8d29113da72a9fff.1564125131.git.baolin.wang@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-sprd-adi.c