diff options
author | Pali Rohár <pali@kernel.org> | 2022-02-15 13:23:37 +0300 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2022-02-17 16:17:07 +0300 |
commit | 682bad8cec8fc38d8b15b035569c94800ec653d0 (patch) | |
tree | 59f82189e3ec1b18c2c24849c466ecd3dc7cc251 /drivers | |
parent | 6c7ccb9700d48a6a4a6254f144e58329074fac9e (diff) | |
download | u-boot-682bad8cec8fc38d8b15b035569c94800ec653d0.tar.xz |
arm: a37xx: pci: Update comment about Command/Direct mode
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/pci/pci-aardvark.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/pci-aardvark.c b/drivers/pci/pci-aardvark.c index c795ef10b8..4f7e61ecf1 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); |