commit | 7f5e226446fcf3665e26f6fe64a2d4b9d895a684 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Tue Jul 07 21:32:06 2020 -0600 |
committer | Bin Meng <bmeng.cn@gmail.com> | Fri Jul 17 14:32:24 2020 +0800 |
tree | 315f7e29f04c7b1bc9caf0c59a6767d03f073d4e | |
parent | 9ed41e7c1d9665b347f965e394fca1995a7e63b4 [diff] |
dtoc: Support ACPI paths in of-platdata The start of an ACPI path typically has backslashes in it. These are not preserved during the translation from device tree to C code, since dtc (correctly) uses the first backslash as an escape character, and dtoc therefore leaves it out of the C string. Fix this with special-case handling. Signed-off-by: Simon Glass <sjg@chromium.org>