17 Nov, 2017

1 commit


03 Oct, 2017

1 commit

  • Convert the nios2 architecture to make use of the new asm-generic/io.h to
    provide address mapping functions. As nios2 actually performs
    non-identity mapping between physical & virtual addresses we can't
    simply make use of the generic functions, with the exception of being
    able to drop our no-op unmap_physmem() and definitions of unused map
    flags.

    Feedback from architecture maintainers is welcome.

    Signed-off-by: Paul Burton
    Cc: Thomas Chou

    Paul Burton
     

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
     

01 May, 2017

1 commit

  • With 3f66149d9fb4 we no longer have a common call fdt_fixup_ethernet.
    This was fine to do on PowerPC as they largely had calls already in
    ft_cpu_fixup. On ARM however we largely relied on this call. Rather
    than introduce a large number of changes to ft_cpu_fixup /
    ft_board_fixup we recognize that this is a common enough call that we
    should be doing it in a central location. Do it early enough that we
    can do any further updates in ft_cpu_fixup / ft_board_fixup.

    Cc: Gerd Hoffmann
    Cc: Chen-Yu Tsai
    Cc: Maxime Ripard
    Cc: Thomas Chou (maintainer:NIOS)
    Cc: York Sun (maintainer:POWERPC MPC85XX)
    Cc: Stefan Roese (maintainer:POWERPC PPC4XX)
    Cc: Simon Glass
    Cc: Joakim Tjernlund
    Fixes: 3f66149d9fb4 ("Remove extra fdt_fixup_ethernet() call")
    Signed-off-by: Tom Rini
    Acked-by: Stefan Roese
    Acked-by: York Sun
    Reviewed-by: Simon Glass

    Tom Rini
     

13 Apr, 2017

1 commit


08 Feb, 2017

1 commit

  • At present devices use a simple integer offset to record the device tree
    node associated with the device. In preparation for supporting a live
    device tree, which uses a node pointer instead, refactor existing code to
    access this field through an inline function.

    Signed-off-by: Simon Glass

    Simon Glass
     

19 Oct, 2016

1 commit


24 Sep, 2016

1 commit

  • Unlike Linux, nothing about errno.h is arch-specific in U-Boot.
    As you see, all of arch/${ARCH}/include/asm/errno.h is just a
    wrapper of . Actually, U-Boot does not
    export headers to user-space, so we just have to care about the
    consistency in the U-Boot tree.

    Now all of include directives for are gone.
    Deprecate .

    Signed-off-by: Masahiro Yamada
    Acked-by: Alexey Brodkin

    Masahiro Yamada
     

28 May, 2016

1 commit


15 Mar, 2016

1 commit


06 Feb, 2016

1 commit


14 Jan, 2016

1 commit

  • board_init_f_mem() alters the C runtime environment's
    stack it is actually already using. This is not a valid
    behaviour within a C runtime environment.

    Split board_init_f_mem into C functions which do not alter
    their own stack and always behave properly with respect to
    their C runtime environment.

    Signed-off-by: Albert ARIBAUD
    Acked-by: Thomas Chou

    Albert ARIBAUD
     

19 Dec, 2015

1 commit


22 Nov, 2015

1 commit


18 Nov, 2015

2 commits


12 Nov, 2015

2 commits

  • Add 10m50 devboard support. It is based on the Golden Hardware
    Reference Design (GHRD), available at,

    http://rocketboards.org/foswiki/view/Documentation/
    AlteraMAX1010M50RevCDevelopmentKitLinuxSetup

    Though we supported only one nios2-generic board in the past. Now,
    with the removal of the nios2-generic board dir, adding new nios2
    boards to u-boot is easier than before. It should be helpful to
    add those boards supported in Linux mainline. There are only two
    such nios2 boards, the 3c120 devboard and 10m50 devboard. The
    nios2-generic is actually 3c120, and should restore the name. The
    10m50 is this one.

    Signed-off-by: Thomas Chou
    Reviewed-by: Marek Vasut

    Thomas Chou
     
  • Add memcpy_fromio() and memcpy_toio().

    Signed-off-by: Thomas Chou

    Thomas Chou
     

10 Nov, 2015

1 commit

  • After consulting with some of the SPDX team, the conclusion is that
    Makefiles are worth adding SPDX-License-Identifier tags too, and most of
    ours have one. This adds tags to ones that lack them and converts a few
    that had full (or in one case, very partial) license blobs into the
    equivalent tag.

    Cc: Kate Stewart
    Signed-off-by: Tom Rini

    Tom Rini
     

06 Nov, 2015

6 commits


05 Nov, 2015

1 commit


23 Oct, 2015

14 commits