ARM: i.MX8MQ: Add code to detect reset reason
Reset reason bits and their meaning seem to be identical between i.MX7
and i.MX8MQ. Share the definitions for the former and used it for the
latter.

Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 60a79c0 commit 79ebe024474516a86ffeff1c583e2be57649fad2
@Andrey Smirnov Andrey Smirnov authored on 10 Aug 2018
Sascha Hauer committed on 13 Aug 2018
Showing 4 changed files
View
arch/arm/mach-imx/imx.c
View
arch/arm/mach-imx/imx7.c
View
arch/arm/mach-imx/imx8mq.c
View
arch/arm/mach-imx/include/mach/reset-reason.h