diff options
author | Simon Glass <sjg@chromium.org> | 2014-11-11 17:46:20 (GMT) |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2014-11-22 09:16:47 (GMT) |
commit | a88340dfcf8a34cf7fe000c619d01e1d0f0a442a (patch) | |
tree | 9c59ee715a5c1e2b9efe0453a71f65041e631eaf /doc/README.pxe | |
parent | 479728cb0c752a121e0fd84c6c6d74e93e086905 (diff) | |
download | u-boot-a88340dfcf8a34cf7fe000c619d01e1d0f0a442a.tar.xz |
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>
Diffstat (limited to 'doc/README.pxe')
0 files changed, 0 insertions, 0 deletions