[U-Boot] [PATCH v2 5/8] sandbox: Implement host dev [device]

Simon Glass sjg at chromium.org
Tue Apr 7 22:40:53 CEST 2015


On 6 April 2015 at 15:02, 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>
> ---
>
> Changes in v2: None
>
>  common/cmd_host.c | 44 ++++++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 44 insertions(+)

Acked-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list