diff options
author | Andrew Davis <afd@ti.com> | 2022-11-11 12:49:38 -0600 |
---|---|---|
committer | Andrew Davis <afd@ti.com> | 2023-03-30 10:19:21 -0500 |
commit | 3aa8d49ada6fa6d6e36cce9c4e28489340c754bc (patch) | |
tree | 38c0408500ceb4fc941d1198b6936aca088091a7 /plat/ti | |
parent | 6688fd7aec2f9f09eb49f3f6c8535752a5f7be86 (diff) | |
download | arm-trusted-firmware-3aa8d49ada6fa6d6e36cce9c4e28489340c754bc.tar.gz |
refactor(ti): remove inline directive from ti_sci and sec_proxy drivers
Let the compiler choose when to inline. Here this reduces binary size.
Signed-off-by: Andrew Davis <afd@ti.com>
Change-Id: I68cd0fc3a94c8c94781ca3dc277a1dd4c6f2bd3a
Diffstat (limited to 'plat/ti')
-rw-r--r-- | plat/ti/k3/common/drivers/sec_proxy/sec_proxy.c | 2 | ||||
-rw-r--r-- | plat/ti/k3/common/drivers/ti_sci/ti_sci.c | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/plat/ti/k3/common/drivers/sec_proxy/sec_proxy.c b/plat/ti/k3/common/drivers/sec_proxy/sec_proxy.c index a0bfdee36..1bed229b7 100644 --- a/plat/ti/k3/common/drivers/sec_proxy/sec_proxy.c +++ b/plat/ti/k3/common/drivers/sec_proxy/sec_proxy.c @@ -130,7 +130,7 @@ union sec_msg_hdr { * * Return: 0 if all goes well, else appropriate error message */ -static inline int k3_sec_proxy_verify_thread(struct k3_sec_proxy_thread *spt, +static int k3_sec_proxy_verify_thread(struct k3_sec_proxy_thread *spt, uint32_t dir) { /* Check for any errors already available */ diff --git a/plat/ti/k3/common/drivers/ti_sci/ti_sci.c b/plat/ti/k3/common/drivers/ti_sci/ti_sci.c index 366189f17..f0529d07a 100644 --- a/plat/ti/k3/common/drivers/ti_sci/ti_sci.c +++ b/plat/ti/k3/common/drivers/ti_sci/ti_sci.c @@ -92,8 +92,8 @@ static int ti_sci_setup_one_xfer(uint16_t msg_type, uint32_t msg_flags, * * Return: 0 if all goes well, else appropriate error message */ -static inline int ti_sci_get_response(struct k3_sec_proxy_msg *msg, - enum k3_sec_proxy_chan_id chan) +static int ti_sci_get_response(struct k3_sec_proxy_msg *msg, + enum k3_sec_proxy_chan_id chan) { struct ti_sci_msg_hdr *hdr; unsigned int retry = 5; @@ -140,7 +140,7 @@ static inline int ti_sci_get_response(struct k3_sec_proxy_msg *msg, * * Return: 0 if all goes well, else appropriate error message */ -static inline int ti_sci_do_xfer(struct ti_sci_xfer *xfer) +static int ti_sci_do_xfer(struct ti_sci_xfer *xfer) { struct k3_sec_proxy_msg *tx_msg = &xfer->tx_message; struct k3_sec_proxy_msg *rx_msg = &xfer->rx_message; |