aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Huth <thuth@linux.vnet.ibm.com>2011-12-21 11:32:10 +0100
committerThomas Huth <thuth@linux.vnet.ibm.com>2011-12-21 11:32:10 +0100
commit72811e02b337ab6adcffec434cfb51169ce1360d (patch)
treef886020f7833bc539f8ac6915cac351b163db295
parentcaf3ad3e8d13ea70709dd27b9cf957ff313f1eed (diff)
downloadSLOF-72811e02b337ab6adcffec434cfb51169ce1360d.zip
SLOF-72811e02b337ab6adcffec434cfb51169ce1360d.tar.gz
SLOF-72811e02b337ab6adcffec434cfb51169ce1360d.tar.bz2
Disable the debug message about FDT phandles that could not be replaced
The "Warning: Did not replace phandle in XYZ" messages could confuse the normal users, so they are now only printed when running in diagnostic-mode. Signed-off-by: Thomas Huth <thuth@linux.vnet.ibm.com>
-rw-r--r--board-qemu/slof/fdt.fs4
1 files changed, 3 insertions, 1 deletions
diff --git a/board-qemu/slof/fdt.fs b/board-qemu/slof/fdt.fs
index 850a687..6d57e20 100644
--- a/board-qemu/slof/fdt.fs
+++ b/board-qemu/slof/fdt.fs
@@ -323,7 +323,9 @@ fdt-claim-reserve
s" phandle" delete-property
s" linux,phandle" delete-property
ELSE
- cr ." Warning: Did not replace phandle in " r@ node>path type cr
+ diagnostic-mode? IF
+ cr ." Warning: Did not replace phandle in " r@ node>path type cr
+ THEN
THEN
THEN
r> drop