dm: core: Support writing a property to an empty node
authorSimon Glass <sjg@chromium.org>
Wed, 7 Sep 2022 02:27:03 +0000 (20:27 -0600)
committerTom Rini <trini@konsulko.com>
Thu, 29 Sep 2022 20:07:58 +0000 (16:07 -0400)
commitc3a194dec97be3ceb74ba2c980e635aee1644d94
tree3a6cc834b0952633c6a9b6684a65bcbaaa28361c
parentffe90392497898ccd8000e695901853e192a9007
dm: core: Support writing a property to an empty node

At present this does not work with livetree. Fix it and add a test.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/core/of_access.c
test/dm/ofnode.c