[U-Boot] [PATCH 06/18] dm: reset: Allow reset_walk() to return

Simon Glass sjg at chromium.org
Sat Jul 18 01:58:37 CEST 2015


On 6 July 2015 at 12:54, Simon Glass <sjg at chromium.org> wrote:
> 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 at chromium.org>
> ---
>
>  drivers/misc/reset-uclass.c | 31 +++++++++++++++++++++++++------
>  include/reset.h             | 11 ++++++++++-
>  2 files changed, 35 insertions(+), 7 deletions(-)

Applied to u-boot-dm.


More information about the U-Boot mailing list