]> git.baikalelectronics.ru Git - uboot.git/commitdiff
pci-rcar-gen3: Rename CONFIG_SEND_ENABLE
authorTom Rini <trini@konsulko.com>
Sun, 4 Dec 2022 15:14:18 +0000 (10:14 -0500)
committerTom Rini <trini@konsulko.com>
Fri, 23 Dec 2022 18:01:13 +0000 (13:01 -0500)
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@konsulko.com>
drivers/pci/pci-rcar-gen3.c

index 49029238d350c8241f85e860b3ea1ff6be9f774d..1252ef74c581b7f5731aae9ac76fe559c387992c 100644 (file)
@@ -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)