[U-Boot] [PATCH 03/18] dm: test: Add tests for the clk uclass

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


On 6 July 2015 at 12:54, Simon Glass <sjg at chromium.org> wrote:
> Add tests of each API call using a sandbox clock device.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
>  arch/sandbox/dts/test.dts       |  4 ++
>  arch/sandbox/include/asm/test.h | 11 ++++++
>  configs/sandbox_defconfig       |  1 +
>  drivers/clk/Makefile            |  1 +
>  drivers/clk/clk_sandbox.c       | 85 +++++++++++++++++++++++++++++++++++++++++
>  test/dm/Makefile                |  1 +
>  test/dm/clk.c                   | 59 ++++++++++++++++++++++++++++
>  7 files changed, 162 insertions(+)
>  create mode 100644 drivers/clk/clk_sandbox.c
>  create mode 100644 test/dm/clk.c
>

Applied to u-boot-dm.


More information about the U-Boot mailing list