[U-Boot] [PATCH v6 09/11] dm: i2c: Add tests for I2C

Simon Glass sjg at chromium.org
Thu Dec 11 14:23:16 CET 2014


On 10 December 2014 at 08:55, Simon Glass <sjg at chromium.org> wrote:
> Add some basic tests to check that the system works as expected.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> Acked-by: Heiko Schocher <hs at denx.de>
> ---
>
> Changes in v6: None
> Changes in v5:
> - Adjust tests for DM_I2C_CHIP_RE_ADDRESS split
>
> Changes in v4:
> - Add an assert for non-null
> - Add tests for offset length
> - Adjust tests to match uclass changes
>
> Changes in v3:
> - Update for new uclass <=> emulateor interface
>
> Changes in v2:
> - Add a new asm/test.h header for tests in sandbox
> - Add a test for automatic binding of generic I2C devices
>
>  include/dm/ut.h  |  12 ++++
>  test/dm/Makefile |   1 +
>  test/dm/i2c.c    | 216 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
>  test/dm/test.dts |  17 +++++
>  4 files changed, 246 insertions(+)
>  create mode 100644 test/dm/i2c.c
>

Applied to u-boot-dm.


More information about the U-Boot mailing list