On 13 April 2015 at 14:54, Sjoerd Simons <sjoerd.sim...@collabora.co.uk> wrote: > 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.sim...@collabora.co.uk> > Acked-by: Simon Glass <s...@chromium.org> > --- > > Changes in v4: None > Changes in v3: None > Changes in v2: None > > common/cmd_host.c | 44 ++++++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 44 insertions(+)
Applied to u-boot-x86/sandbox, thanks! _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot