19 Mar, 2019

1 commit


05 Feb, 2019

1 commit

  • This patch adds DM_PCI support to the MVEBU PCIe driver. This is
    necessary, since all PCI drivers have to be moved to DM (driver model)
    until the v2019.07 release.

    To not break git bisect'ablility, this patch also moves CONFIG_PCI_MVEBU
    from config headers to the defconfig files.

    Signed-off-by: Stefan Roese
    Cc: Dirk Eibach
    Cc: Mario Six
    Cc: Chris Packham
    Cc: Phil Sutter
    Cc: Marek Behún
    Cc: VlaoMao

    Stefan Roese
     

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
     

16 Nov, 2017

1 commit


01 Feb, 2017

1 commit

  • Armada 38x has four PCI ports, not three.

    The optimization in pci_init_board() seems to assume that every port has
    three lanes. This is obviously wrong, and breaks support for Armada 38x.

    Signed-off-by: Dirk Eibach
    Signed-off-by: Mario Six
    Reviewed-by: Stefan Roese
    Signed-off-by: Stefan Roese

    Dirk Eibach
     

24 Sep, 2016

1 commit


14 Jan, 2016

1 commit

  • Armada XP has support for X4 lanes, boards specify this in their
    serdes_cfg. During PEX init in high_speed_env_lib.c, the configuration
    is stored in GEN_PURP_RES_2_REG.

    When enumerating PEX, subsequent interfaces of an X4 lane must be
    skipped. Otherwise the enumeration hangs up the board.

    The way this is implemented here is not exactly beautiful, but it mimics
    how Marvell's BSP does it. Alternatively we could get the information
    using board_serdes_cfg_get(), but that won't lead to clean code, either.

    Signed-off-by: Phil Sutter
    Acked-by: Stefan Roese
    Reviewed-by: Tom Rini

    Phil Sutter
     

18 Aug, 2015

1 commit

  • This adds a PCI driver for the controllers found on Marvell MVEBU SoCs.

    Besides the driver, this patch also removes the statically defined
    PCI MBUS windows. As they are not needed anymore, since this PCIe
    driver now creates the windows dynamically.

    Tested on Armada XP db-mv784mp-gp eval board using an Intel E1000
    PCIe card in all 3 PCIe slots. And on the Armada 38x db-88f6820-gp
    eval board using this Intel E1000 PCIe card in the PCIe 0 slot.

    This port was done in cooperation with Anton Schubert.

    Signed-off-by: Anton Schubert
    Signed-off-by: Stefan Roese
    Cc: Luka Perkov
    Cc: Dirk Eibach

    Anton Schubert