[PATCH v3 08/20] boot: Add UCLASS support for extension boards

Simon Glass sjg at chromium.org
Sun Oct 19 15:05:57 CEST 2025


On Mon, 13 Oct 2025 at 14:32, Kory Maincent (TI.com)
<kory.maincent at bootlin.com> wrote:
>
> Introduce UCLASS-based extension board support to enable more
> standardized and automatic loading of extension board device tree
> overlays in preparation for integration with bootstd and pxe_utils.
>
> Several #if CONFIG_IS_ENABLED are used in cmd/extension_board.c to ease the
> development but don't worry they are removed later in the series.
>
> Signed-off-by: Kory Maincent (TI.com) <kory.maincent at bootlin.com>
> ---
>
> Change in v3:
> - Add OF_LIBFDT_OVERLAY config dependency.
> - Update several return errors value following Simon review.
> - Use uclass_first_device_err instead of extension_get_dev function.
> - Remove the manual bind of extension driver. Use U_BOOT_DRVINFO instead.
> - Update documentation.
> - Add a helper to get extension ops.
> ---
>  MAINTAINERS                 |   1 +
>  boot/Kconfig                |   4 ++
>  boot/Makefile               |   1 +
>  boot/extension-uclass.c     | 151 ++++++++++++++++++++++++++++++++++++++++++++
>  cmd/Kconfig                 |   2 +-
>  cmd/extension_board.c       |  50 ++++++++++++++-
>  doc/usage/cmd/extension.rst |  29 +++++----
>  include/dm/uclass-id.h      |   1 +
>  include/extension_board.h   |  70 ++++++++++++++++++++
>  9 files changed, 293 insertions(+), 16 deletions(-)

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


More information about the U-Boot mailing list