[PATCH 147/149] pci-rcar-gen3: Rename CONFIG_SEND_ENABLE
Tom Rini
trini at konsulko.com
Sun Dec 4 16:14:18 CET 2022
We rename the symbol CONFIG_SEND_ENABLE to just SEND_ENABLE, and remove
the second whitespace following the define.
Signed-off-by: Tom Rini <trini at konsulko.com>
---
drivers/pci/pci-rcar-gen3.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/pci/pci-rcar-gen3.c b/drivers/pci/pci-rcar-gen3.c
index 49029238d350..1252ef74c581 100644
--- a/drivers/pci/pci-rcar-gen3.c
+++ b/drivers/pci/pci-rcar-gen3.c
@@ -27,7 +27,7 @@
#define PCIECAR 0x000010
#define PCIECCTLR 0x000018
-#define CONFIG_SEND_ENABLE BIT(31)
+#define SEND_ENABLE BIT(31)
#define TYPE0 (0 << 8)
#define TYPE1 BIT(8)
#define PCIECDR 0x000020
@@ -170,9 +170,9 @@ static int rcar_pcie_config_access(const struct udevice *udev,
/* Enable the configuration access */
if (!PCI_BUS(bdf))
- writel(CONFIG_SEND_ENABLE | TYPE0, priv->regs + PCIECCTLR);
+ writel(SEND_ENABLE | TYPE0, priv->regs + PCIECCTLR);
else
- writel(CONFIG_SEND_ENABLE | TYPE1, priv->regs + PCIECCTLR);
+ writel(SEND_ENABLE | TYPE1, priv->regs + PCIECCTLR);
/* Check for errors */
if (readl(priv->regs + PCIEERRFR) & UNSUPPORTED_REQUEST)
--
2.25.1
More information about the U-Boot
mailing list