Re: [PATCH] global: Correct duplicate U_BOOT_DRIVER entry names
Svyatoslav Ryhel <[email protected]> Wed, 25 Mar 2026 11:49:47 +0200
| Newsgroups | io.groups.u-boot-amlogic,org.u-boot-project.lists.u-boot |
|---|---|
| Message-ID | <CAPVz0n3z1MOWOUMJZQpw-vs8oC7eMo9gXdPMpVT62R9-fLSeBA@mail.gmail.com> |
=D0=B2=D1=82, 24 =D0=B1=D0=B5=D1=80. 2026=E2=80=AF=D1=80. =D0=BE 00:55 Tom = Rini <[email protected]> =D0=BF=D0=B8=D1=88=D0=B5: > > The U_BOOT_DRIVER macro creates a list of drivers used at link time, and > all entries here must be unique. This in turn means that all entries in > the code should also be unique in order to not lead to build failures > later with unexpected build combinations. Typically, the problem we have > here is when a driver is obviously based on another driver and didn't > update this particular field and so while the name field reflects > something unique the linker entry itself is not. In a few places this > provides a more suitable string name as well, however. > > Signed-off-by: Tom Rini <[email protected]> > --- > Cc: Anatolij Gustschin <[email protected]> > Cc: Bin Meng <[email protected]> > Cc: Casey Connolly <[email protected]> > Cc: Heiko Schocher <[email protected]> > Cc: Jaehoon Chung <[email protected]> > Cc: Jerome Forissier <[email protected]> > Cc: Kever Yang <[email protected]> > Cc: =C5=81ukasz Majewski <[email protected]> > Cc: Marek Vasut <[email protected]> > Cc: Masahisa Kojima <[email protected]> > Cc: Matthias Brugger <[email protected]> > Cc: Neil Armstrong <[email protected]> > Cc: Patrice Chotard <[email protected]> > Cc: Patrick Delaunay <[email protected]> > Cc: Peng Fan <[email protected]> > Cc: Peter Robinson <[email protected]> > Cc: Philipp Tomsich <[email protected]> > Cc: Simon Glass <[email protected]> > Cc: Simon Goldschmidt <[email protected]> > Cc: Stefan Roese <[email protected]> > Cc: Svyatoslav Ryhel <[email protected]> > Cc: Thierry Reding <[email protected]> > Cc: Tien Fong Chee <[email protected]> > Cc: [email protected] > Cc: [email protected] > Cc: [email protected] > Cc: [email protected] > --- > arch/x86/cpu/broadwell/sdram.c | 2 +- > arch/x86/cpu/ivybridge/early_me.c | 2 +- > board/liebherr/btt/btt.c | 2 +- > board/liebherr/xea/xea.c | 2 +- > drivers/block/efi_blk.c | 2 +- > drivers/clk/at91/compat.c | 4 ++-- > drivers/clk/at91/sckc.c | 2 +- > drivers/clk/meson/a1.c | 2 +- > drivers/clk/meson/gxbb.c | 2 +- > drivers/clk/nuvoton/clk_npcm7xx.c | 2 +- > drivers/clk/nuvoton/clk_npcm8xx.c | 2 +- > drivers/clk/stm32/clk-stm32mp13.c | 2 +- > drivers/dma/ti/k3-udma.c | 2 +- > drivers/i2c/tegra186_bpmp_i2c.c | 2 +- > drivers/mmc/bcm2835_sdhci.c | 2 +- > drivers/mmc/fsl_esdhc_imx.c | 2 +- > drivers/mmc/rockchip_sdhci.c | 2 +- > drivers/net/calxedaxgmac.c | 2 +- > drivers/net/dwc_eth_xgmac.c | 2 +- > drivers/net/qe/dm_qe_uec_phy.c | 2 +- > drivers/net/sni_netsec.c | 2 +- > drivers/pinctrl/meson/pinctrl-meson-g12a.c | 2 +- > drivers/pinctrl/tegra/pinctrl-tegra20.c | 4 ++-- > drivers/reset/stm32/stm32-reset-mp1.c | 2 +- > drivers/spi/kirkwood_spi.c | 4 ++-- > drivers/spi/mvebu_a3700_spi.c | 4 ++-- > drivers/sysreset/sysreset_socfpga_soc64.c | 2 +- > drivers/usb/dwc3/dwc3-meson-g12a.c | 2 +- > drivers/usb/dwc3/dwc3-meson-gxl.c | 2 +- > drivers/usb/host/ehci-exynos.c | 2 +- > drivers/usb/host/ehci-msm.c | 2 +- > drivers/usb/host/ehci-tegra.c | 2 +- > drivers/usb/host/ehci-vf.c | 2 +- > drivers/usb/host/ohci-da8xx.c | 2 +- > drivers/usb/musb-new/pic32.c | 2 +- > drivers/usb/musb-new/sc5xx.c | 2 +- > drivers/usb/musb-new/sunxi.c | 2 +- > drivers/video/rockchip/rk3288_mipi.c | 4 ++-- > drivers/video/rockchip/rk3399_mipi.c | 4 ++-- > drivers/watchdog/arm_smc_wdt.c | 2 +- > 40 files changed, 46 insertions(+), 46 deletions(-) > Reviewed-by: Svyatoslav Ryhel <[email protected]> # Tegra