[U-Boot] [PATCH v2 1/6] clk: add clk_valid()

Simon Glass sjg at chromium.org
Wed Jul 25 02:45:25 UTC 2018


On 24 July 2018 at 08:31, Fabrice Gasnier <fabrice.gasnier at st.com> wrote:
> Add clk_valid() to check for optional clocks are valid.
> Call clk_valid() in test/dm/clk.c and add relevant test routine to
> sandbox clk tests.
>
> Signed-off-by: Fabrice Gasnier <fabrice.gasnier at st.com>
> ---
>
> Changes in v2:
> - add test case for 'clk_valid()', e.g. in test/dm/clk.c and sandbox.
> - Update TRUE/FALSE comments to lower case: true/false
>
> ---
>  arch/sandbox/include/asm/clk.h |  8 ++++++++
>  drivers/clk/clk_sandbox_test.c | 13 +++++++++++++
>  include/clk.h                  | 10 ++++++++++
>  test/dm/clk.c                  |  1 +
>  4 files changed, 32 insertions(+)

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


More information about the U-Boot mailing list