commit | 7a4571ae553e2972b7958306fd796a2fd24fd7d1 | [log] [tgz] |
---|---|---|
author | Michael Ellerman <michael@ellerman.id.au> | Fri Jun 23 18:16:03 2006 +1000 |
committer | Paul Mackerras <paulus@samba.org> | Wed Jun 28 11:59:46 2006 +1000 |
tree | 62111278b4bf452e1c481a2e662b910758b8d123 | |
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 <michael@ellerman.id.au> Signed-off-by: Paul Mackerras <paulus@samba.org>