24 May, 2019

2 commits


07 Oct, 2018

1 commit


03 Oct, 2018

1 commit


26 Sep, 2018

1 commit

  • The SPL loaders assume that the CONFIG_SYS_TEXT_BASE memory location
    is available and can be corrupted by loading ie. uImage or fitImage
    headers there. Sometimes it could be beneficial to load the headers
    elsewhere, ie. if CONFIG_SYS_TEXT_BASE is not yet writable while we
    still want to parse the image headers in some local onchip memory to
    ie. extract firmware from that image.

    Add the possibility to override the location where the headers get
    loaded by introducing new function, spl_get_load_buffer() which takes
    two arguments -- offset from the CONFIG_SYS_TEXT_BASE and size of the
    data that are to be loaded there -- and returns a valid buffer address
    or hangs the system. The default behavior is the same as before, add
    the offset to CONFIG_SYS_TEXT_BASE and return that address. User can
    override the weak spl_get_load_buffer() function though.

    Signed-off-by: Marek Vasut
    Cc: Tom Rini
    Reviewed-by: Simon Goldschmidt

    Marek Vasut
     

20 Sep, 2018

1 commit

  • NAND flavors, like serial and parallel, have a lot in common and would
    benefit to share code. Let's move raw (parallel) NAND specific code in a
    raw/ subdirectory, to ease the addition of a core file in nand/ and the
    introduction of a spi/ subdirectory specific to SPI NANDs.

    Signed-off-by: Miquel Raynal

    Miquel Raynal
     

11 Jul, 2018

1 commit

  • Handle the case where the full fitImage support is enabled. In this
    case, the whole fitImage must be loaded up front as some parts of the
    fitImage code require memory-mapped access to the entire fitImage.

    Signed-off-by: Marek Vasut
    Cc: Pantelis Antoniou
    Cc: Simon Glass

    Marek Vasut
     

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
     

12 May, 2017

1 commit

  • For the RK3399-Q7, we need some flexibility (depending on the feature
    set we include in the SPL stage and how large our SPI flash is) in
    positioning the SPL payload (i.e. the FIT image containing U-Boot, ATF
    and the M0 payload) in our SPI flash.

    To avoid having to deal with this through different U-Boot images, we
    introduce a the '/config/u-boot,spl-payload-offset' property node
    allow it to override the default setting.

    Signed-off-by: Philipp Tomsich
    Acked-by: Simon Glass

    Philipp Tomsich
     

06 Feb, 2017

1 commit


09 Dec, 2016

1 commit

  • It is useful to name each method so that we can print out this name when
    using the method. Currently this happens using a separate function. In
    preparation for unifying this, add a name to each method.

    The name is only available if we have libcommon support (i.e can use
    printf()).

    Signed-off-by: Simon Glass

    Simon Glass
     

29 Nov, 2016

1 commit


07 Oct, 2016

4 commits