04 Feb, 2020

1 commit


18 Jan, 2020

2 commits


03 Dec, 2019

1 commit


27 Nov, 2019

1 commit


29 Jul, 2019

1 commit

  • Move dcu-related code to fsl_dcu_probe_common, keep in video_hw_init()
    only legacy video stack (filling GraphicPanel struct etc.).

    Add wrappers for all init functions, that will let to provide
    struct fb_info as an additional param (needed for further moving it from
    the global scope to driver private data struct in DM converted driver).

    Signed-off-by: Igor Opaniuk
    Reviewed-by: Oleksandr Suvorov

    Igor Opaniuk
     

15 Mar, 2019

1 commit


07 Dec, 2018

1 commit

  • I2C is used to access DDR SPD in the DDR initialization for SPL. In
    i2c_write process, get_timer() will be called. In board_init_f for SPL,
    timer_init() is not called before. The system counter is not enabled and
    the counter frequency is not set to 12.5MHz in SPL. The parameters for
    do_div() are zero too.

    It could not be found until CONFIG_USE_PRIVATE_LIBGCC is enabled in
    default. When CONFIG_USE_PRIVATE_LIBGCC is enabled, U-Boot will use its
    own set of libgcc functions. As the parameters for do_div() are zero,
    __div0 will be called. Then the processor will stay in an endless loop
    after calling hang().

    This patch will add timer_init() in board_init_f for SPL and fix a
    series of issues it caused.

    Signed-off-by: Alison Wang
    Reviewed-by: York Sun

    Alison Wang
     

27 Sep, 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
     

02 May, 2018

1 commit


28 Apr, 2018

1 commit


11 Sep, 2017

1 commit

  • CoreLink Cache Coherent Interconnect (CCI) provides full cache
    coherency between two clusters of multi-core CPUs and I/O coherency
    for devices and I/O masters.

    This patch add new config option SYS_FSL_HAS_CCI400 and moves
    existing register space definaton of CCI-400 bus to fsl_immap to be
    shared. CONFIG_SYS_CCI400_ADDR is replaced with SYS_CCI400_OFFSET
    in Kconfig.

    Signed-off-by: Ashish Kumar
    Signed-off-by: Prabhakar Kushwaha
    [YS: revised commit message, squashed patches for armv8 and armv7]
    Reviewed-by: York Sun

    Ashish Kumar
     

06 Jun, 2017

1 commit


15 Apr, 2017

1 commit


14 Apr, 2017

1 commit


13 Apr, 2017

1 commit


06 Apr, 2017

3 commits


01 Feb, 2017

1 commit


24 Jan, 2017

1 commit


06 Dec, 2016

1 commit

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

22 Nov, 2016

1 commit


07 Oct, 2016

1 commit

  • Delete CONFIG_SKIP_LOWLEVEL_INIT define in ls1021atwr.h and
    ls1021aqds.h can let it run cpu_init_cp15 to enable i-cache. First
    stage of u-boot can run faster after that. There is a description
    about skip lowlevel init in board/freescale/ls1021atwr/README.

    Signed-off-by: Xiaoliang Yang
    Reviewed-by: York Sun

    Xiaoliang Yang
     

15 Sep, 2016

2 commits


27 Jul, 2016

1 commit


04 Jun, 2016

1 commit


25 Feb, 2016

3 commits


28 Jan, 2016

1 commit

  • Chain of Trust is enabled for ARM platforms (LS1021 and LS1043).
    In board_late_init(), fsl_setenv_chain_of_trust() is called which
    will perform the following:
    - If boot mode is non-secure, return (No Change)
    - If boot mode is secure, set the following environmet variables:
    bootdelay = 0 (To disable Boot Prompt)
    bootcmd = CONFIG_CHAIN_BOOT_CMD (Validate and execute Boot script)

    Signed-off-by: Aneesh Bansal
    Acked-by: Ruchika Gupta
    Reviewed-by: York Sun

    Aneesh Bansal
     

15 Jan, 2016

1 commit


14 Dec, 2015

1 commit


30 Oct, 2015

2 commits


02 Sep, 2015

2 commits

  • DEVDISRn registers provides a mechanism for gating clocks of IP blocks
    that are not used. Here we implement hwconfig option to allow users
    to disable unused peripherals on the board.

    For ex. If eSDHC/qDMA/eDMA are unused and with disabled status in dts,
    User can enable CONFIG_FSL_DEVICE_DISABLE and set "devdis:esdhc,qdma,edma"
    in hwconfig, thus ESDHC controller & eDMA/qDMA will be clock gated to
    save more power.

    Signed-off-by: Zhuoyu Zhang
    Reviewed-by: York Sun

    Zhuoyu Zhang
     
  • Replace the DMACTRL[LE] hack with recommended settings
    for ETSECDMAMCR to get the same end effect - obtaining
    big-endian buffer descriptors and frame data for eTSEC.
    The reset / default value for ETSECDMAMCR is preserved,
    excepting the BD and FR bits which are cleared to enable
    the BE mode in accordance with the H/W specifications.

    Fixes: 52d00a8 "ls102xa: etsec: Add etsec support for LS102xA"
    Signed-off-by: Claudiu Manoil
    Acked-by: Alison Wang
    Tested-by: Alison Wang
    Reviewed-by: York Sun

    Claudiu Manoil
     

04 Aug, 2015

1 commit