[U-Boot] [PATCH v9 02/10] reset: add reset_release_all()

Simon Glass sjg at chromium.org
Thu Jul 6 04:48:50 UTC 2017


On 21 June 2017 at 06:42,  <patrice.chotard at st.com> wrote:
> From: Patrice Chotard <patrice.chotard at st.com>
>
> Add reset_release_all() method which Assert/Free an
> array of resets signal that has been previously successfully
> requested by reset_get_by_*()
>
> Signed-off-by: Patrice Chotard <patrice.chotard at st.com>
> ---
> v9:     _ to avoid confusion, rename reset_assert_all() in reset_release_all()
>           as this function not only assert all resets but also free all of them
>         _ add a check in reset_release_all() to verify if a reset has been previously
>           requested before asserting and freeing it.
> v8:     _ none
> v7:     _ none
> v6:     _ none
> v5:     _ none
> v4:     _ add reset_assert_all() method as suggested by Marek Vasut
>           and Simon Glass
>
>  drivers/reset/reset-uclass.c | 25 +++++++++++++++++++++++++
>  include/reset.h              | 18 ++++++++++++++++++
>  2 files changed, 43 insertions(+)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list