Commit 4914af1286c4a48cd0ae98cf6adea3569111413b

Authored by Philipp Tomsich
1 parent 93a51d301a

image: add IH_OS_ARM_TRUSTED_FIRMWARE for ARM Trusted Firmware

To boot on ARMv8 systems with ARM Trusted Firmware, we need to
assemble an ATF-specific parameter structure and also provide the
address of the images started by ATF (e.g. BL3-3, which may be the
full U-Boot).

To allow us to identify an ARM Trusted Firmware contained in a FIT
image, this adds the necessary definitions.

Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reviewed-by: Simon Glass <sjg@chromium.org>

Showing 2 changed files with 2 additions and 0 deletions Side-by-side Diff

... ... @@ -95,6 +95,7 @@
95 95  
96 96 static const table_entry_t uimage_os[] = {
97 97 { IH_OS_INVALID, "invalid", "Invalid OS", },
  98 + { IH_OS_ARM_TRUSTED_FIRMWARE, "arm-trusted-firmware", "ARM Trusted Firmware" },
98 99 { IH_OS_LINUX, "linux", "Linux", },
99 100 #if defined(CONFIG_LYNXKDI) || defined(USE_HOSTCC)
100 101 { IH_OS_LYNXOS, "lynxos", "LynxOS", },
... ... @@ -152,6 +152,7 @@
152 152 IH_OS_OSE, /* OSE */
153 153 IH_OS_PLAN9, /* Plan 9 */
154 154 IH_OS_OPENRTOS, /* OpenRTOS */
  155 + IH_OS_ARM_TRUSTED_FIRMWARE, /* ARM Trusted Firmware */
155 156  
156 157 IH_OS_COUNT,
157 158 };