[U-Boot] [PATCH 20/24] SPL: read and store arch property from U-Boot image

Simon Glass sjg at chromium.org
Thu Nov 24 03:20:16 CET 2016


On 20 November 2016 at 07:57, Andre Przywara <andre.przywara at arm.com> wrote:
> Read the specified "arch" value from a legacy or FIT U-Boot image and
> store it in our SPL data structure.
> This allows loaders to take the target architecture in account for
> custom loading procedures.
> Having the complete string -> arch mapping for FIT based images in the
> SPL would be too big, so we leave it up to architectures (or boards) to
> overwrite the weak function that does the actual translation, possibly
> covering only the required subset there.
> Document struct spl_image_info on the way.
>
> Signed-off-by: Andre Przywara <andre.przywara at arm.com>
>
> add a struct comment for spl_image_info
> ---
>  common/spl/spl.c     |  1 +
>  common/spl/spl_fit.c |  8 ++++++++
>  include/spl.h        | 15 ++++++++++++++-
>  3 files changed, 23 insertions(+), 1 deletion(-)

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


More information about the U-Boot mailing list