sandbox: usb: Allow dynamic emulated USB device descriptors
authorSimon Glass <sjg@chromium.org>
Mon, 9 Nov 2015 06:47:53 +0000 (23:47 -0700)
committerSimon Glass <sjg@chromium.org>
Fri, 20 Nov 2015 03:27:51 +0000 (20:27 -0700)
commitc4876320db4d3c7def993ac30d92215745a3435f
treed8c0ab9edc93cd0d30e48eda68ba861b7155f7b9
parent7aeac5bc8c5903b8d27188a21b39f0b2c4bd13c1
sandbox: usb: Allow dynamic emulated USB device descriptors

We would like the serial number to come from the device tree node name of
the emulated device. This avoids them all having the same name. Adjust the
code to support this.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/usb/emul/sandbox_flash.c