dm: core: Split out the declaration of ofnode
authorSimon Glass <sjg@chromium.org>
Sat, 30 Jul 2022 21:52:06 +0000 (15:52 -0600)
committerTom Rini <trini@konsulko.com>
Fri, 12 Aug 2022 12:14:23 +0000 (08:14 -0400)
commit5063ced278e0093bdf926bc832a804f09fd3bd66
tree4852ac86b27ce9c5eb5629fe5252f872ae45d0c4
parentda62e1e861b922866311bcb3e07c69c12e79730d
dm: core: Split out the declaration of ofnode

This is used by a lot of files, but ofnode.h needs to include a lot of
header files. This can create dependency cycles, particularly with
global_data.h which must include various declarations.

Split the core delcarations into a separate file to fix this.

Signed-off-by: Simon Glass <sjg@chromium.org>
include/dm/ofnode.h
include/dm/ofnode_decl.h [new file with mode: 0644]