31 Jan, 2018

1 commit


24 Jan, 2018

1 commit


03 Oct, 2017

1 commit

  • Convert the m68k architecture to make use of the new asm-generic/io.h to
    provide address mapping functions. As the generic implementations are
    suitable for m68k this is primarily a matter of emoving code.

    Feedback from architecture maintainers is welcome.

    Signed-off-by: Paul Burton
    Cc: Huan Wang
    Cc: Angelo Dureghello
    Acked-by: Angelo Dureghello
    Tested-by: Angelo Dureghello

    Paul Burton
     

18 Aug, 2017

4 commits


16 Aug, 2017

2 commits

  • 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
     
  • At present we support multiple environment drivers but there is not way to
    select between them at run time. Also settings related to the position and
    size of the environment area are global (i.e. apply to all locations).

    Until these limitations are removed we cannot really support more than one
    environment location. Adjust the location to be a choice so that only one
    can be selected. By default the environment is 'nowhere', meaning that the
    environment exists only in memory and cannot be saved.

    Also expand the help for the 'nowhere' option and move it to the top since
    it is the default.

    Signed-off-by: Simon Glass
    [trini: Move all of the imply logic to default X if Y so it works again]
    Signed-off-by: Tom Rini

    Simon Glass
     

26 Jul, 2017

1 commit


16 Jan, 2017

1 commit


19 Oct, 2016

1 commit


24 Sep, 2016

2 commits


20 Sep, 2016

1 commit


16 Aug, 2016

1 commit

  • If the functions passed to the registration function are not in the same
    C file (extern) then spatch will not handle the dependent changes.

    Make those changes manually.

    Signed-off-by: Joe Hershberger

    For the 4xx related files:
    Acked-by: Stefan Roese
    Reviewed-by: Bin Meng

    Joe Hershberger
     

31 Jul, 2016

1 commit

  • This patch is style-related only, to reformat all the start.S code,
    actually not following a coherent style inside single files and
    between different cpu start.S files.

    Linux format has been respected, as
    - max line width at 80 columns
    - one 8 cols tab between asm instructions and operands
    - inline comments, where any, fixed at col 41

    Signed-off-by: Angelo Dureghello

    Angelo Dureghello
     

28 May, 2016

1 commit


18 May, 2016

1 commit


17 May, 2016

2 commits


19 Apr, 2016

1 commit


20 Jan, 2016

1 commit

  • The board/freescale/m54418twr/config.mk defined TEXT_BASE, which has
    the same value as CONFIG_SYS_TEXT_BASE. The TEXT_BASE is referenced
    by two files:
    - arch/m68k/cpu/mcf5445x/start.S and include/
    - include/configs/M54418TWR.h

    Replace the references with CONFIG_SYS_TEXT_BASE and delete
    board/freescale/m54418twr/config.mk.

    Signed-off-by: Masahiro Yamada
    Acked-by: Angelo Dureghello

    Masahiro Yamada
     

19 Jan, 2016

1 commit

  • In a number of places we had wordings of the GPL (or LGPL in a few
    cases) license text that were split in such a way that it wasn't caught
    previously. Convert all of these to the correct SPDX-License-Identifier
    tag.

    Signed-off-by: Tom Rini

    Tom Rini
     

14 Dec, 2015

1 commit


10 Nov, 2015

1 commit

  • A number of headers define functions as "extern inline" which is
    causing problems with gcc5. The reason is that starting with
    version 5.1, gcc defaults to the standard C99 semantics for the
    inline keyword.

    Under the traditional GNU inline semantics, an "extern inline"
    function would never create an external definition, the same
    as inline *without* extern in C99. In C99, and "extern inline"
    definition is simply an external definition with an inline hint.
    In short, the meanings of inline with and without extern are
    swapped between GNU and C99.

    The upshot is that all these definitions in header files create
    an external definition wherever those headers are included,
    resulting in multiple definition errors at link time.

    Changing all these functions to "static inline" fixes the problem
    since this works as desired in all gcc versions. Although the
    semantics are slightly different (a static inline definition may
    result in an actual function being emitted), it works as intended
    in practice.

    This patch also removes extern prototype declarations for the
    changed functions where they existed.

    Signed-off-by: Mans Rullgard

    Måns Rullgård
     

05 Nov, 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
     

13 May, 2015

1 commit

  • By making the board selections optional, every defconfig will include
    the board selection when running savedefconfig so if a new board is
    added to the top of the list of choices the former top's defconfig will
    still be correct.

    Signed-off-by: Joe Hershberger
    Cc: Masahiro Yamada
    Acked-by: Stephen Warren
    Cc: Tom Rini

    Joe Hershberger
     

24 Apr, 2015

1 commit


28 Mar, 2015

10 commits