]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
bcm_ns3: use device specific naming for variables
authorMaxim Uvarov <maxim.uvarov@linaro.org>
Tue, 26 Dec 2023 15:46:17 +0000 (21:46 +0600)
committerTom Rini <trini@konsulko.com>
Thu, 11 Jan 2024 16:24:58 +0000 (11:24 -0500)
Use device specific naming for variables so as to not overlap
with common function names.

Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Peter Robinson <pbrobinson@gmail.com>
include/configs/bcm_ns3.h

index 47de4bc201360e264cb1e44a9f8c53fe6afc26ab..7c6e0725a6c37f11a1e3697de2157d43ca96b9f1 100644 (file)
 #define PCIE_ARGS "pcie_args=pci=pcie_bus_safe pcie_ports=native vfio_pci.disable_idle_d3=1\0"
 
 #ifdef CONFIG_BCM_SF2_ETH
-#define ETH_ADDR "ethaddr=00:0A:F7:95:65:A4\0"
+#define BCM_ETH_ADDR "ethaddr=00:0A:F7:95:65:A4\0"
 #define NET_ARGS "bgmac_platform.ethaddr=${ethaddr} " \
        "ip=${ipaddr}::${gatewayip}:${netmask}::${ethif}:off"
 #else
-#define ETH_ADDR
+#define BMC_ETH_ADDR
 #define NET_ARGS
 #endif
 
        OS_LOG_LEVEL \
        EXTRA_ARGS \
        PCIE_ARGS \
-       ETH_ADDR \
+       BMC_ETH_ADDR \
        RESERVED_MEM \
        SETBOOTARGS \
        UPDATEME_FLASH_PARAMS \