01 May, 2020

1 commit

  • Add support for Inphi retimers used on LX2160A-RDB/QDS boards
    Add support for M13,M8 mezzanine cards using Inphi retimers
    Gen1 configurations: 10/25
    Gen2 configurations: 10/25 + 40/50/100G (using 2 retimers)
    Speeds are configurable via menuconfig options

    Signed-off-by: Florin Chiculita
    Rebased
    Signed-off-by: Priyanka Jain

    Florin Chiculita
     

19 Feb, 2020

1 commit

  • The implementation of dma_map_single() and dma_unmap_single() is
    exactly the same for all the architectures that support them.

    Factor them out to , and make all drivers to
    include instead of .

    If we need to differentiate them for some architectures, we can
    move the generic definitions to .

    Add some comments to the helpers. The concept is quite similar to
    the DMA-API of Linux kernel. Drivers are agnostic about what is
    going on behind the scene. Just call dma_map_single() before the
    DMA, and dma_unmap_single() after it.

    Signed-off-by: Masahiro Yamada

    Masahiro Yamada
     

06 Feb, 2020

5 commits


28 Jan, 2020

1 commit


26 Jan, 2020

1 commit


21 Jan, 2020

1 commit


20 Jan, 2020

1 commit


18 Jan, 2020

3 commits


17 Dec, 2019

1 commit

  • JESD216 allow vendors to define their own SFDP tables.

    Add SST SFDP parser. The vendor table is allocated using resource-managed
    kmalloc - the table will be freed on driver detach. It will be accessible
    by getting the UCLASS_SPI_FLASH's private data.

    The SST's SFDP table is particularly of interest because contains
    pre-programmed globally unique EUI-48 and EUI-64 identifiers.

    Signed-off-by: Tudor Ambarus
    Reviewed-by: Vignesh Raghavendra

    Tudor Ambarus
     

10 Dec, 2019

1 commit


09 Dec, 2019

2 commits

  • Implement dma_get_cfg() interface to pass flow id information for DMA
    clients to use. This is needed because on K3 SoCs, CPSW (ethernet) and
    UDMA (DMA provider) support "flows" within a given RX DMA channel. This
    allows different network packets to be segregated while using same RX
    DMA channel. In order for basic ethernet to work, CPSW slave must be
    aware of the flow ID allocated for the RX channel by the DMA driver.
    This interface allows CPSW to query flow ID from DMA provider and
    configure it in CPSW HW.

    Signed-off-by: Vignesh Raghavendra
    Acked-by: Joe Hershberger
    Reviewed-by: Grygorii Strashko

    Vignesh Raghavendra
     
  • unsigned char should be called uchar and not unchar.

    This fixes a build error in lib/crypto/x509_cert_parser.c.

    Signed-off-by: Heinrich Schuchardt

    Heinrich Schuchardt
     

07 Dec, 2019

5 commits


05 Dec, 2019

1 commit

  • The 'sf' command is not supposed to rely on the MTD stack, but both
    'sf' and 'nand' commands use helpers located in mtd_uboot.c. Despite
    their location, these functions do not depend at all on the MTD
    stack.

    This file (drivers/mtd/mtd_uboot.c) is only compiled if CONFIG_MTD is
    selected, which is inconsistent with the current situation. Solve this
    by moving these three functions (which are only used by the above two
    commands) out of mtd_uboot.c and put them in a C file only compiled
    with cmd/sf.c and cmd/nand.c.

    Signed-off-by: Miquel Raynal
    [trini: Don't export get_part function now]
    Signed-off-by: Tom Rini

    Miquel Raynal
     

03 Dec, 2019

2 commits


23 Nov, 2019

1 commit

  • U-Boot has two different variants of dwc3 initializations,
    - with dm variant gadget, so the respective dm driver would
    call the dwc3_init in core.
    - with non-dm variant gadget, so the usage board file would
    call dwc3_uboot_init in core.

    The driver probe would handle all respective gadget properties
    including phy interface via phy_type property and then trigger
    dwc3_init for dm-variant gadgets.

    So, to support the phy interface for non-dm variant gadgets,
    the better option is dwc3_uboot_init since there is no
    dedicated controller for non-dm variant gadgets.

    This patch support for adding phy interface like 8/16-bit UTMI+
    code for dwc3_uboot.

    This change used Linux phy.h enum list, to make proper code
    compatibility.

    Cc: Marek Vasut
    Tested-by: Levin Du
    Signed-off-by: Jagan Teki
    Reviewed-by: Marek Vasut
    Reviewed-by: Kever Yang

    Jagan Teki
     

09 Nov, 2019

1 commit


08 Nov, 2019

1 commit


07 Nov, 2019

5 commits


05 Nov, 2019

1 commit

  • Unfortunately libfdt needs this value now, which is present in the
    stdint.h header. That file is just a placeholder in U-Boot and these sorts
    of constants appear in the linux/kernel.h header instead.

    To keep libfdt happy, add INT32_MAX too.

    Signed-off-by: Simon Glass
    Reviewed-by: Tom Rini

    Simon Glass
     

01 Nov, 2019

1 commit


29 Oct, 2019

1 commit

  • 'struct ustat' uses linux-specific typedefs to declare its memebers:
    __kernel_daddr_t and __kernel_ino_t. It is currently not used by any
    U-Boot codes, but when we build U-Boot tools for other platform like
    Windows, this becomes a problem.

    Let's surround it with __linux__.

    Signed-off-by: Bin Meng

    Bin Meng
     

28 Oct, 2019

1 commit


08 Oct, 2019

1 commit


20 Sep, 2019

1 commit