]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
sun6i: cpu_reset: Do not return from cpu_reset()
authorHans de Goede <hdegoede@redhat.com>
Sun, 14 Jun 2015 14:53:15 +0000 (16:53 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 22:42:51 +0000 (00:42 +0200)
commit2625a85d18272af37c190a31829293d28404b9a2
tree1e927f02bff052a9a37e5cb04b97b410c43c8cc2
parent283ac806305c718aa70844b9fb087ea6e657dcbd
sun6i: cpu_reset: Do not return from cpu_reset()

Currently on sun6i after a "reset" the prompt returns and the user can
even type stuff until the watchdog triggers and does the actual reset.

This is somewhat unexpected behavior for the "reset" command, this
commit adds an endless loop to wait for the watchdog to trigger so that
we do not return to the prompt.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Ian Campbell <ijc@hellion.org.uk>
arch/arm/cpu/armv7/sunxi/board.c