[U-Boot] [PATCH v2 06/22] stdio: Correct numbering logic in stdio_probe_device()

Simon Glass sjg at chromium.org
Fri Nov 25 20:38:43 CET 2016


On 13 November 2016 at 14:22, Simon Glass <sjg at chromium.org> wrote:
> The current code assumes that the devices are ordered corresponding to
> their alias value. But (for example) video1 can come before video0 in the
> device tree.
>
> Correct this, by always looking for device 0 first. After that we can fall
> back to finding the first available device.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
> Changes in v2: None
>
>  common/stdio.c | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)

Applied to u-boot-rockchip.


More information about the U-Boot mailing list