From: Bin Meng Date: Fri, 5 Jul 2019 16:23:17 +0000 (-0700) Subject: dm: core: Set correct "status" value for a node X-Git-Tag: v2019.10-rc1~14^2~6 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=163512122e9833a58d430230a9a3df44eb7f8058;p=oweals%2Fu-boot.git 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 Reviewed-by: Simon Glass --- 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"); }