]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: a37xx: pci: Update comment about Command/Direct mode
authorPali Rohár <pali@kernel.org>
Tue, 15 Feb 2022 10:23:37 +0000 (11:23 +0100)
committerStefan Roese <sr@denx.de>
Thu, 17 Feb 2022 13:17:07 +0000 (14:17 +0100)
Code is changing PCIe controller from Command mode to Direct mode.

Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Stefan Roese <sr@denx.de>
drivers/pci/pci-aardvark.c

index c795ef10b884ad4d022e00809b737e4d4018a54c..4f7e61ecf166263deda69ef973799ec0051943f6 100644 (file)
@@ -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);