]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
sandbox: Implement host dev [device]
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>
Mon, 13 Apr 2015 20:54:23 +0000 (22:54 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 20:29:05 +0000 (22:29 +0200)
commit93fa48300aeb85ea87fb76312a9335b465e891e1
tree98d2bc33ec6e965fe938601e987a1e6c4aa9bba3
parenta07d69cf683136190176202334f4118d5b613c6a
sandbox: Implement host dev [device]

A common pattern to check if a certain device exists (e.g. in
config_distro_bootcmd) is to use: <interface> dev [device]

Implement host dev [device] so this pattern can be used for sandbox host
devices.

Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
Acked-by: Simon Glass <sjg@chromium.org>
common/cmd_host.c