tiny-printf: Reduce size by removing ctype
authorSimon Glass <sjg@chromium.org>
Mon, 21 Oct 2019 23:26:43 +0000 (17:26 -0600)
committerSimon Glass <sjg@chromium.org>
Sun, 27 Oct 2019 16:56:41 +0000 (10:56 -0600)
commit1c1c8a3a990742a73a75b091c35213b0a50f0c45
tree9f538a034831025f1bf06816d2708e15e9913668
parent2333dc47b891d169f97b57b0f687a5843acc7d8c
tiny-printf: Reduce size by removing ctype

The ctype array is brought into the image, adding 256 bytes, when it is
unlikely to be needed. The extra code for %p is only present when DEBUG
is defined, so let's drop ctype as well unless DEBUG is defined.

Signed-off-by: Simon Glass <sjg@chromium.org>
lib/tiny-printf.c