]> git.dujemihanovic.xyz Git - u-boot.git/commit
lib: Add a function to convert a string to a hex value
authorSimon Glass <sjg@chromium.org>
Thu, 14 Oct 2021 18:48:07 +0000 (12:48 -0600)
committerTom Rini <trini@konsulko.com>
Fri, 12 Nov 2021 00:02:34 +0000 (19:02 -0500)
commit4a255ea3b65e7793eea97a90ad00dc2b59889683
tree3d61765cb89672ba2cdab07ec363ca627827aeb0
parent3bfb0f719a196558f909ca568f3803f86a190509
lib: Add a function to convert a string to a hex value

Add an xtoa() function, similar to itoa() but for hex instead.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Artem Lapkin <email2tema@gmail.com>
Tested-by: Artem Lapkin <email2tema@gmail.com>
include/vsprintf.h
lib/vsprintf.c
test/print_ut.c