01 Feb, 2019

1 commit

  • At present this function uses printf() format strings that are not
    supported in SPL, so the output just consists of %llx strings on 64-bit.
    machines. Fix this by adding a special case.

    Signed-off-by: Simon Glass
    Reviewed-by: Philipp Tomsich

    Simon Glass
     

11 Sep, 2018

1 commit

  • In int-ll64.h, we always use the following typedefs:

    typedef unsigned int u32;
    typedef unsigned long uintptr_t;
    typedef unsigned long long u64;

    This does not need to match to the compiler's .
    Do not include it.

    The use of PRI* makes the code super-ugly. You can simply use
    "l" for printing uintptr_t, "ll" for u64, and no modifier for u32.

    Signed-off-by: Masahiro Yamada

    Masahiro Yamada
     

07 May, 2018

1 commit

  • 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

    Tom Rini
     

12 Jul, 2017

1 commit


20 Nov, 2015

2 commits


29 Aug, 2015

1 commit

  • 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
    Acked-by: Simon Glass
    Acked-by: Heiko Schocher
    Reviewed-by: Joe Hershberger

    Suriyan Ramasami
     

13 Aug, 2015

1 commit


15 May, 2015

1 commit


30 Apr, 2015

2 commits


27 Oct, 2014

1 commit


05 Mar, 2014

1 commit

  • 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

    York Sun
     

24 Jul, 2013

1 commit


12 Mar, 2013

1 commit


01 Mar, 2013

1 commit


28 Jul, 2011

1 commit

  • 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
    CC: Mike Frysinger
    CC: Peter Pan
    Acked-by: Mike Frysinger

    Andreas Bießmann
     

13 Sep, 2010

1 commit


09 Aug, 2010

1 commit

  • 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

    Mike Frysinger
     

18 May, 2010

1 commit

  • 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
    Acked-by: Timur Tabi

    Nick Thompson
     

06 May, 2010

2 commits


13 Apr, 2010

1 commit

  • 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

    Peter Tyser