| e4c5383e | 04-Dec-2015 |
Sjoerd Simons <sjoerd.simons@collabora.co.uk> |
lib: split out strtoxxxx functions out of vsprintf.c
To allow the various string to number conversion functions to be used when using tiny-printf,split them out into their own file which gets build
lib: split out strtoxxxx functions out of vsprintf.c
To allow the various string to number conversion functions to be used when using tiny-printf,split them out into their own file which gets build regardless of what printf implementation is used.
Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
show more ...
|
| 2b22a99c | 04-Dec-2015 |
Sjoerd Simons <sjoerd.simons@collabora.co.uk> |
lib: Split panic functions out of vsprintf.c
To allow panic and panic_str to still be used when using tiny-printf, split them out into their own file which gets build regardless of what printf imple
lib: Split panic functions out of vsprintf.c
To allow panic and panic_str to still be used when using tiny-printf, split them out into their own file which gets build regardless of what printf implementation is used.
Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
show more ...
|
| a5ecdd08 | 16-Nov-2015 |
Stefan Roese <sr@denx.de> |
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
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>
show more ...
|
| b7b65090 | 09-Nov-2015 |
Simon Glass <sjg@chromium.org> |
Add a circular memory buffer implementation
This will be used to support console recording. It provides for a circular buffer which can be written at the head and read from the tail. It supports avo
Add a circular memory buffer implementation
This will be used to support console recording. It provides for a circular buffer which can be written at the head and read from the tail. It supports avoiding data copying by providing raw access to the data.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| 9d8ac956 | 18-Oct-2015 |
Simon Glass <sjg@chromium.org> |
fdt: Correct handling of alias regions
At present the last four bytes of the alias region are dropped in the case where the last alias is included. This results in a corrupted device tree. Fix this.
fdt: Correct handling of alias regions
At present the last four bytes of the alias region are dropped in the case where the last alias is included. This results in a corrupted device tree. Fix this.
Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
show more ...
|