diff options
author | Stefan Roese <sr@denx.de> | 2015-11-16 15:26:34 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2015-11-23 10:56:08 -0500 |
commit | a5ecdd08fdf647c7c5a97e937ebed2d97549352f (patch) | |
tree | b528e48a854e76371204a560027d1a6d57c605d9 /scripts/fill_scrapyard.py | |
parent | 7d9cde1031040a4931d6e12da7d9767b7e1d85d4 (diff) | |
download | u-boot-imx-a5ecdd08fdf647c7c5a97e937ebed2d97549352f.zip u-boot-imx-a5ecdd08fdf647c7c5a97e937ebed2d97549352f.tar.gz u-boot-imx-a5ecdd08fdf647c7c5a97e937ebed2d97549352f.tar.bz2 |
lib/tiny-printf.c: Support numbers bigger than 0xffff and misc updates
With this patch now, the tiny printf() function also supports numbers
bigger than 0xffff. Additionally the code is simplified a bit and
some static variables are moved to function parameters. Also the
upper case hex variable output support is removed, as its not really
needed in this simple printf version. And removing it reduces the
complexity and the code size again a bit.
Here the new numbers, again on the db-mv784mp-gp (Armada XP):
Without this patch:
56542 18536 1956 77034 12cea ./spl/u-boot-spl
With this patch:
56446 18536 1936 76918 12c76 ./spl/u-boot-spl
Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Simon Glass <sjg@chromium.org>
Cc: Hans de Goede <hdegoede@redhat.com>
Cc: Tom Rini <trini@konsulko.com>
Cc: Albert Aribaud <albert.u.boot@aribaud.net>
Diffstat (limited to 'scripts/fill_scrapyard.py')
0 files changed, 0 insertions, 0 deletions