public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Andrew Davis <afd@ti.com>
To: Simon Glass <sjg@chromium.org>, Tom Rini <trini@konsulko.com>,
	<u-boot@lists.denx.de>
Cc: Andrew Davis <afd@ti.com>
Subject: [PATCH 0/4] Reduce TI-SCI driver size to fix am65x_evm_r5 build
Date: Mon, 25 Jul 2022 20:25:02 -0500	[thread overview]
Message-ID: <20220726012506.19368-1-afd@ti.com> (raw)

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


             reply	other threads:[~2022-07-26  1:25 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-26  1:25 Andrew Davis [this message]
2022-07-26  1:25 ` [PATCH 1/4] firmware: ti_sci: Reduce output on ti_sci_do_xfer error Andrew Davis
2022-08-26 18:49   ` Tom Rini
2022-07-26  1:25 ` [PATCH 2/4] firmware: ti_sci: Factor out message alloc failed message Andrew Davis
2022-08-26 18:49   ` Tom Rini
2022-07-26  1:25 ` [PATCH 3/4] firmware: ti_sci: Remove inline keyword from functions Andrew Davis
2022-08-26 18:49   ` Tom Rini
2022-07-26  1:25 ` [PATCH 4/4] firmware: ti_sci: Move ACK checking to ti_sci_do_xfer() function Andrew Davis
2022-08-26 18:49   ` Tom Rini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220726012506.19368-1-afd@ti.com \
    --to=afd@ti.com \
    --cc=sjg@chromium.org \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox