[U-Boot] [U-Boot, v2, 04/10] rockchip: spl: support a 'same-as-spl'-specifier in the spl-boot-order
Philipp Tomsich
philipp.tomsich at theobroma-systems.com
Fri Sep 29 17:46:01 UTC 2017
> 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 <philipp.tomsich at theobroma-systems.com>
> Reviewed-by: Simon Glass <sjg at chromium.org>
> ---
>
> 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!
More information about the U-Boot
mailing list