[U-Boot] [PATCH 04/20] dm: i2c: Add an explicit test mode to the sandbox I2C driver
Simon Glass
sjg at chromium.org
Mon May 4 16:20:06 CEST 2015
On 20 April 2015 at 12:37, Simon Glass <sjg at chromium.org> wrote:
> At present this driver has a few test features. They are needed for running
> the driver model unit tests but are confusing and unnecessary if using
> sandbox at the command line. Add a flag to enable the test mode, and don't
> enable it by default.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
> arch/sandbox/include/asm/test.h | 10 ++++++++++
> drivers/i2c/sandbox_i2c.c | 34 +++++++++++++++++++++++-----------
> include/i2c.h | 1 +
> test/dm/i2c.c | 8 ++++++++
> 4 files changed, 42 insertions(+), 11 deletions(-)
Applied to u-boot-dm.
More information about the U-Boot
mailing list