diff options
author | Bin Meng <bmeng.cn@gmail.com> | 2019-07-05 09:23:17 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2019-07-24 12:54:08 -0700 |
commit | 163512122e9833a58d430230a9a3df44eb7f8058 (patch) | |
tree | 37f97b55fe30e8934c4623fe8ef8ff02b5107528 | |
parent | a1f99e46665855ade49935a813073860c26d2728 (diff) | |
download | u-boot-163512122e9833a58d430230a9a3df44eb7f8058.tar.gz |
dm: core: Set correct "status" value for a node
Per device tree spec, "status" property can have a value of "okay",
or "disabled", but not "disable".
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
-rw-r--r-- | drivers/core/ofnode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/core/ofnode.c b/drivers/core/ofnode.c index 179a6447dc..2ac73af934 100644 --- a/drivers/core/ofnode.c +++ b/drivers/core/ofnode.c @@ -884,5 +884,5 @@ int ofnode_set_enabled(ofnode node, bool value) if (value) return ofnode_write_string(node, "status", "okay"); else - return ofnode_write_string(node, "status", "disable"); + return ofnode_write_string(node, "status", "disabled"); } |