trunks: ftdi: make sure all commands use FTDI interface when requested
The --ftdi command line option was not propagated to all
TrunksFactoryImpl instantiations, this patch fixes that.
The rest of the commands (other than startup) still don't work,
because TrunksFtdiSpi::Init() indiscriminately issues hardware reset
each time the object is constructed.
BUG=chromium:498861
TEST=new commands do not work yet, careful hardware reset handling is
required.
Change-Id: I653139770b0f6fef36e09f5a929221dd848a690a
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/281073
Reviewed-by: Utkarsh Sanghi <usanghi@chromium.org>
Commit-Queue: Bill Richardson <wfrichar@chromium.org>
Trybot-Ready: Bill Richardson <wfrichar@chromium.org>
1 file changed