]> git.baikalelectronics.ru Git - uboot.git/commitdiff
fdt_support: Fix comment for fdt_create_phandle()
authorMarek Behún <marek.behun@nic.cz>
Fri, 26 Nov 2021 13:57:09 +0000 (14:57 +0100)
committerStefan Roese <sr@denx.de>
Sun, 19 Dec 2021 08:50:47 +0000 (09:50 +0100)
This function does not necessarily create a new phandle. If a phandle
exists, no new phandle is created.

Signed-off-by: Marek Behún <marek.behun@nic.cz>
Reviewed-by: Stefan Roese <sr@denx.de>
common/fdt_support.c

index 8ac905011cc2df514191ff235814b455ceb400ec..df111f708cc1c7a2ba12a287fc183a080724e5b7 100644 (file)
@@ -1504,7 +1504,7 @@ int fdt_set_phandle(void *fdt, int nodeoffset, uint32_t phandle)
 }
 
 /*
- * fdt_create_phandle: Create a phandle property for the given node
+ * fdt_create_phandle: Get or create a phandle property for the given node
  *
  * @fdt: ptr to device tree
  * @nodeoffset: node to update