21 Feb, 2019

1 commit

  • U-Boot typically tears down the display controller before handing
    control over to Linux. On LCD displays disabling pixel clock leads to a
    fading out effect with vertical/horizontal lines. Make sure to disable
    back light before booting Linux.

    Signed-off-by: Gerard Salvatella
    Signed-off-by: Philippe Schenker
    Signed-off-by: Tom Warren

    Gerard Salvatella
     

28 Jan, 2019

2 commits


09 Jan, 2019

1 commit

  • Commit 3f353ceccbbb ("vf610: refactor DDRMC code") changed on-die
    termination (ODT) values from 120 Ohm to 60 Ohm and enabled a static
    read/write leveling which has not been tested with this board. This
    commit reverts both changes and makes sure that memory gets
    initialized as it has been done before the mentioned commit.

    Fixes: 3f353ceccbbb ("vf610: refactor DDRMC code")
    Signed-off-by: Stefan Agner
    Acked-by: Max Krummenacher

    Stefan Agner
     

10 Oct, 2018

1 commit

  • Rather than passing a hardcoded maxsize to the generic get_ram_size()
    function use the i.MX 7 specific imx_ddr_size() function, which extracts
    the memory size at runtime by reading the DDR controller registers.

    This is a purely cosmetic change as the generic get_ram_size() function
    already took care of properly automatically detecting 256MB, 512MB or 1GB
    modules.

    Signed-off-by: Fabio Estevam
    Signed-off-by: Marcel Ziswiler
    Reviewed-by: Fabio Estevam
    Acked-by: Stefan Agner

    Fabio Estevam
     

04 Sep, 2018

2 commits


25 Jul, 2018

1 commit


23 Jul, 2018

5 commits


11 May, 2018

3 commits

  • Allow optionally bringing up the Apalis type specific 4 lane PCIe port
    as well as the PCIe switch as found on the Apalis Evaluation board. In
    order to avoid violating the PCIe reset timing do this by overriding the
    tegra_pcie_board_port_reset() function. Note however that both the
    Apalis type specific 4 lane PCIe port as well as the regular Apalis PCIe
    port are also left disabled in the device tree by default.

    Signed-off-by: Marcel Ziswiler
    Acked-by: Stephen Warren
    Signed-off-by: Tom Warren

    Marcel Ziswiler
     
  • Fix optional Apalis type specific 4 lane PCIe port 0 and Apalis PCIe
    port 1 pin muxing.

    Signed-off-by: Marcel Ziswiler
    Signed-off-by: Tom Warren

    Marcel Ziswiler
     
  • It turns out that the current PCIe reset implementation in the PCIe
    board init function is not quite working reliably due to PCIe reset
    timing violations. Fix this by overriding the
    tegra_pcie_board_port_reset() function.

    Also allow optionally bringing up the PCIe switch as found on the Apalis
    Evaluation board. Note however that the Apalis PCIe port is also left
    disabled in the device tree by default.

    Signed-off-by: Marcel Ziswiler
    Signed-off-by: Tom Warren

    Marcel Ziswiler
     

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


09 Apr, 2018

