mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-11 07:34:31 +00:00
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>
This commit is contained in:
parent
a1f99e4666
commit
163512122e
1 changed files with 1 additions and 1 deletions
|
@ -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");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue