
11 Dec
2014
11 Dec
'14
2:23 p.m.
On 10 December 2014 at 08:55, Simon Glass sjg@chromium.org wrote:
Add some basic tests to check that the system works as expected.
Signed-off-by: Simon Glass sjg@chromium.org Acked-by: Heiko Schocher hs@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.