[PATCH 0/4] Reduce TI-SCI driver size to fix am65x_evm_r5 build

Andrew Davis afd at ti.com
Tue Jul 26 03:25:02 CEST 2022


Hi All,

The am65x_evm_r5_defconfig build was overflowing the SRAM area by 16 bytes
on the latest master with the gcc-arm-9.2-2019.12 compiler. Lets do some
simple cleanups in one of the largest drivers on these K3 systems and give
us some more headroom for new features.

$ ./tools/buildman/buildman -o ../buildman -b upstream/dev/ti-sci-size --step 0 -sS
Summary of 2 commits for 1223 boards (32 threads, 1 job per thread)
01: configs: Resync with savedefconfig
   aarch64:  w+   am62x_evm_a53 am64x_evm_a53 am65x_evm_a53 am65x_hs_evm_a53 j7200_evm_a72 j721e_evm_a72 j721e_hs_evm_a72 j721s2_evm_a72
       arm:  w+   am62x_evm_r5 am64x_evm_r5 am65x_evm_r5_usbdfu am65x_evm_r5_usbmsc am65x_hs_evm_r5 j7200_evm_r5 j721e_evm_r5 j721e_hs_evm_r5 j721s2_evm_r5 +   am65x_evm_r5
05: firmware: ti_sci: Move ACK checking to ti_sci_do_xfer() function
       arm:  w+   am65x_evm_r5
   aarch64: (for 8/345 boards) all -20333.0 rodata -409.0 spl/u-boot-spl:all -20333.0 spl/u-boot-spl:rodata -409.0 spl/u-boot-spl:text -19924.0 text -19924.0
       arm: (for 10/649 boards) all -16503.0 bss -3.6 rodata -409.0 spl/u-boot-spl:all -13894.6 spl/u-boot-spl:rodata -409.0 spl/u-boot-spl:text -13485.6 text -16090.4

Andrew

Andrew Davis (4):
  firmware: ti_sci: Reduce output on ti_sci_do_xfer error
  firmware: ti_sci: Factor out message alloc failed message
  firmware: ti_sci: Remove inline keyword from functions
  firmware: ti_sci: Move ACK checking to ti_sci_do_xfer() function

 drivers/firmware/ti_sci.c | 341 +++++++-------------------------------
 1 file changed, 64 insertions(+), 277 deletions(-)

-- 
2.36.1



More information about the U-Boot mailing list