[U-Boot] [PATCH v2 04/17] dm: fdt: Correct handling of aliases with embedded digits
Heiko Schocher
hs at denx.de
Mon Nov 17 07:28:45 CET 2014
Hello Simon,
Am 11.11.2014 18:46, schrieb Simon Glass:
> Since we scan from left to right looking for the first digit, "i2c0" returns
> 2 instead of 0 for the alias number. Adjust the code to scan from right to
> left instead.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
> Changes in v2:
> - Add new patch to correct handling of aliases with embedded digits
>
> lib/fdtdec.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
Acked-by: Heiko Schocher <hs at denx.de>
bye,
Heiko
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
More information about the U-Boot
mailing list