]> git.karo-electronics.de Git - karo-tx-uboot.git/commit
dm: reset: Allow reset_walk() to return
authorSimon Glass <sjg@chromium.org>
Mon, 6 Jul 2015 18:54:27 +0000 (12:54 -0600)
committerLothar Waßmann <LW@KARO-electronics.de>
Wed, 9 Sep 2015 11:48:55 +0000 (13:48 +0200)
commit1f8e794cea897995a4c39ba81d8b5f7b678647f8
tree816a070a86a499da575fcb1e47554720795d3243
parent52e562fa7838d1bfefbd6d33e1451cf6dccae881
dm: reset: Allow reset_walk() to return

Add a new reset_walk_halt() function to cause a reset and then halt on
failure. The reset_walk() function returns an error code.

This is needed for testing since otherwise U-Boot will halt in the middle
of a test.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/misc/reset-uclass.c
include/reset.h