> It is often desirable to configure the spl-boot-order (i.e. the order > that SPL probes devices to find the FIT image containing a full U-Boot) > such that it contains 'the same device the SPL stage was booted from' > early on. To support this, we introduce the 'same-as-spl' specifier > for the spl-boot-order property. > > This commit adds: > - documentation for the new board_spl_was_booted_from() function that > individual SoCs/boards should provide, if they can determine where > the SPL was booted from > - implements the new board_spl_was_booted_from() stub function > - adds support for handling the 'same-as-spl' specifier and calling > into the per-SoC/per-board support code. > > This also updates the documentation for the 'u-boot,spl-boot-order' > property. > > Signed-off-by: Philipp Tomsich <[email protected]> > Reviewed-by: Simon Glass <[email protected]> > --- > > Changes in v2: None > > arch/arm/mach-rockchip/spl-boot-order.c | 29 ++++++++++++++++++++++++++++- > doc/device-tree-bindings/chosen.txt | 12 +++++++++++- > 2 files changed, 39 insertions(+), 2 deletions(-) >
Applied to u-boot-rockchip, thanks! _______________________________________________ U-Boot mailing list [email protected] https://lists.denx.de/listinfo/u-boot

