Skip to content
Commit f02d0eb3 authored by Simon Glass's avatar Simon Glass Committed by Bin Meng
Browse files

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: default avatarSimon Glass <sjg@chromium.org>
parent 8d7ff12e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment