ARM: at91: add at91sam9/sama5 reset reason detection
The reset controller status register contains information about the last
reset's cause. Tell barebox about it.

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 70a550c commit ffa73e1b91c33b4f69fdf5d8f8653c03d2426aaf
@Ahmad Fatoum Ahmad Fatoum authored on 22 Jun 2020
Sascha Hauer committed on 23 Jun 2020
Showing 1 changed file
View
arch/arm/mach-at91/at91sam9_rst.c