commit | 4c70ed92cf943c004c44edf160101c700d1ebc75 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Mon Apr 20 12:37:15 2015 -0600 |
committer | Simon Glass <sjg@chromium.org> | Tue May 05 20:58:19 2015 -0600 |
tree | d73c8abc54efc11cf05e39f891dd57560448c8d9 | |
parent | 0c70261614a964fd63ab8bffa823d49261ae9a22 [diff] |
dm: i2c: Add an explicit test mode to the sandbox I2C driver 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@chromium.org>