commit | 131172a4a8ce3fccfd4a9f0f8b3c0d0e59222f1d | [log] [tgz] |
---|---|---|
author | Joel Stanley <joel@jms.id.au> | Sun Dec 27 19:44:46 2020 +1030 |
committer | Stafford Horne <shorne@gmail.com> | Fri Jan 01 15:00:08 2021 +0900 |
tree | 6b961fa64950bb9dfc906ad0205d0a16b42398d1 | |
parent | 472ab9ee15c6a28adbac65a543af58461b49a947 [diff] |
openrisc: restart: Call common handlers before hanging Currently openrisc will print a message and then hang in an infinite loop when rebooting. This patch adopts some code from ARM, which calls the common restart infrastructure and hangs after a small delay if the restart infra doesn't do anything. Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Stafford Horne <shorne@gmail.com>