- May 07, 2018
-
-
Tom Rini authored
When U-Boot started using SPDX tags we were among the early adopters and there weren't a lot of other examples to borrow from. So we picked the area of the file that usually had a full license text and replaced it with an appropriate SPDX-License-Identifier: entry. Since then, the Linux Kernel has adopted SPDX tags and they place it as the very first line in a file (except where shebangs are used, then it's second line) and with slightly different comment styles than us. In part due to community overlap, in part due to better tag visibility and in part for other minor reasons, switch over to that style. This commit changes all instances where we have a single declared license in the tag as both the before and after are identical in tag contents. There's also a few places where I found we did not have a tag and have introduced one. Signed-off-by:
Tom Rini <trini@konsulko.com>
-
- Jul 11, 2017
-
-
Simon Glass authored
Move the display options code into a separate function so that the U-Boot banner can be obtained from other code. Adjust the 'version' command to use it. Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Bin Meng <bmeng.cn@gmail.com> Tested-by:
Bin Meng <bmeng.cn@gmail.com> Tested-by:
Stephen Warren <swarren@nvidia.com>
-
- Nov 20, 2015
-
-
Simon Glass authored
Since common.h will always include this automatically, it is not needed. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
The console includes a global variable and several functions that are only used by a small subset of U-Boot files. Before adding more functions, move the definitions into their own header file. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
- Aug 28, 2015
-
-
Suriyan Ramasami authored
Build without CONFIG_SPL_SERIAL_SUPPORT does not print the cpu freq. I have seen this in the odroid U3 board, where on boot one sees this: CPU: Exynos4412 @ GHz instead of: CPU: Exynos4412 @ 1 GHz I am assuming that this change was done to get rid of compiler warnings related to unused variables when building with CONFIG_SPL_SERIAL_SUPPORT not being defined in an SPL build. Signed-off-by:
Suriyan Ramasami <suriyan.r@gmail.com> Acked-by:
Simon Glass <sjg@chromium.org> Acked-by:
Heiko Schocher <hs@denx.de> Reviewed-by:
Joe Hershberger <joe.hershberger@ni.com>
-
- Aug 13, 2015
-
-
Heiko Schocher authored
This patch enables building SPL without CONFIG_SPL_SERIAL_SUPPORT support. Signed-off-by:
Heiko Schocher <hs@denx.de> [trini: Ensure we build arch/arm/imx-common on mx28] Signed-off-by:
Tom Rini <trini@konsulko.com>
-
- May 15, 2015
-
-
Simon Glass authored
This fixes a warning in the print_buffer() function with some toolchains. Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Joe Hershberger <joe.hershberger@ni.com>
-
- Apr 30, 2015
-
-
Simon Glass authored
Add a function similar to print_size() that works for frequencies. It can handle from Hz to GHz. Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Bin Meng <bmeng.cn@gmail.com> Tested-by:
Bin Meng <bmeng.cn@gmail.com>
-
Simon Glass authored
Before adding one more function, create a separate header to help reduce the size of common.h. Add the missing function comments and tidy up. Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Bin Meng <bmeng.cn@gmail.com>
-
- Oct 27, 2014
-
-
Simon Glass authored
Use inttypes.h and uint64_t to correct the code so that it will not issue warnings on 64-bit machines where 'uint64_t' is 'unsigned long'. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
- Mar 04, 2014
-
-
York Sun authored
Add 64-bit data for memory commands, such as md, mw, mm, cmp. The new size ".q " is introduced. For 64-bit architecture, 64-bit data is enabled by default, by detecting compiler __LP64__. It is optional for other architectures. Signed-off-by:
York Sun <yorksun@freescale.com>
-
- 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
-