summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2020-10-07 15:13:17 +0200
committerMichal Simek <michal.simek@xilinx.com>2020-10-27 08:13:31 +0100
commit0d76b71d93f6d7740b973dbb50010dc8f7b347f0 (patch)
treeae7366f4bb8edcade3736fa63cd41617716a606f /drivers
parentf08d0c51b5738fd36748b72a8a98108c7ee1cba0 (diff)
arm64: zynqmp: Get rid of simple_itoa and replace it by snprintf
simple_itoa() is implemented only for !CONFIG_USE_TINY_PRINTF. Tiny printf is normally used by SPL that's code which uses simple_itoa() has missing reference. That's why refactor code by using on snprintf() instead of strncpy()/strncat() combination. This change also descrease code size by saving 24B based on buildman. aarch64: (for 1/1 boards) all -22.0 rodata +2.0 text -24.0 xilinx_zynqmp_virt: all -22 rodata +2 text -24 u-boot: add: 0/0, grow: 0/-1 bytes: 0/-24 (-24) function old new delta board_init 520 496 -24 Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions