[PATCH] global: Correct duplicate U_BOOT_DRIVER entry names

Simon Glass sjg at chromium.org
Tue Mar 24 18:41:30 CET 2026


On Mon, 23 Mar 2026 at 16:55, Tom Rini <trini at konsulko.com> wrote:
>
> 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 +-
[..]

For x86:

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list