01 Nov, 2019

1 commit


06 Dec, 2018

1 commit

  • Because the ROM info on iMX7D does not set device type to USB when booting
    from serial download mode, we have to use the mechanism on mx6 to implement
    the is_boot_from_usb. The original implementation is checking USB controller
    register, it can't work correctly after any USB functionality is run in u-boot.

    Signed-off-by: Ye Li

    Ye Li
     

12 Nov, 2018

1 commit

  • Add support for fastboot variable 'at-vboot-state', it's composed
    by 6 sub-variable: 'bootloader-locked', 'bootloader-min-versions',
    'avb-perm-attr-set', 'avb-locked', 'avb-unlock-disabled' and
    'avb-min-versions'.

    Test: All 'at-vboot-state' variables are returned
    correctly on imx7d_pico and AIY.

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

    Ji Luo
     

23 Aug, 2018

1 commit


17 Jul, 2018

1 commit


13 Jun, 2018

3 commits


27 Apr, 2018

2 commits

  • According to the Cortex-A7 TRM, for ACTLR.SMP bit "You must ensure this bit
    is set to 1 before the caches and MMU are enabled, or any cache and TLB
    maintenance operations are performed".
    ROM sets this bit in normal boot flow, but when in serial download mode, it is not set.
    Here we add it in u-boot as a common flow for all i.MX cortex-a7 platforms,
    including mx7d, mx6ul/ull and mx7ulp.

    Signed-off-by: Ye Li
    (cherry picked from commit 14990af03450f3e1898135c86fd8b93328007617)
    (cherry picked from commit 79e968112ebeeb4c656263a434f6fbffc8f533d9)

    Ye Li
     
  • This EPDC/EPXP QoS setting is needed for EPDC stress test to pass.

    Signed-off-by: Robby Cai
    Signed-off-by: Peng Fan
    (cherry picked from commit 1b32518d1c27f05eb84a4cb93594710354b2e343)
    (cherry picked from commit 8fd2dbe9097b09715f84e1c0c17dcd6a6351fb35)

    Peng Fan
     

04 Feb, 2018

6 commits

  • This patch adds a sec_init call into arch_misc_init(). Doing so in
    conjunction with the patch "drivers/crypto/fsl: assign job-rings to
    non-TrustZone" enables use of the CAAM in Linux when OPTEE/TrustZone is
    active.

    u-boot will initialise the RNG and assign ownership of the job-ring
    registers to a non-TrustZone context. With recent changes by Lukas Auer to
    fully initialize the RNG in sec_init() this means that u-boot will hand-off
    the CAAM in a state that Linux then can use the CAAM without touching the
    reserved DECO registers.

    This change is safe both for the OPTEE/TrustZone boot path and the regular
    non-OPTEE/TrustZone boot path.

    Signed-off-by: Bryan O'Donoghue
    Cc: Fabio Estevam
    Cc: Peng Fan
    Cc: Marco Franchi
    Cc: Vanessa Maegima
    Cc: Stefano Babic
    Cc: Lukas Auer
    Tested-by: Lukas Auer
    Reviewed-by: Fabio Estevam

    Bryan O'Donoghue
     
  • The mx7 mmc env code is shared by i.MX8M, so move it to mmc_env.c.

    Signed-off-by: Peng Fan

    Peng Fan
     
  • Move get_boot_device to cpu.c to prepare adding i.MX8M support,
    because i.MX8M share same code with i.MX7.

    Signed-off-by: Peng Fan
    Cc: Stefano Babic
    Cc: Fabio Estevam
    Reviewed-by: Stefano Babic

    Peng Fan
     
  • Move i.MX6/7 bootaux code to imx_bootaux.c.
    The i.MX6/7 has different src layout, so define M4 reg offset
    to ease the cleanup. Redefine the M4 related BIT for share
    common code.

    Signed-off-by: Peng Fan
    Cc: Stefano Babic
    Cc: Fabio Estevam

    Peng Fan
     
  • Move imx_get_mac_from_fuse to a new mac.c for i.MX6/7.
    Since fuse regs structure are different for i.MX6/7, use mac
    address offset in code and define a new local struture
    imx_mac_fuse.

    Also sort the config order.

    Signed-off-by: Peng Fan
    Cc: Stefano Babic
    Cc: Fabio Estevam
    Reviewed-by: Stefano Babic

    Peng Fan
     
  • The i.MX7 cpu speed/temp code could be reused on i.MX8M,
    so move them to common cpu code.

    Signed-off-by: Peng Fan
    Cc: Stefano Babic
    Cc: Fabio Estevam
    Reviewed-by: Stefano Babic

    Peng Fan
     

27 Nov, 2017

1 commit

  • imx_set_wdog_powerdown() is always used to disable the power down
    enable bit, so remove the boolean parameter of the function.

    It is also a bit strange to write a boolean value into registers,
    so this new version makes explicit that we are writing 0.

    While at it, rename it to imx_wdog_disable_powerdown().

    Signed-off-by: Fabio Estevam

    Fabio Estevam
     

17 Aug, 2017

1 commit


16 Aug, 2017

2 commits


12 Jul, 2017

1 commit

  • 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