25 Sep, 2014

1 commit

  • The "S: Orphan" in MAINTAINERS means that the maintainer in the
    "M:" field is unreachable (i.e. the email address is not working).
    (Refer to the definition of "Orphan" adopted in U-Boot
    in the log of commit 31f1b654b2f395b69faa5d0d3c1eb0803923bd3b,
    "boards.cfg: move boards with invalid emails to Orphan")

    For patch files adding global changes, scripts/get_maintainer.pl
    adds bunch of such invalid email addresses, which results in
    tons of annoying bounce emails.

    This commit can be reproduced by the following command:

    find . -name MAINTAINERS | xargs sed -i -e '
    /^M:[[:blank:]]/ {
    N
    /S:[[:blank:]]Orphan/s/^/#/
    }
    '

    Signed-off-by: Masahiro Yamada
    Acked-by: Simon Glass

    Masahiro Yamada
     

14 Sep, 2014

1 commit

  • Now the types of CONFIG_SYS_{ARCH, CPU, SOC, VENDOR, BOARD, CONFIG_NAME}
    are specified in arch/Kconfig.

    We can delete the ones in arch and board Kconfig files.

    This commit can be easily reproduced by the following command:

    find . -name Kconfig -a ! -path ./arch/Kconfig | xargs sed -i -e '
    /config[[:space:]]SYS_\(ARCH\|CPU\|SOC\|\VENDOR\|BOARD\|CONFIG_NAME\)/ {
    N
    s/\n[[:space:]]*string//
    }
    '

    Signed-off-by: Masahiro Yamada

    Masahiro Yamada
     

30 Jul, 2014

2 commits

  • We have switched to Kconfig and the boards.cfg file is going to
    be removed. We have to retrieve the board status and maintainers
    information from it.

    The MAINTAINERS format as in Linux Kernel would be nice
    because we can crib the scripts/get_maintainer.pl script.

    After some discussion, we chose to put a MAINTAINERS file under each
    board directory, not the top-level one because we want to collect
    relevant information for a board into a single place.

    TODO:
    Modify get_maintainer.pl to scan multiple MAINTAINERS files.

    Signed-off-by: Masahiro Yamada
    Suggested-by: Tom Rini
    Acked-by: Simon Glass

    Masahiro Yamada
     
  • This commit adds:
    - arch/${ARCH}/Kconfig
    provide a menu to select target boards
    - board/${VENDOR}/${BOARD}/Kconfig or board/${BOARD}/Kconfig
    set CONFIG macros to the appropriate values for each board
    - configs/${TARGET_BOARD}_defconfig
    default setting of each board

    (This commit was automatically generated by a conversion script
    based on boards.cfg)

    In Linux Kernel, defconfig files are located under
    arch/${ARCH}/configs/ directory.
    It works in Linux Kernel since ARCH is always given from the
    command line for cross compile.

    But in U-Boot, ARCH is not given from the command line.
    Which means we cannot know ARCH until the board configuration is done.
    That is why all the "*_defconfig" files should be gathered into a
    single directory ./configs/.

    Signed-off-by: Masahiro Yamada
    Acked-by: Simon Glass

    Masahiro Yamada
     

23 Jul, 2014

1 commit

  • There is no point in setting a structure's memory to NULL when it has
    already been zeroed with memset().

    Also, there is no need to create a stub function for stdio to call - if the
    function is NULL it will not be called.

    This is a clean-up, with no change in functionality.

    Signed-off-by: Simon Glass
    Acked-by: Marek Vasut

    Simon Glass
     

07 Mar, 2014

