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
     

18 Aug, 2017

1 commit


16 Aug, 2017

1 commit

  • We are now using an env_ prefix for environment functions. Rename these
    two functions for consistency. Also add function comments in common.h.

    Quite a few places use getenv() in a condition context, provoking a
    warning from checkpatch. These are fixed up in this patch also.

    Suggested-by: Wolfgang Denk
    Signed-off-by: Simon Glass

    Simon Glass
     

24 Sep, 2016

1 commit


14 Dec, 2015

1 commit


13 Aug, 2015

1 commit

  • Since some driver like ohci, lcd used dcache functions. But m68k don't
    implement the invalidate_dcache_range()/flush_dcache_range() functions.

    To avoid compiling errors this patch adds an weak empty stub function
    for all m68k cpu.

    Also each cpu can implement its own implementation. If not implemented
    then by default is using an empty function.

    Signed-off-by: Josh Wu
    Acked-by: Angelo Dureghello

    Wu, Josh
     

28 Mar, 2015

1 commit


06 Mar, 2015

1 commit


19 Jun, 2014

1 commit


12 Jun, 2014

1 commit

  • Most of the warnings seem to be related to using 'int' for size_t. Change
    this and fix up the remaining warnings and problems. For bootm, the warning
    was masked by others, and there is an actual bug in the code.

    Signed-off-by: Simon Glass

    Simon Glass
     

30 May, 2014

1 commit


13 May, 2014

1 commit

  • gd->bd->bi_baudrate is a copy of gd->baudrate.

    Since baudrate is a common feature for all architectures,
    keep gd->baudrate only.

    It is true that bi_baudrate was passed to the kernel in that structure
    but it was a long time ago.

    Signed-off-by: Masahiro Yamada
    Cc: Tom Rini
    Cc: Simon Glass
    Cc: Wolfgang Denk
    Cc: Heiko Schocher
    Acked-by: Michal Simek (For microblaze)

    Masahiro Yamada
     

01 Nov, 2013

1 commit


15 Oct, 2013

2 commits


24 Jul, 2013

2 commits


23 Jul, 2013

2 commits


17 Jul, 2013

1 commit


02 Jul, 2013

1 commit

  • Commit 35fc84fa1ff51e15ecd3e464dac87eb105ffed30 broke bootm on avr32. It
    requires to call do_bootm_linux() with flag set to BOOTM_STATE_OS_PREP before
    calling it again with flag set to BOOTM_STATE_OS_GO.
    Fix this by allowing flag set to BOOTM_STATE_OS_PREP, this however will
    require a complete refactoring later on.

    Signed-off-by: Andreas Bießmann
    [trini: Apply to m68k, microblaze, nds32, nios2, openrisc, sh and sparc]
    Signed-off-by: Tom Rini

    Andreas Bießmann
     

27 Jun, 2013

1 commit


15 May, 2013

1 commit


02 May, 2013

1 commit

  • Delete all occurrences of hang() and provide a generic function.

    Signed-off-by: Andreas Bießmann
    Acked-by: Albert ARIBAUD
    [trini: Modify check around puts() in hang.c slightly]
    Signed-off-by: Tom Rini

    Andreas Bießmann
     

02 Apr, 2013

1 commit

  • 'bool' is defined in random places. This patch consolidates them into a
    single header file include/linux/types.h, using stdbool.h introduced in C99.

    All other #define, typedef and enum are removed. They are all consistent with
    true = 1, false = 0.

    Replace FALSE, False with false. Replace TRUE, True with true.
    Skip *.py, *.php, lib/* files.

    Signed-off-by: York Sun

    York Sun
     

16 Mar, 2013

2 commits

  • These functions are only available for powerpc and are not declared in a
    header file. We want to use the rest function in two places (board_f and
    board_r), so declare the functions in watchdog.h.

    Signed-off-by: Simon Glass

    Simon Glass
     
  • Note this is a tree-wide change affecting multiple architectures.

    At present we use __bss_start, but mostly __bss_end__. This seems
    inconsistent and in a number of places __bss_end is used instead.

    Change to use __bss_end for the BSS end symbol throughout U-Boot. This
    makes it possible to use the asm-generic/sections.h file on all
    archs.

    Signed-off-by: Simon Glass

    Simon Glass
     

20 Feb, 2013

1 commit

  • On architectures where manual relocation
    is needed, the 'malloc_bin_reloc' function
    must be called after 'mem_malloc_init'.

    Make the 'malloc_bin_reloc' function static
    and call it directly from 'mem_malloc_init'
    instead of calling that from board_init_{r,f}
    functions of the affected architectures.

    Signed-off-by: Gabor Juhos
    Cc: Wolfgang Denk
    Cc: Andreas Bießmann
    Cc: Jason Jin
    Cc: Macpaul Lin
    Cc: Daniel Hellstrom
    Cc: Daniel Schwierzeck

    Gabor Juhos
     

04 Feb, 2013

1 commit


12 Jan, 2013

1 commit

  • Fix coldfire serial driver bindings no more relocated to ram after last
    changes to drivers/serial/serial.c (regression).
    Serial initialization in ram has to be called after that gd->reloc_off is
    calculated.

    Signed-off-by: Angelo Dureghello
    Cc: Jason Jin
    Acked-by: Jens Scharsig (BuS Elektronik)
    Tested-by: Jens Scharsig (BuS Elektronik)

    angelo
     

14 Dec, 2012

1 commit


22 Oct, 2012

1 commit

  • This patch converts the old method of creating a list of command
    onto the new LG-arrays code. The old u_boot_cmd section is converted
    to new u_boot_list_cmd subsection and LG-array macros used as needed.

    Minor adjustments had to be made to the common code to work with the
    LG-array macros, mostly the fixup_cmdtable() calls are now passed the
    ll_entry_start and ll_entry_count instead of linker-generated symbols.

    The command.c had to be adjusted as well so it would use the newly
    introduced LG-array API instead of directly using linker-generated
    symbols.

    Signed-off-by: Marek Vasut
    Cc: Joe Hershberger
    Cc: Mike Frysinger

    Marek Vasut
     

19 Oct, 2012

1 commit


16 Oct, 2012

1 commit


27 Sep, 2012

1 commit


16 May, 2012

2 commits


19 Mar, 2012

2 commits


03 Mar, 2012

1 commit