]> 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)
committerHans de Goede <hdegoede@redhat.com>
Wed, 17 Jun 2015 13:22:47 +0000 (15:22 +0200)
commitfc175434f97d5db518fb6e9a9bfec85e6c166603
treedbefcc2b2985e3fda58e2c4d220b0686a03ab32e
parent998b8ab3f61ba3a907a5694cedf81f4cf10b0b5a
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