commit | f02d0eb3fab332b94ebb98b73c3445f920a0c852 | [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 | 8d7ff12e635f255afce74767a78d7584abbbaed0 [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>