This patch series modernizes U-Boot's code formatting infrastructure by transitioning from the legacy scripts/Lindent tool to clang-format, aligning with current Linux kernel practices and providing a more robust and comprehensive formatting solution.
Changes in v1: - Removal of the obsolete scripts/Lindent wrapper - Documentation updates for the coding style guide - Migration of existing tools to use clang-format - Copy .clang-format from Linux kernel v6.16 tag v0 link: https://lore.kernel.org/u-boot/20250829190058.GY124814@bill-the-cat/ Javier Tia (4): clang-format: Add configuration file Lindent: Remove wrapper around indent tool doc: Update U-Boot coding style guide with clang-format usage tools: zynqmp_psu_init_minimize.sh: Switch to clang-format .clang-format | 804 ++++++++++++++++++++++++++++++ .gitignore | 1 + doc/develop/codingstyle.rst | 40 +- scripts/Lindent | 18 - tools/zynqmp_psu_init_minimize.sh | 2 +- 5 files changed, 844 insertions(+), 21 deletions(-) create mode 100644 .clang-format delete mode 100755 scripts/Lindent -- 2.51.0