[PATCH u-boot-marvell 3/3] arm: a37xx: pci: Update comment about Command/Direct mode

Stefan Roese sr at denx.de
Wed Feb 16 09:59:14 CET 2022


On 2/15/22 11:23, Pali Rohár wrote:
> Code is changing PCIe controller from Command mode to Direct mode.
> 
> Signed-off-by: Pali Rohár <pali at kernel.org>

Reviewed-by: Stefan Roese <sr at denx.de>

Thanks,
Stefan

> ---
>   drivers/pci/pci-aardvark.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/pci/pci-aardvark.c b/drivers/pci/pci-aardvark.c
> index c795ef10b884..4f7e61ecf166 100644
> --- a/drivers/pci/pci-aardvark.c
> +++ b/drivers/pci/pci-aardvark.c
> @@ -757,7 +757,7 @@ static int pcie_advk_setup_hw(struct pcie_advk *pcie)
>   	int i, wins;
>   	u32 reg;
>   
> -	/* Set to Direct mode */
> +	/* Set from Command to Direct mode */
>   	reg = advk_readl(pcie, ADVK_CORE_CTRL_CONFIG);
>   	reg &= ~ADVK_CORE_CTRL_CONFIG_COMMAND_MODE;
>   	advk_writel(pcie, reg, ADVK_CORE_CTRL_CONFIG);

Viele Grüße,
Stefan Roese

-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: sr at denx.de


More information about the U-Boot mailing list