Home
last modified time | relevance | path

Searched hist:a88340dfcf8a34cf7fe000c619d01e1d0f0a442a (Results 1 – 1 of 1) sorted by relevance

/rk3399_rockchip-uboot/lib/
H A Dfdtdec.ca88340dfcf8a34cf7fe000c619d01e1d0f0a442a Tue Nov 11 17:46:20 UTC 2014 Simon Glass <sjg@chromium.org> dm: fdt: Correct handling of aliases with embedded digits

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>
Acked-by: Heiko Schocher <hs@denx.de>
Reviewed-by: Tom Rini <trini@ti.com>