diff options
author | Marek BehĂșn <marek.behun@nic.cz> | 2021-11-26 14:57:09 +0100 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2021-12-19 09:50:47 +0100 |
commit | c92ccba7710b3f5fbeebced9cad57f24c940b834 (patch) | |
tree | 18e4c1317208ba8028da01745098aa079e71956e | |
parent | 2105cd042124623a7ad64b6955aba67115db83a3 (diff) | |
download | u-boot-c92ccba7710b3f5fbeebced9cad57f24c940b834.zip u-boot-c92ccba7710b3f5fbeebced9cad57f24c940b834.tar.gz u-boot-c92ccba7710b3f5fbeebced9cad57f24c940b834.tar.bz2 |
fdt_support: Fix comment for fdt_create_phandle()
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>
-rw-r--r-- | common/fdt_support.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/fdt_support.c b/common/fdt_support.c index 8ac9050..df111f7 100644 --- a/common/fdt_support.c +++ b/common/fdt_support.c @@ -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 |