dm: core: Provide a way to reset the device tree
authorSimon Glass <sjg@chromium.org>
Wed, 7 Sep 2022 02:27:19 +0000 (20:27 -0600)
committerTom Rini <trini@konsulko.com>
Fri, 30 Sep 2022 02:43:43 +0000 (22:43 -0400)
commitee88ba71acce3455aadef18c725de715e6c9af21
tree4c890e0501c5fdba9acf6a28407879ebc1dc659b
parent66d0d0c188db9e816c5b18e8823a8d8bf5e9cd63
dm: core: Provide a way to reset the device tree

At present there is only one device tree used by the ofnode functions,
except for some esoteric use of live tree. In preparation for supporting
more than one, add a way to reset the list of device trees.

For now this does nothing.

Signed-off-by: Simon Glass <sjg@chromium.org>
common/board_r.c
include/dm/ofnode.h
lib/fdtdec.c
test/test-main.c