1 commit

  • In order that we can use eth_env_* even when CONFIG_NET isn't set, move
    these functions to environment code from net code.

    This fixes failures such as:

    board/ti/am335x/built-in.o: In function `board_late_init':
    board/ti/am335x/board.c:752: undefined reference to `eth_env_set_enetaddr'
    u-boot/board/ti/am335x/board.c:766: undefined reference to `eth_env_set_enetaddr'

    which caters for use cases such as:

    commit f411b5cca48f ("board: am335x: Always set eth/eth1addr environment
    variable")

    when Ethernet is required in Linux, but not U-Boot.

    Signed-off-by: Alex Kiernan

    Alex Kiernan
     

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
     

12 Jan, 2018

1 commit


12 Oct, 2017

3 commits


20 Sep, 2017

1 commit


18 Sep, 2017

1 commit


15 Sep, 2017

1 commit

  • All these places seem to inherit the codes from the MMC driver where
    a FIXME was put in the comment. However the correct operation after
    read should be cache invalidate, not flush.

    The underlying drivers should be responsible for the cache operation.
    Remove these codes completely.

    Signed-off-by: Bin Meng
    Reviewed-by: Stefan Roese
    Reviewed-by: York Sun
    Reviewed-by: Joe Hershberger
    Reviewed-by: Simon Glass
    Tested-by: York Sun

    Bin Meng
     

28 Aug, 2017

1 commit


23 Aug, 2017

1 commit


17 Aug, 2017

1 commit


16 Aug, 2017

6 commits


29 Jul, 2017

1 commit

  • Convert this PMIC driver to driver model and fix up other users. The
    regulator and GPIO functions are now handled by separate drivers.

    Update nyan-big to work correct. Three boards will need to be updated by
    the maintainers: apalis-tk1, cei-tk1-som. Also the TODO in the code re
    as3722_sd_set_voltage() needs to be completed.

    Signed-off-by: Simon Glass
    Reviewed-by: Lukasz Majewski
    Tested-by: Marcel Ziswiler
    Tested-on: Jetson-TK1
    Tested-by: Stephen Warren

    Simon Glass
     

18 Jul, 2017

1 commit


12 Jul, 2017

2 commits

  • Change is consistent with other SOCs and it is in preparation
    for adding SOMs. SOC's related files are moved from cpu/ to
    mach-imx/.

    This change is also coherent with the structure in kernel.

    Signed-off-by: Stefano Babic

    CC: Fabio Estevam
    CC: Akshay Bhat
    CC: Ken Lin
    CC: Marek Vasut
    CC: Heiko Schocher
    CC: "Sébastien Szymanski"
    CC: Christian Gmeiner
    CC: Stefan Roese
    CC: Patrick Bruenn
    CC: Troy Kisky
    CC: Nikita Kiryanov
    CC: Otavio Salvador
    CC: "Eric Bénard"
    CC: Jagan Teki
    CC: Ye Li
    CC: Peng Fan
    CC: Adrian Alonso
    CC: Alison Wang
    CC: Tim Harvey
    CC: Martin Donnelly
    CC: Marcin Niestroj
    CC: Lukasz Majewski
    CC: Adam Ford
    CC: "Albert ARIBAUD (3ADEV)"
    CC: Boris Brezillon
    CC: Soeren Moch
    CC: Richard Hu
    CC: Wig Cheng
    CC: Vanessa Maegima
    CC: Max Krummenacher
    CC: Stefan Agner
    CC: Markus Niebel
    CC: Breno Lima
    CC: Francesco Montefoschi
    CC: Jaehoon Chung
    CC: Scott Wood
    CC: Joe Hershberger
    CC: Anatolij Gustschin
    CC: Simon Glass
    CC: "Andrew F. Davis"
    CC: "Łukasz Majewski"
    CC: Patrice Chotard
    CC: Nobuhiro Iwamatsu
    CC: Hans de Goede
    CC: Masahiro Yamada
    CC: Stephen Warren
    CC: Andre Przywara
    CC: "Álvaro Fernández Rojas"
    CC: York Sun
    CC: Xiaoliang Yang
    CC: Chen-Yu Tsai
    CC: George McCollister
    CC: Sven Ebenfeld
    CC: Filip Brozovic
    CC: Petr Kulhavy
    CC: Eric Nelson
    CC: Bai Ping
    CC: Anson Huang
    CC: Sanchayan Maity
    CC: Lokesh Vutla
    CC: Patrick Delaunay
    CC: Gary Bisson
    CC: Alexander Graf
    CC: u-boot@lists.denx.de
    Reviewed-by: Fabio Estevam
    Reviewed-by: Christian Gmeiner

    Stefano Babic
     
  • As part of preparation for nand DM conversion the new API has been
    introduced to remove direct access to nand_info array. So, use it here
    instead of accessing to nand_info array directly.

    Reviewed-by: Marcel Ziswiler
    Signed-off-by: Grygorii Strashko

    Grygorii Strashko