This patch series modernizes U-Boot's code formatting infrastructure by with current Linux kernel practices and providing a more robust and comprehensive formatting solution.
Changes in v3: - Extend clang-format documentation with additional information. How to disable formatting. Explain controversial aspects of introducing a new coding style. Clarify the origin of the '.clang-format'. Add code formatting best practices. - Add Michal testing tag. v2: https://lore.kernel.org/u-boot/20250903220942.473282-1-javier....@linaro.org/ - Replace Lindent with clang-format before remove it v1: https://lore.kernel.org/u-boot/20250829233951.547352-1-javier....@linaro.org/ - 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: https://lore.kernel.org/u-boot/20250829190058.GY124814@bill-the-cat/ Javier Tia (4): clang-format: Add configuration file tools: zynqmp_psu_init_minimize.sh: Switch to clang-format Lindent: Remove wrapper around indent tool doc: Update U-Boot coding style guide with clang-format usage .clang-format | 804 ++++++++++++++++++++++++++++++ .gitignore | 1 + doc/develop/codingstyle.rst | 81 ++- scripts/Lindent | 18 - tools/zynqmp_psu_init_minimize.sh | 2 +- 5 files changed, 885 insertions(+), 21 deletions(-) create mode 100644 .clang-format delete mode 100755 scripts/Lindent -- 2.51.0