19 Oct, 2020

1 commit


26 Aug, 2020

2 commits


16 Jun, 2020

1 commit


06 May, 2020

11 commits

  • Porting the iMX7ULP 10x10 validation board and 14x14 validation board codes
    from v2019.04 u-boot.

    Signed-off-by: Ye Li

    Ye Li
     
  • Since the freescale entity does not exist, remove it from CPU info print.

    Signed-off-by: Ye Li

    Ye Li
     
  • Update the mx7ulp wdog disable sequence to avoid potential reset issue
    in unlock or refresh sequence. Both sequence need two words write
    to wdog CNT register in 16 bus clocks window, if miss the window,
    the write will cause violation in wdog and reset the chip.

    Current u-boot code is using writel() function which has a DMB barrier
    to order the memory access. The DMB between two words write may introduce
    some delay in certain circumstance, causing the wdog reset due to 16 bus
    clock window requirement.

    This patch replaces writel() function by __raw_writel() to avoid such issue,
    and improve to check if watchdog is already disabled or unlocked.

    Signed-off-by: Ye Li
    Tested-by: Breno Lima
    Reviewed-by: Peng Fan
    (cherry picked from commit b8c99d5f5bcc5573d3394b68890db16b6bb5fc88)

    Ye Li
     
  • The get_boot_device will return USB type from ROM info if booting from
    serial download, so change the is_boot_from_usb to use this function.

    Signed-off-by: Ye Li
    (cherry picked from commit 306fca12fb21829be552a6262e310a90664a8cc2)

    Ye Li
     
  • Porting the FSL android fastboot features from imx u-boot v2018.03 to
    support all SoCs: imx6/imx7/imx7ulp/imx8/imx8m.

    The UUU commands like UCmd and ACmd are also added. Users need set
    CONFIG_FASTBOOT_UUU_SUPPORT=y to enable the feature.

    Signed-off-by: Frank Li
    Signed-off-by: Ye Li
    (cherry picked from commit 65120b06a7f750b9b1a6e0db3d2082cc7088d5a8)
    (cherry picked from commit 9b149c2a28829fe7017f83981d634157bc31cc94)

    Ye Li
     
  • Since we enabled MMC alias, the USDHC index in u-boot is the usdhc port.
    So we don't need to convert them for kernel and u-boot env device.

    Signed-off-by: Ye Li
    (cherry picked from commit 8fd6e14f5c1598684bc08a7917f89cd94e988d8f)
    (cherry picked from commit 96bc8f724159a3a9e2ba9f605b84f53534bc3e1f)

    Ye Li
     
  • Since from B0 TO, there is a Mirror of JTAG ID register added in
    SIM. We can read the part revision from this register.
    Update codes to use this register.

    Signed-off-by: Ye Li
    Reviewed-by: Peng Fan
    (cherry picked from commit de14e88698b9ae9b0a9ac674f16d65b3ceb4ccc2)
    (cherry picked from commit 0d0d9acc04972792890776e3c066f05a349bb623)
    (cherry picked from commit 00dfa82643b4e06c4c5e3830d35a82801e74ad81)

    Ye Li
     
  • Change USDHC0 and USDHC1 per clock source from APLL_PFD1,
    and set the APll_PFD1 clock rate to 352.8MHz.

    Also gate off APll_PFD1/2/3 before boot OS, otherwise set
    the clock rate of APll_PFD1/2/3 during OS boot up will triger
    some warning message.

    Reviewed-by: Ye Li
    Signed-off-by: Haibo Chen
    (cherry picked from commit 07ef0fab23204684d82f27baf721a72b247f30c5)
    (cherry picked from commit 1c30a73542990afbe48bf7a398baba9c5efaf4fe)
    (cherry picked from commit 0e4ce4b6b3f8d06f5b63850e04a1e4deb9b07624)

    Haibo Chen
     
  • The single boot mode in MX7ULP will only boot up A7, the M4 is running in ROM
    by checking entry from SIM0 GP register.

    In this patch, We bind M4 image with u-boot.bin by allocating a section for m4 image.
    So the whole image (included M4 image) will be loaded by A7 ROM into DDR. Then
    when u-boot is up, it will try to load M4 image into TCML and boot it there.

    Since M4 image will not be relocated in u-boot codes, we must load it during
    board_f. Current implementation put it in arch_cpu_init to get M4 booted
    as quick as possible.

    We requires the M4 image with IVT head and padding embedded, not a RAW binary. The
    image should be same as what is used for M4 QSPI boot in dual boot mode.

    Signed-off-by: Ye Li
    (cherry picked from commit 04163dbd4f6190f310fff17b53b4bc7b8370ba89)
    (cherry picked from commit 81b5ea14493ef25a6cca22bc5651ec3e93e941f3)
    (cherry picked from commit 1e4414da2e9a671896af1af887ab710489a2007e)
    (cherry picked from commit b3a50e57aafe2830388d1295a8583c4e2515594b)

    Ye Li
     
  • Call the TRNG init function at the end of arch_cpu_init()
    Concerned SoCs are: i.MX6, i.MX7 and i.MX8M

    Signed-off-by: Aymen Sghaier
    (cherry picked from commit 996329904c0304a7bfbc6cda8287ab93de77870d)
    (cherry picked from commit 5dd4441081f2af6f198a4d43eb1a3e543d986306)

    Aymen Sghaier
     
  • Signed-off-by: Franck LENORMAND
    (cherry picked from commit 5f429339ab5a5f0d1f00a2880ce05cf479f11ba5)
    (cherry picked from commit c26db25a130ef1f0abd43a3133877f74431eb217)
    (cherry picked from commit 62ca8b07d4906ea11380f2638cc4b9d55beae9f6)

    Franck LENORMAND
     

21 Jan, 2020

1 commit


20 Jan, 2020

1 commit


18 Jan, 2020

2 commits


07 Jan, 2020

1 commit


06 Dec, 2019

4 commits


03 Dec, 2019

1 commit


08 Oct, 2019

11 commits


23 Jun, 2019

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
     

29 Apr, 2018

1 commit

  • SYS_ARCH_TIMER guards the usage of the ARM Generic Timer (aka arch
    timer) in U-Boot.
    At the moment it is mandatory for ARMv8 and used by a few ARMv7 boards.
    Add a proper Kconfig symbol to express this dependency properly,
    allowing certain board configuration to later disable arch timer in case
    there are any problems with it.

    Signed-off-by: Andre Przywara
    [tuomas: rebase + fix conflicts and resync with moveconfig & use select]
    Signed-off-by: Tuomas Tynkkynen

    Andre Przywara
     

28 Apr, 2018

1 commit