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
@ -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 New Issue
Block a user