24 May, 2019

2 commits

  • Porting the FSL android fastboot features from imx u-boot v2018.03 to
    support all SoCs: imx6/imx7/imx7ulp/imx8/imx8m.

    The UUU commands like UCmd and ACmd are also added. Users need set
    CONFIG_FASTBOOT_UUU_SUPPORT=y to enable the feature.

    Signed-off-by: Frank Li
    Signed-off-by: Ye Li
    (cherry picked from commit 65120b06a7f750b9b1a6e0db3d2082cc7088d5a8)

    Ye Li
     
  • Support EPDC.
    E-Ink feature is supported by i.MX6DL/SL/SLL/ULL and i.MX7D.

    This driver supports user defined logo file, if there is no logo file, it will
    draw a black border around a white screen.

    If need to enable EPDC, a waveform file is required to let all
    work.

    Since we need LCD_MONOCHROME mode for EPDC, we introduce LCD_MONOCHROME
    support.

    Please refer to Linux Reference Manual for how to flash WAVEFORM file.

    Signed-off-by: Peng Fan
    Signed-off-by: Robby Cai
    Signed-off-by: Nitin Garg
    Signed-off-by: Ye.Li
    (cherry picked from commit a7244f279cc3c3994bcd103f5e9a183b1075ae71)
    (cherry picked from commit 21bf1c38b7d75c31875fb02a972c458f25d9c33a)

    Peng Fan
     

16 Jan, 2019

2 commits


15 Jan, 2019

1 commit


06 Dec, 2018

2 commits


05 Dec, 2018

2 commits


03 Dec, 2018

1 commit

  • On some systems, not all RAM may be usable within U-Boot. Maybe the
    memory maps are incomplete, maybe it's used as workaround for broken
    DMA. But whatever the reason may be, a platform can say that it does
    not wish to have its RAM accessed above a certain address by defining
    board_get_usable_ram_top().

    In the efi_loader world, we ignored that hint, mostly because very few
    boards actually have real restrictions around this.

    So let's honor the board's wish to not access high addresses during
    boot time. The best way to do so is by indicating the respective pages
    as "allocated by firmware". That way, Operating Systems will still
    use the pages after boot, but before boot no allocation will use them.

    Reported-by: Baruch Siach
    Signed-off-by: Alexander Graf
    Reviewed-by: Stephen Warren
    Reviewed-by: Heinrich Schuchardt
    Tested-by: Baruch Siach

    Alexander Graf
     

27 Nov, 2018

1 commit


26 Nov, 2018

1 commit


20 Nov, 2018

1 commit

  • Drop the _AC and UL macros from common.h. Linux headers is the original
    source of this macro, so keep its definition in the same header.

    Update existing users of these macros to include const.h directly.

    Cc: Daniel Schwierzeck
    Cc: Rick Chen
    Reviewed-by: Tom Rini
    Reviewed-by: Rick Chen
    Signed-off-by: Baruch Siach
    Reviewed-by: Daniel Schwierzeck
    Signed-off-by: Stefan Roese

    Baruch Siach
     

20 Oct, 2018

1 commit


11 Sep, 2018

2 commits


19 Jun, 2018

1 commit

  • cpu_cmd() is reading cpu number via simple_strtoul() which is always
    unsigned type.
    Platform code implementations are not expecting that nr can be negative
    and there is not checking in the code for that too.

    This patch is using u32 type for cpu number to make sure that platform
    code get proper value range.

    Signed-off-by: Michal Simek

    Michal Simek
     

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
     

28 Apr, 2018

1 commit

  • This converts the following to Kconfig:
    CONFIG_SPI

    This partly involves updating code that assumes that CONFIG_SPI implies
    things that are specific to the MPC8xx SPI driver. For now, just update
    the CONFIG tests. This also involves reworking the default for
    CONFIG_SYS_DEF_EEPROM_ADDR so that we don't set it when we cannot make a
    reasonable default, as it does not cause any compile failures.

    Signed-off-by: Adam Ford
    Signed-off-by: Tom Rini

    Adam Ford
     

17 Mar, 2018

7 commits


24 Jan, 2018

1 commit


08 Dec, 2017

1 commit


30 Nov, 2017

1 commit

  • Building spl with CONFIG_OF_EMBED enabled results in an error message
    on my board: "SPL image too big". This is because the fdtgrep build
    step is only executed for CONFIG_OF_SEPARATE.

    Fix this by moving the fdtgrep build step ('cmd_fdtgreo') from
    scripts/Makefile.spl to dts/Makefile so that the reduced dtb is
    available for all kinds of spl builds.

    The resulting variable name for the embedded device tree blob changes,
    too, which is why common.h and fdtdec.c have tiny changes.

    Signed-off-by: Simon Goldschmidt
    Reviewed-by: Simon Glass

    Goldschmidt Simon
     

16 Oct, 2017

1 commit

  • When compiling with W=1 the following warning is observed:

    arch/arm/mach-imx/mx6/soc.c:590:6: warning: no previous prototype for ‘s_init’ [-Wmissing-prototypes] void s_init(void)

    Remove this warning by adding the function prototype into include/common.h file.

    Signed-off-by: Diego Dorta

    Diego Dorta
     

06 Oct, 2017

1 commit


05 Oct, 2017

2 commits


04 Oct, 2017

2 commits

  • When we import code from Linux, with regular re-sync planned, we want
    to use printk() and pr_*(). U-Boot does not support them in a clean
    way. So, people end up with local macros, or compat headers here and
    there, then we occasionally see build errors of definition conflicts.

    We have include/linux/compat.h, but putting all sorts of unrelated
    things into a single header is just a temporal workaround. Hence this
    patch, to find the best home for all printk variants. If you want to
    use printk() and friends, please include . This header
    is self-contained, and pulls in only a few headers.

    When I was testing this clean-up, I noticed the image size exceeded
    its platform limit on some boards. This is because all pr_*() that
    were previously defined as no-op in include/linux/mtd/mtd.h (unless
    CONFIG_MTD_DEBUG is set), are now enabled.

    To make such boards happy, this commit also implements CONFIG_LOGLEVEL.
    The concept is similar to the kernel parameter "loglevel". (Actually,
    the Kconfig help message was taken from kernel-paremeter.txt of Linux)
    Messages with a loglevel smaller than console loglevel will be printed.

    The difference is the loglevel is build-time determined. To save the
    image size, lower priority pr_*() are compiled out. I set the default
    of CONFIG_LOGLEVEL to 6, i.e. pr_notice and higher priority messages
    are compiled in.

    I adjusted CONFIG_LOGLEVEL to avoid build error for some boards.

    Signed-off-by: Masahiro Yamada
    [trini: Add in SPL_LOGLEVEL that is the same as LOGLEVEL]
    Signed-off-by: Tom Rini

    Masahiro Yamada
     
  • pulls in a lot of headers. Including it from every .c
    file is a bad idea. We need to remove contents until it contains
    nothing.

    Move printf() and friends to .

    Signed-off-by: Masahiro Yamada

    Masahiro Yamada
     

16 Aug, 2017

5 commits