- Jul 24, 2013
-
-
Wolfgang Denk authored
Signed-off-by:
Wolfgang Denk <wd@denx.de> [trini: Fixup common/cmd_io.c] Signed-off-by:
Tom Rini <trini@ti.com>
-
- Mar 11, 2013
-
-
Andreas Bießmann authored
This patch adds whitespace to the printed hex numbers to have an aligned ASCII printout at the end of the line. This changes for example the md output from: ---8<--- OMAP3 Tricorder # md.l $loadaddr 5 82000000: 30200109 20a4028c 90010000 08a00000 .. 0... ........ 82000010: 01010000 .... --->8--- to ---8<--- OMAP3 Tricorder # md.l $loadaddr 5 82000000: 30200109 20a4028c 90010000 08a00000 .. 0... ........ 82000010: 01010000 .... --->8--- The cost of this is about 72 byte .text increase (tested with at91 build). Signed-off-by:
Andreas Bießmann <andreas.devel@googlemail.com>
-
- Mar 01, 2013
-
-
Simon Glass authored
The buffer cannot be changed by this function, so change the buffer pointer to a const. This allows callers with const pointer to use the function without a cast. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
- Jul 28, 2011
-
-
Andreas Bießmann authored
This patch removes the architecture specific implementation of version_string where possible. Some architectures use a special place and therefore we provide U_BOOT_VERSION_STRING definition and a common weak symbol version_string. Signed-off-by:
Andreas Bießmann <andreas.devel@googlemail.com> CC: Mike Frysinger <vapier@gentoo.org> CC: Peter Pan <pppeterpppan@gmail.com> Acked-by:
Mike Frysinger <vapier@gentoo.org>
-
- Sep 13, 2010
-
-
Reinhard Meyer authored
use a union to cause necessary alignment per architecture Signed-off-by:
Reinhard Meyer <u-boot@emk-elektronik.de>
-
- Aug 08, 2010
-
-
Mike Frysinger authored
Applying a little creative format string allows us to shrink the initial data read & display loop by only calling printf once. Re-using the local data buffer to generate the string we want to display then allows us to output everything with just one printf call instead of multiple calls to the putc function. The local stack buffer needs increasing by 1 byte, but the resulting code shrink and speed up is worth it I think. Signed-off-by:
Mike Frysinger <vapier@gentoo.org>
-
- May 17, 2010
-
-
Nick Thompson authored
Modification of print_size to avoid use of divides and especially long long divides. Keep the binary scale factor in terms of bit shifts instead. This should be faster, since the previous code gave the compiler no clues that the divides where always powers of two, preventing optimisation. Signed-off-by:
Nick Thompson <nick.thompson@ge.com> Acked-by:
Timur Tabi <timur@freescale.com>
-
- May 05, 2010
-
-
Timur Tabi authored
Modify print_size() so that it can accept numbers larger than 4GB on 32-bit systems. Add support for display terabyte, petabyte, and exabyte sizes. Change the output to use International Electrotechnical Commission binary prefix standard. Signed-off-by:
Timur Tabi <timur@freescale.com>
-
Timur Tabi authored
In print_size(), the math that calculates the fractional remainder of a number used the same integer size as a physical address. However, the "10 *" factor of the algorithm means that a large number (e.g. 1.5GB) can overflow the integer if we're running on a 32-bit system. Therefore, we need to disassociate this function from the size of a physical address. Signed-off-by:
Timur Tabi <timur@freescale.com>
-
- Apr 13, 2010
-
-
Peter Tyser authored
Now that the other architecture-specific lib directories have been moved out of the top-level directory there's not much reason to have the '_generic' suffix on the common lib directory. Signed-off-by:
Peter Tyser <ptyser@xes-inc.com>
-
- Jul 09, 2008
-
-
Becky Bruce authored
Signed-off-by:
Becky Bruce <becky.bruce@freescale.com>
-
- Jun 11, 2008
-
-
Becky Bruce authored
Signed-off-by:
Becky Bruce <becky.bruce@freescale.com>
-
- Feb 20, 2007
-
-
Grant Likely authored
Printing a buffer is a darn useful thing. Move the buffer print code into print_buffer() in lib_generic/ Signed-off-by:
Grant Likely <grant.likely@secretlab.ca>
-
- Jul 01, 2003
-
-
Wolfgang Denk authored
get rid of MK_CMD_ENTRY macro; update doc/README.command
-
- Sep 08, 2002
-
-
Wolfgang Denk authored
-
- Aug 27, 2002
-
-
Wolfgang Denk authored
-
- Dec 28, 2000
-
-
Wolfgang Denk authored
-
- Dec 14, 2000
-
-
Wolfgang Denk authored
-
- Nov 12, 2000
-
-
Wolfgang Denk authored
-