[U-Boot] [PATCH v2 4/4] cmd: ide: Make the first device the default one

Simon Glass sjg at chromium.org
Tue Sep 5 08:57:00 UTC 2017


On 4 September 2017 at 17:08, Bin Meng <bmeng.cn at gmail.com> wrote:
> At present the IDE device number is initialized to -1, which means
> we cannot type "ide read" command before setting the device number
> via "ide device #".
>
> For convenience, let's set the first device as the default one.
>
> Signed-off-by: Bin Meng <bmeng.cn at gmail.com>
>
> ---
>
> Changes in v2: None
>
>  cmd/ide.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>

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


More information about the U-Boot mailing list