projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
arm: mach-k3: Warn when node to disable is not found
[platform/kernel/u-boot.git]
/
arch
/
arm
/
mach-k3
/
common.c
diff --git
a/arch/arm/mach-k3/common.c
b/arch/arm/mach-k3/common.c
index
50f5b81
..
e8b7d70
100644
(file)
--- a/
arch/arm/mach-k3/common.c
+++ b/
arch/arm/mach-k3/common.c
@@
-174,8
+174,8
@@
int fdt_disable_node(void *blob, char *node_path)
offs = fdt_path_offset(blob, node_path);
if (offs < 0) {
-
debug
("Node %s not found.\n", node_path);
- return
0
;
+
printf
("Node %s not found.\n", node_path);
+ return
offs
;
}
ret = fdt_setprop_string(blob, offs, "status", "disabled");
if (ret < 0) {