summaryrefslogtreecommitdiffstats
path: root/src/include/device_tree.h
diff options
context:
space:
mode:
authorJulius Werner <jwerner@chromium.org>2019-05-06 19:35:56 -0700
committerPatrick Georgi <pgeorgi@google.com>2019-06-04 11:24:34 +0000
commit0d74653bd46a360466cf5050ea0c102fc11cdc2d (patch)
treea7abf5c68748acf1241ff5144b7ce0b8d6c31156 /src/include/device_tree.h
parent6d5695fac53f52e1f389f420b5428e92de5b8c9c (diff)
downloadcoreboot-0d74653bd46a360466cf5050ea0c102fc11cdc2d.tar.gz
coreboot-0d74653bd46a360466cf5050ea0c102fc11cdc2d.tar.bz2
coreboot-0d74653bd46a360466cf5050ea0c102fc11cdc2d.zip
device_tree: Match debug output format to dtc -O dts output
This patch updates the device tree dumping functions (not compiled by default but available for debugging) to output properties and nodes in a format similar to .dts files that is very close to what dtc outputs when you decompile a .dtb with it. This makes it easier to match device tree dumps from coreboot with device tree dumps generated by other device tree tooling. This patch was adapted from depthcharge's http://crosreview.com/1536386 Change-Id: Ib40e50d906aff05473a70c4fc9b124d63232558c Signed-off-by: Julius Werner <jwerner@chromium.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/32867 Reviewed-by: Hung-Te Lin <hungte@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/include/device_tree.h')
0 files changed, 0 insertions, 0 deletions