summaryrefslogtreecommitdiff
path: root/arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2023-01-15 14:15:47 -0700
committerTom Rini <trini@konsulko.com>2023-02-11 12:22:35 -0500
commitc3d91812a2b69fbc73eccdcec70d7ea510d7c8bd (patch)
tree5ae0a2527e8e8541c41c53159fd9a89bc79b861f /arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog.c
parentd9044e5363bb0b32a7aff00adf47c227f78f0f32 (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