From mboxrd@z Thu Jan 1 00:00:00 1970 From: Heiko Schocher Date: Mon, 17 Nov 2014 07:40:39 +0100 Subject: [U-Boot] [PATCH v2 16/17] dm: i2c: Add tests for I2C In-Reply-To: <1415727993-22032-17-git-send-email-sjg@chromium.org> References: <1415727993-22032-1-git-send-email-sjg@chromium.org> <1415727993-22032-17-git-send-email-sjg@chromium.org> Message-ID: <54699867.5080703@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > --- > > 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 bye, Heiko -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany