[PATCH v1 4/4] tools: zynqmp_psu_init_minimize.sh: Switch to clang-format

Max Merchel max.merchel at ew.tq-group.com
Mon Sep 1 08:09:29 CEST 2025


Am 30.08.25 um 01:39 schrieb Javier Tia:

> Replace the use of scripts/Lindent with clang-format in
> zynqmp_psu_init_minimize.sh. This change is made to align with the rest
> of the codebase that uses clang-format for code formatting. This ensures
> consistency across all scripts in terms of code style and formatting.
> 
> Signed-off-by: Javier Tia <javier.tia at linaro.org>
> ---
>   tools/zynqmp_psu_init_minimize.sh | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tools/zynqmp_psu_init_minimize.sh b/tools/zynqmp_psu_init_minimize.sh
> index 5c8b73703bf..f8b729ebc97 100755
> --- a/tools/zynqmp_psu_init_minimize.sh
> +++ b/tools/zynqmp_psu_init_minimize.sh
> @@ -82,7 +82,7 @@ for i in $FUNCS_TO_REMOVE; do
>   sed -i "/$i/,/^}$/d" ${OUT}
>   done
>   
> -scripts/Lindent ${OUT}
> +clang-format -i -style=file ${OUT}
>   
>   # Prepend 'static' to internal functions
>   sed -i 's/^.*data(void)$/static &/g' ${OUT}

This Commit must be made before
[PATCH v1 2/4] Lindent: Remove wrapper around indent tool

First switch to clang-format and then delete scripts/Lindent.

Best regards,
Max

-- 
TQ-Systems GmbH | Mühlstraße 2, Gut Delling | 82229 Seefeld, Germany
Amtsgericht München, HRB 105018
Geschäftsführer: Detlef Schneider, Rüdiger Stahl, Stefan Schneider
http://www.tq-group.com/



More information about the U-Boot mailing list