[PATCH v2 14/18] boot: Remove legacy extension board support
Simon Glass
sjg at chromium.org
Fri Oct 10 13:13:24 CEST 2025
On Thu, 9 Oct 2025 at 15:51, Kory Maincent (TI.com)
<kory.maincent at bootlin.com> wrote:
>
> Remove the legacy extension board implementation now that all boards
> have been converted to use the new UCLASS-based framework. This
> eliminates 223 lines of legacy code while preserving functionality
> through the modern driver model approach.
>
> Signed-off-by: Kory Maincent (TI.com) <kory.maincent at bootlin.com>
> ---
>
> Changes in v2:
> - Remove a missing DM_EXTENSION_SCAN in cmd/Kconfig
> ---
> MAINTAINERS | 1 -
> arch/Kconfig | 2 +-
> arch/arm/mach-imx/imx8m/Kconfig | 4 +-
> arch/arm/mach-omap2/am33xx/Kconfig | 2 +-
> arch/arm/mach-omap2/omap5/Kconfig | 2 +-
> arch/arm/mach-sunxi/Kconfig | 2 +-
> board/ti/common/Makefile | 2 +-
> boot/Kconfig | 3 --
> boot/Makefile | 3 +-
> boot/extension-uclass.c | 18 +++----
> boot/extension.c | 97 --------------------------------------
> cmd/Kconfig | 2 +-
> cmd/extension_board.c | 74 ++++-------------------------
> include/extension_board.h | 55 ++++++---------------
> 14 files changed, 40 insertions(+), 227 deletions(-)
Reviewed-by: Simon Glass <sjg at chromium.org>
This is a really nice way of doing it, doing the conversion and then
removing at the end.
More information about the U-Boot
mailing list