diff options
| author | Michael Ellerman <[email protected]> | 2006-06-23 18:16:03 +1000 |
|---|---|---|
| committer | Paul Mackerras <[email protected]> | 2006-06-28 11:59:46 +1000 |
| commit | 7a4571ae553e2972b7958306fd796a2fd24fd7d1 (patch) | |
| tree | 62111278b4bf452e1c481a2e662b910758b8d123 /scripts/basic/docproc.c | |
| parent | 1dce0e30471ac863fd141d137c98e3644817975e (diff) | |
[POWERPC] Export flat device tree via debugfs for debugging
If DEBUG is turned on in prom.c, export the flat device tree via debugfs.
This has been handy on several occasions.
To look at it:
# mount -t debugfs none /sys/kernel/debug
# od -a /sys/kernel/debug/powerpc/flat-device-tree
and/or
# dtc -fI dtb /sys/kernel/debug/powerpc/flat-device-tree -O dts
Signed-off-by: Michael Ellerman <[email protected]>
Signed-off-by: Paul Mackerras <[email protected]>
Diffstat (limited to 'scripts/basic/docproc.c')
0 files changed, 0 insertions, 0 deletions