diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2012-03-18 13:31:05 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2012-03-18 15:03:31 +0100 |
commit | 7e614c143dc894fec1773bdd0b8f825b503204d3 (patch) | |
tree | 4f51e7235183d1a3f840d674339bf02efb399699 /commands/partition.c | |
parent | 38a1971e5b8ad7f30722d84e74152c980338fbdb (diff) | |
download | barebox-7e614c143dc894fec1773bdd0b8f825b503204d3.tar.gz barebox-7e614c143dc894fec1773bdd0b8f825b503204d3.tar.xz |
usb command: by default scan only once for USB devices
We normally do not expect USB devices to be hotplugged. Instead of
rescanning each time the usb command is called, scan only once.
This makes the usb command safe for being called multiple times
without making already registered USB devices reinitialized. To
really scan multiple times a '-f' option is introduced.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'commands/partition.c')
0 files changed, 0 insertions, 0 deletions