diff options
author | Julius Werner <jwerner@chromium.org> | 2019-05-06 19:35:56 -0700 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-06-04 11:24:34 +0000 |
commit | 0d74653bd46a360466cf5050ea0c102fc11cdc2d (patch) | |
tree | a7abf5c68748acf1241ff5144b7ce0b8d6c31156 /src/soc/cavium/cn81xx/soc.c | |
parent | 6d5695fac53f52e1f389f420b5428e92de5b8c9c (diff) |
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/soc/cavium/cn81xx/soc.c')
0 files changed, 0 insertions, 0 deletions