[PATCH] global: Correct duplicate U_BOOT_DRIVER entry names

Svyatoslav Ryhel clamor95 at gmail.com
Wed Mar 25 10:49:47 CET 2026


вт, 24 бер. 2026 р. о 00:55 Tom Rini <trini at konsulko.com> пише:
>
> 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 <trini at konsulko.com>
> ---
> Cc: Anatolij Gustschin <ag.dev.uboot at gmail.com>
> Cc: Bin Meng <bmeng.cn at gmail.com>
> Cc: Casey Connolly <casey.connolly at linaro.org>
> Cc: Heiko Schocher <hs at nabladev.com>
> Cc: Jaehoon Chung <jh80.chung at samsung.com>
> Cc: Jerome Forissier <jerome.forissier at arm.com>
> Cc: Kever Yang <kever.yang at rock-chips.com>
> Cc: Łukasz Majewski <lukma at nabladev.com>
> Cc: Marek Vasut <marek.vasut+renesas at mailbox.org>
> Cc: Masahisa Kojima <kojima.masahisa at socionext.com>
> Cc: Matthias Brugger <mbrugger at suse.com>
> Cc: Neil Armstrong <neil.armstrong at linaro.org>
> Cc: Patrice Chotard <patrice.chotard at foss.st.com>
> Cc: Patrick Delaunay <patrick.delaunay at foss.st.com>
> Cc: Peng Fan <peng.fan at nxp.com>
> Cc: Peter Robinson <pbrobinson at gmail.com>
> Cc: Philipp Tomsich <philipp.tomsich at vrull.eu>
> Cc: Simon Glass <sjg at chromium.org>
> Cc: Simon Goldschmidt <simon.k.r.goldschmidt at gmail.com>
> Cc: Stefan Roese <stefan.roese at mailbox.org>
> Cc: Svyatoslav Ryhel <clamor95 at gmail.com>
> Cc: Thierry Reding <treding at nvidia.com>
> Cc: Tien Fong Chee <tien.fong.chee at altera.com>
> Cc: u-boot-amlogic at groups.io
> Cc: uboot-stm32 at st-md-mailman.stormreply.com
> Cc: u-boot-qcom at groups.io
> Cc: linux at analog.com
> ---
>  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 <clamor95 at gmail.com> # Tegra


More information about the U-Boot mailing list