1 commit

  • Many (but not all) of Blackfin boards give -O2 option
    to compile under lib/ directory.
    That means lib/ should be speed-optimized,
    whereas other parts should be size-optimized.

    We want to keep the same behavior,
    but do not want to parse board/*/config.mk again and again.
    We've got no choice but to invent a new method.

    CONFIG_CC_OPTIMIZE_LIBS_FOR_SPEED, if it is enabled,
    gives -O2 flag only for building under lib/ directory.

    Dirty codes which I had marked as "FIX ME"
    in board/${BOARD}/config.mk have been deleted.
    Instead, CONFIG_CC_OPTIMIZE_LIBS_FOR_SPEED has been
    defined in include/configs/${BOARD}.h.

    Signed-off-by: Masahiro Yamada
    Cc: Sonic Zhang

    Masahiro Yamada
     

21 Feb, 2014

1 commit


20 Feb, 2014

1 commit

  • Now we are ready to switch over to real Kbuild.

    This commit disables temporary scripts:
    scripts/{Makefile.build.tmp, Makefile.host.tmp}
    and enables real Kbuild scripts:
    scripts/{Makefile.build,Makefile.host,Makefile.lib}.

    This switch is triggered by the line in scripts/Kbuild.include
    -build := -f $(if $(KBUILD_SRC),$(srctree)/)scripts/Makefile.build.tmp obj
    +build := -f $(if $(KBUILD_SRC),$(srctree)/)scripts/Makefile.build obj

    We need to adjust some build scripts for U-Boot.
    But smaller amount of modification is preferable.

    Additionally, we need to fix compiler flags which are
    locally added or removed.

    In Kbuild, it is not allowed to change CFLAGS locally.
    Instead, ccflags-y, asflags-y, cppflags-y,
    CFLAGS_$(basetarget).o, CFLAGS_REMOVE_$(basetarget).o
    are prepared for that purpose.

    Signed-off-by: Masahiro Yamada
    Tested-by: Gerhard Sittig

    Masahiro Yamada
     

01 Nov, 2013

1 commit


24 Jul, 2013

1 commit


04 Feb, 2012

1 commit

  • The bf527-ezkit boards are getting too big to fit into their reserved
    flash space, so we need to use a lzma compressed logo.

    Since the video driver code is very similar, add lzma compressed support
    to all of the Blackfin video drivers.

    Signed-off-by: Mike Frysinger

    Mike Frysinger
     

16 Oct, 2011

1 commit

  • The top level Makefile does not do any recursion into subdirs when
    cleaning, so these clean/distclean targets in random arch/board dirs
    never get used. Punt them all.

    MAKEALL didn't report any errors related to this that I could see.

    Signed-off-by: Mike Frysinger

    Mike Frysinger
     

04 Jun, 2011

1 commit


08 Apr, 2011

3 commits


18 Nov, 2010

1 commit

  • Before this commit, weak symbols were not overridden by non-weak symbols
    found in archive libraries when linking with recent versions of
    binutils. As stated in the System V ABI, "the link editor does not
    extract archive members to resolve undefined weak symbols".

    This commit changes all Makefiles to use partial linking (ld -r) instead
    of creating library archives, which forces all symbols to participate in
    linking, allowing non-weak symbols to override weak symbols as intended.
    This approach is also used by Linux, from which the gmake function
    cmd_link_o_target (defined in config.mk and used in all Makefiles) is
    inspired.

    The name of each former library archive is preserved except for
    extensions which change from ".a" to ".o". This commit updates
    references accordingly where needed, in particular in some linker
    scripts.

    This commit reveals board configurations that exclude some features but
    include source files that depend these disabled features in the build,
    resulting in undefined symbols. Known such cases include:
    - disabling CMD_NET but not CMD_NFS;
    - enabling CONFIG_OF_LIBFDT but not CONFIG_QE.

    Signed-off-by: Sebastien Carlier

    Sebastien Carlier
     

19 Oct, 2010

1 commit

  • The change is currently needed to be able to remove the board
    configuration scripting from the top level Makefile and replace it by
    a simple, table driven script.

    Moving this configuration setting into the "CONFIG_*" name space is
    also desirable because it is needed if we ever should move forward to
    a Kconfig driven configuration system.

    Signed-off-by: Wolfgang Denk

    Wolfgang Denk
     

03 Oct, 2010

2 commits


11 Aug, 2010

1 commit

  • In case there is no frame buffer driver present in Linux to hand over the
    PPI LCD DMA upon boot, the DMA initiated by u-boot to display the splash
    screen runs unattended. Therefore always stop the video driver in u-boot
    before starting Linux. If people don't want this behavior, then they can
    simply stub out the video_stop() function in their board video driver.

    Signed-off-by: Michael Hennerich
    Signed-off-by: Mike Frysinger

    Michael Hennerich
     

14 Jul, 2010

1 commit


13 Apr, 2010

2 commits

  • 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
     
  • Previously, a specific file or directory could be compiled with custom
    CFLAGS by adding a Makefile variable such as:
    CFLAGS_dlmalloc.o =
    or
    CFLAGS_lib =

    This method breaks down once multiple files or directories share the
    same path. Eg FLAGS_fileA = would incorrectly result in
    both dir1/fileA.c and dir2/fileA.c being compiled with .

    This change allows finer grained control which we need once we move
    lib_$ARCH to arch/$ARCH/lib/ and lib_generic/ to lib/. Without this
    change all lib/ directories would share the same custom CFLAGS.

    Signed-off-by: Peter Tyser

    Peter Tyser
     

17 Jan, 2010

1 commit


22 Dec, 2009

1 commit


02 Sep, 2009

1 commit


23 Jul, 2009

1 commit


16 Jun, 2009

1 commit


15 Jun, 2009

2 commits

  • All the Blackfin linker scripts were duplicated across the board dirs with
    no difference save from the semi-often used ENV_IS_EMBEDDED option. So
    unify all of them in the lib_blackfin/ dir and for the few boards that
    need to embedded the environment directly, add a LDS_BOARD_TEXT define for
    them to customize via their board config file. This is much simpler than
    forcing them to duplicate the rest of the linker script.

    Signed-off-by: Mike Frysinger

    Mike Frysinger
     
  • Signed-off-by: Mike Frysinger

    Mike Frysinger