05 Mar, 2018

1 commit

  • Thomas reported U-Boot failed to build host tools if libfdt-devel
    package is installed because tools include libfdt headers from
    /usr/include/ instead of using internal ones.

    This commit moves the header code:
    include/libfdt.h -> include/linux/libfdt.h
    include/libfdt_env.h -> include/linux/libfdt_env.h

    and replaces include directives:
    #include -> #include
    #include -> #include

    Reported-by: Thomas Petazzoni
    Signed-off-by: Masahiro Yamada

    Masahiro Yamada
     

07 Dec, 2017

1 commit

  • Most predefined TLB tables don't have memory coherence bit set for
    SDRAM. This wasn't an issue before invalidate_dcache_range() function
    was enabled. Without the coherence bit, dcache invalidation doesn't
    automatically flush the cache. The coherence bit is already set when
    dynamic TLB table is used. For some boards with different SPL boot
    method, or with legacy fixed setting, this bit needs to be set in
    TLB files.

    Signed-off-by: York Sun

    York Sun
     

16 Aug, 2017

1 commit


15 Aug, 2017

1 commit


13 Apr, 2017

1 commit


06 Apr, 2017

2 commits


26 Jan, 2017

1 commit


24 Jan, 2017

1 commit


05 Jan, 2017

1 commit


16 Dec, 2016

1 commit


24 Nov, 2016

1 commit


15 Oct, 2016

2 commits


07 Oct, 2016

1 commit

  • At present there are two SPI functions only used by freescale which are
    defined in the spi_flash.h header. One function name matches an existing
    generic SPL function.

    Move these into a private header to avoid confusion.

    Arcturus looks like it does not actually support SPI, so drop the SPI code
    from that board.

    Signed-off-by: Simon Glass
    Reviewed-by: Tom Rini

    Simon Glass
     

28 Sep, 2016

1 commit


03 Aug, 2016

1 commit


05 Jun, 2016

1 commit


04 Jun, 2016

4 commits


20 May, 2016

1 commit


06 Feb, 2016

1 commit

  • Correct spelling of "U-Boot" shall be used in all written text
    (documentation, comments in source files etc.).

    Signed-off-by: Bin Meng
    Reviewed-by: Heiko Schocher
    Reviewed-by: Simon Glass
    Reviewed-by: Minkyu Kang

    Bin Meng
     

26 Jan, 2016

1 commit


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
     

20 Nov, 2015

1 commit


30 Oct, 2015

1 commit


05 May, 2015

2 commits


21 Apr, 2015

2 commits

  • Support SODIMM D3XP12081XL10AA 1866MT/s on T2080RDB.
    Enable CONFIG_CMD_MEMTEST as well.

    Signed-off-by: Shengzhou Liu
    Reviewed-by: York Sun

    Shengzhou Liu
     
  • The fuse status register provides the values from on-chip
    voltage ID efuses programmed at the factory.
    These values define the voltage requirements for
    the chip. u-boot reads FUSESR and translates the values
    into the appropriate commands to set the voltage output
    value of an external voltage regulator.

    Signed-off-by: Ying Zhang
    Reviewed-by: York Sun

    Ying Zhang
     

06 Dec, 2014

1 commit


21 Nov, 2014

1 commit

  • This function can fail if the device tree runs out of space. Rather than
    silently booting with an incomplete device tree, allow the failure to be
    detected.

    Unfortunately this involves changing a lot of places in the code. I have
    not changed behvaiour to return an error where one is not currently
    returned, to avoid unexpected breakage.

    Eventually it would be nice to allow boards to register functions to be
    called to update the device tree. This would avoid all the many functions
    to do this. However it's not clear yet if this should be done using driver
    model or with a linker list. This work is left for later.

    Signed-off-by: Simon Glass
    Acked-by: Anatolij Gustschin

    Simon Glass
     

25 Sep, 2014

1 commit

  • Since commit ddaf5c8f3030050fcd356a1e49e3ee8f8f52c6d4
    (patman: RunPipe() should not pipe stdout/stderr unless asked),
    Patman spits lots of "Invalid MAINTAINERS address: '-'"
    error messages for patches with global changes.
    It takes too long for Patman to process them.

    Anyway, "M: -" does not carry any important information.
    Rather, it is just like a place holder in case of assigning
    a new board maintainer. Let's comment out.

    This commit can be reproduced by the following command:

    find . -name MAINTAINERS | xargs sed -i -e '/^M:[[:blank:]]*-$/s/^/#/'

    Signed-off-by: Masahiro Yamada

    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

  • find_tlb_idx() is called in board_early_init_r() on multiple boards.
    The return value is not checked before being used to disable a TLB.
    In normal case the return value wouldn't be -1. In case of a mis-
    configuration during porting to a new board, checking the return value
    may be helpful to reveal some user errors.

    Signed-off-by: York Sun

    York Sun
     

06 Jun, 2014

1 commit