[U-Boot] [PATCH v2 01/10] tiny-printf: Reduce size by removing ctype

sjg at google.com sjg at google.com
Tue Oct 29 23:21:30 UTC 2019


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 at chromium.org>
---

Changes in v2: None

 lib/tiny-printf.c | 7 +++++++
 1 file changed, 7 insertions(+)

Applied to u-boot-dm, thanks!


More information about the U-Boot mailing list