diff options
author | 2024-02-16 17:05:50 -0800 | |
---|---|---|
committer | 2024-03-08 12:50:39 -0600 | |
commit | dc1460fe1b2dc883195d21759676d55b183fd495 (patch) | |
tree | 15f5acfdb34230f6412ea997c3a800d2b873670e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | dt-bindings: timer: mediatek: Convert to json-schema (diff) | |
download | wireguard-linux-dc1460fe1b2dc883195d21759676d55b183fd495.tar.xz wireguard-linux-dc1460fe1b2dc883195d21759676d55b183fd495.zip |
of: Always unflatten in unflatten_and_copy_device_tree()
We want to populate an empty DT whenever CONFIG_OF is enabled so that
overlays can be applied and the DT unit tests can be run. Make
unflatten_and_copy_device_tree() stop printing a warning if the
'initial_boot_params' pointer is NULL. Instead, simply copy the dtb if
there is one and then unflatten it. If there isn't a DT to copy, then
the call to unflatten_device_tree() is largely a no-op, so nothing
really changes here.
Cc: Rob Herring <robh+dt@kernel.org>
Cc: Frank Rowand <frowand.list@gmail.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Link: https://lore.kernel.org/r/20240217010557.2381548-2-sboyd@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions