diff options
author | Bin Meng <bmeng.cn@gmail.com> | 2019-07-05 19:23:17 +0300 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2019-07-24 22:54:08 +0300 |
commit | 163512122e9833a58d430230a9a3df44eb7f8058 (patch) | |
tree | 37f97b55fe30e8934c4623fe8ef8ff02b5107528 /drivers/core | |
parent | a1f99e46665855ade49935a813073860c26d2728 (diff) | |
download | u-boot-163512122e9833a58d430230a9a3df44eb7f8058.tar.xz |
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>
Diffstat (limited to 'drivers/core')
-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"); } |