[U-Boot] [PATCH v2 04/17] dm: fdt: Correct handling of aliases with embedded digits

Heiko Schocher
2014-11-17T06:28:45Z

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@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@denx.de>

bye,
Heiko
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany