11 Sep, 2018

1 commit

  • Read boot reason from SRC(system reset controller) and report
    it to kernel by "androidboot.bootreason=<>" kernel commandline.
    This is enabled on imx6/7/7ulp/8m, imx8 will report default value
    "androidboot.bootreason=reboot" since it can't get such info on
    A core at u-boot stage.

    Test: Boot reason report ok on imx6qp/imx7ulp/imx8qxp.

    Change-Id: I03effaa03bc513bec6153e82c1a04e29c07e7db8
    Signed-off-by: Ji Luo

    Ji Luo
     

13 Jun, 2018

1 commit


27 Apr, 2018

1 commit

  • 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)

    Peng Fan
     

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

6 commits


02 Aug, 2017

1 commit


11 Jul, 2017

1 commit

  • Runtime U-boot dtb selection is generally a two step process. First step
    is to simply use an initial generic dtb. The second step is to select
    the dtb and perhaps execute additional code ones U-boot knows what board
    it is running on. Embedded_dtb_select handles the second step by allowing
    board specific code to run and perform what ever necessary configuration
    that is needed.

    Signed-off-by: Franklin S Cooper Jr
    Reviewed-by: Tom Rini

    Cooper Jr., Franklin
     

07 Jul, 2017

1 commit


06 Jun, 2017

6 commits


05 Jun, 2017

13 commits