diff options
author | Simon Glass <sjg@chromium.org> | 2023-01-15 14:15:47 -0700 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-02-11 12:22:35 -0500 |
commit | c3d91812a2b69fbc73eccdcec70d7ea510d7c8bd (patch) | |
tree | 5ae0a2527e8e8541c41c53159fd9a89bc79b861f /arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog.c | |
parent | d9044e5363bb0b32a7aff00adf47c227f78f0f32 (diff) |
trace: Reduce the number of function sites
Given that the compiler adds two function calls into each function, the
current spacing is overkill. Drop it down to 16 bytes per function, which
is still plenty. This saves some space in the trace buffer.
Also move the calculation into a function, so it is common code. Add a
check for gd->mon_len being unset, which breaks tracing.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog.c')
0 files changed, 0 insertions, 0 deletions