10 Apr, 2020

1 commit


23 Dec, 2019

1 commit

  • Some of t1042 boards fails DDR init with an Automatic calibration error
    every now and then. Investigations revealed that true Warm boots
    never failed. Warm boots has some extra steps performed, one being
    to start DDRC in Self Refresh and then clearing SR right after.
    Applying this SR method unconditionally made all our boards
    stable again, regardless of Cold/Warm boot.

    Signed-off-by: Joakim Tjernlund
    Signed-off-by: Priyanka Jain

    Joakim Tjernlund
     

26 Aug, 2019

1 commit


22 Aug, 2019

1 commit

  • DM_I2C_COMPAT is a compatibility layer that allows using the non-DM I2C
    API when DM_I2C is used. When DM_I2C_COMPAT is not enabled for
    compilation, a compilation error will be generated. This patch solves
    the problem that the i2c-related api of the lx2160a platform does not
    support dm.

    Signed-off-by: Chuanhua Han
    Reviewed-by: Prabhakar Kushwaha

    Chuanhua Han
     

12 Aug, 2019

1 commit


21 May, 2019

1 commit


03 Mar, 2019

1 commit


19 Feb, 2019

1 commit


07 Dec, 2018

1 commit

  • LX2160A Soc is based on Layerscape Chassis Generation 3.2
    architecture with features:
    16 ARM v8 Cortex-A72 cores in 8 cluster, CCN508, SEC,
    2 64-bit DDR4 memory controller, RGMII, 8 I2C controllers,
    3 serdes modules, USB 3.0, SATA, 4 PL011 SBSA UARTs,
    4 TZASC instances, etc.

    SoC personalites:
    LX2120A is SoC with Twelve 64-bit ARM v8 Cortex-A72 CPUs
    LX2080A is SoC with Eight 64-bit ARM v8 Cortex-A72 CPUs

    Signed-off-by: Bao Xiaowei
    Signed-off-by: Hou Zhiqiang
    Signed-off-by: Meenakshi Aggarwal
    Signed-off-by: Vabhav Sharma
    Signed-off-by: Sriram Dash
    Signed-off-by: Priyanka Jain
    Reviewed-by: York Sun

    Priyanka Jain
     

27 Jul, 2018

1 commit


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


15 Feb, 2018

1 commit


10 Feb, 2018

1 commit

  • To make this driver easier to be reused, dual-license DDR driver.

    Signed-off-by: York Sun
    CC: Simon Glass
    CC: Tom Rini
    CC: Heinrich Schuchardt
    CC: Thomas Schaefer
    CC: Masahiro Yamada
    CC: Robert P. J. Day
    CC: Alexander Merkle
    CC: Joakim Tjernlund
    CC: Curt Brune
    CC: Valentin Longchamp
    CC: Wolfgang Denk
    CC: Anatolij Gustschin
    CC: Ira W. Snyder
    CC: Marek Vasut
    CC: Kyle Moffett
    CC: Sebastien Carlier
    CC: Stefan Roese
    CC: Peter Tyser
    CC: Paul Gortmaker
    CC: Peter Tyser
    CC: Jean-Christophe PLAGNIOL-VILLARD

    York Sun
     

31 Jan, 2018

6 commits


24 Jan, 2018

1 commit


11 Sep, 2017

1 commit

  • LS1088A is compliant with the Layerscape Chassis Generation 3 with
    eight ARM v8 Cortex-A53 cores in 2 cluster, CCI-400, one 64-bit DDR4
    SDRAM memory controller with ECC, Data path acceleration architecture
    2.0 (DPAA2), Ethernet interfaces (SGMIIs, RGMIIs, QSGMIIs, XFIs),
    QSPI, IFC, PCIe, SATA, USB, SDXC, DUARTs etc.

    Signed-off-by: Alison Wang
    Signed-off-by: Prabhakar Kushwaha
    Signed-off-by: Ashish Kumar
    Signed-off-by: Raghav Dogra
    Signed-off-by: Shaohui Xie
    [YS: Revised commit message]
    Reviewed-by: York Sun

    Ashish Kumar
     

16 Aug, 2017

1 commit

  • We are now using an env_ prefix for environment functions. Rename these
    two functions for consistency. Also add function comments in common.h.

    Quite a few places use getenv() in a condition context, provoking a
    warning from checkpatch. These are fixed up in this patch also.

    Suggested-by: Wolfgang Denk
    Signed-off-by: Simon Glass

    Simon Glass
     

13 Jun, 2017

1 commit


06 Jun, 2017

2 commits


18 Apr, 2017

3 commits


13 Apr, 2017

1 commit


06 Apr, 2017

1 commit

  • At present we cannot use this function as an init sequence call without a
    wrapper, since it returns the RAM size. Adjust it to set the RAM size in
    global_data instead, and return 0 on success.

    Signed-off-by: Simon Glass
    Reviewed-by: Stefan Roese

    Simon Glass
     

05 Jan, 2017

5 commits


06 Dec, 2016

2 commits

  • - add additional function erratum_a009942_check_cpo to check if the
    board needs tuning CPO calibration for optimal setting.
    - move ERRATUM_A009942(with revision to check cpo_sample option) from
    fsl_ddr_gen4.c to ctrl_regs.c for reuse on all DDR4/DDR3 parts.
    - move ERRATUM_A008378 from fsl_ddr_gen4.c to ctrl_regs.c
    - remove obsolete ERRATUM_A004934 which is replaced with ERRATUM_A009942.

    Signed-off-by: Shengzhou Liu
    [YS: Replaced CONFIG_QEMU_E500 with CONFIG_ARCH_QEMU_E500]
    Reviewed-by: York Sun

    Shengzhou Liu
     
  • Fix following warning in case multiple erratum macro was not defined.
    warning: unused variable 'tmp'
    warning: unused variable 'ddr_freq'

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

    Shengzhou Liu
     

24 Nov, 2016

2 commits