[U-Boot] [PATCH v4 5/9] sandbox: Implement host dev [device]
Simon Glass
sjg at chromium.org
Sun Apr 19 15:30:27 CEST 2015
On 13 April 2015 at 14:54, Sjoerd Simons <sjoerd.simons at 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.simons at collabora.co.uk>
> Acked-by: Simon Glass <sjg at 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!
More information about the U-Boot
mailing list