[PATCH v2 15/18] boot: extension: Move overlay apply custom logic to command level

Simon Glass sjg at chromium.org
Fri Oct 10 13:13:28 CEST 2025


On Thu, 9 Oct 2025 at 15:51, Kory Maincent (TI.com)
<kory.maincent at bootlin.com> wrote:
>
> The extension_overlay_cmd environment variable approach is specific to
> the U-Boot extension_board command, while other boot flows (pxe_utils,
> bootstd) handle overlay loading differently.
>
> Move the extension_overlay_cmd execution out of the core extension
> framework to the command level. This decouples the framework from
> command-specific behavior and prepares for future extension support
> in other boot flows.
>
> Signed-off-by: Kory Maincent (TI.com) <kory.maincent at bootlin.com>
> ---
>  boot/extension-uclass.c   | 68 +++--------------------------------
>  cmd/extension_board.c     | 92 +++++++++++++++++++++++++++++++++++++++++++++--
>  include/extension_board.h | 12 ++-----
>  3 files changed, 98 insertions(+), 74 deletions(-)

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


More information about the U-Boot mailing list