mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-08-21 22:51:27 +02:00
Variable old_outdir cannot be used before assignment. The assignment must occur before the try block. tools/dtoc/test_fdt.py:796:26: E0601: Using variable 'old_outdir' before assignment (used-before-assignment) Add missing space in assignment. Fixes: a004f29464d1 ("binman: Tidy up _SetupDtb() to use its own temporary file") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
.. SPDX-License-Identifier: GPL-2.0+ Devicetree-to-C generator ========================= This is a Python program and associated utilities, which supports converting devicetree files into C code. It generates header files containing struct definitions, as well as C files containing the data. It does not require any modification of the devicetree files. Some high-level libraries are provided for working with devicetree. These may be useful in other projects. This package also includes some U-Boot-specific features, such as creating `struct udevice` and `struct uclass` entries for devicetree nodes.