tool: aisimage: use ALIGN instead of self defiend macro
[oweals/u-boot.git] / tools / zynqmp_psu_init_minimize.sh
index b0a07f9080a64a501c9cf3296dda41145ee2220c..4ee418f07eac9013016a7e5d294b49046e32a694 100755 (executable)
@@ -64,7 +64,6 @@ psu_..._protection
 psu_init_xppu_aper_ram
 mask_delay(u32
 mask_read(u32
-dpll_prog
 mask_poll(u32
 mask_pollonvalue(u32
 psu_ps_pl_reset_config_data
@@ -94,6 +93,9 @@ sed -i 's/^unsigned long /static &/g' ${OUT}
 sed -i 's/()$/(void)/g' ${OUT}
 sed -i 's/0X/0x/g' ${OUT}
 
+# return (0) -> return 0
+sed -ri 's/return \(([0-9]+)\)/return \1/g' ${OUT}
+
 # Add header
 cat << EOF >${TMP}
 // SPDX-License-Identifier: GPL-2.0+