]> git.dujemihanovic.xyz Git - u-boot.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)
committerSimon Glass <sjg@chromium.org>
Sun, 19 Apr 2015 20:45:57 +0000 (14:45 -0600)
commit9b97b6ba246271fab0f365ffea5d53310a1471fb
treeda385f5d327a9e599a3b9c35afe9217d3193def1
parentbacfb1df95cf803a081fb5fa0f6557543f748288
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