[U-Boot] [PATCH v2 16/17] dm: i2c: Add tests for I2C

Heiko Schocher hs at denx.de
Mon Nov 17 07:40:39 CET 2014


Hello Simon,

Am 11.11.2014 18:46, schrieb Simon Glass:
> Add some basic tests to check that the system works as expected.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
> Changes in v2:
> - Add a test for automatic binding of generic I2C devices
> - Add a new asm/test.h header for tests in sandbox
>
>   arch/sandbox/include/asm/test.h |  15 ++++++
>   drivers/i2c/sandbox_i2c.c       |   8 +++
>   test/dm/Makefile                |   1 +
>   test/dm/i2c.c                   | 112 ++++++++++++++++++++++++++++++++++++++++
>   test/dm/test.dts                |  17 ++++++
>   5 files changed, 153 insertions(+)
>   create mode 100644 arch/sandbox/include/asm/test.h
>   create mode 100644 test/dm/i2c.c

Acked-by: Heiko Schocher <hs at denx.de>

bye,
Heiko
-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany


More information about the U-Boot mailing list