[U-Boot] [PATCH 3/4] 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 --- drivers/core/ofnode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/core/ofnode.c b/drivers/core/ofnode.c index c72c6e2..bbea729 100644 --- a/drivers/core/ofnode.c +++ b/drivers/core/ofnode.c @@ -876,5 +876,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"); } -- 2.7.4 ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot
Re: [U-Boot] [PATCH 3/4] dm: core: Set correct "status" value for a node
On Fri, 5 Jul 2019 at 10:23, Bin Meng wrote: > > Per device tree spec, "status" property can have a value of "okay", > or "disabled", but not "disable". > > Signed-off-by: Bin Meng > --- > > drivers/core/ofnode.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Reviewed-by: Simon Glass ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot
Re: [U-Boot] [PATCH 3/4] dm: core: Set correct "status" value for a node
On Fri, 5 Jul 2019 at 10:23, Bin Meng wrote: > > Per device tree spec, "status" property can have a value of "okay", > or "disabled", but not "disable". > > Signed-off-by: Bin Meng > --- > > drivers/core/ofnode.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Reviewed-by: Simon Glass Applied to u-boot-dm, thanks! ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot