spl: fit: Also record architecture in /fit-images
authorMichal Simek <michal.simek@xilinx.com>
Thu, 27 May 2021 09:40:09 +0000 (11:40 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 23 Jun 2021 07:48:36 +0000 (09:48 +0200)
commitbe2d1a87c73b3f722fc5b0438d780014579a43de
treeb4cc0298b7829ebe80ee01e9400613393bf17893
parent3972ae65e43ad3a2a4f4c96cdaab5ca1863fe234
spl: fit: Also record architecture in /fit-images

On ARM64 secure OS can run as 64bit or 32bit that's why it is necessary to
record information about architecture that other code can read it and
properly pass it to TF-A and start in 64bit or 32bit mode.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
common/fdt_support.c
common/spl/spl_fit.c
include/fdt_support.h