board: am64x: Define capsule update firmware info

Define the firmware components updatable via EFI capsule update, including
defining capsule GUIDs for the various firmware components for the AM64x
SK.

Signed-off-by: Jonathan Humphreys <j-humphreys@ti.com>
Acked-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
Jonathan Humphreys
2024-06-14 11:35:31 -05:00
committed by Tom Rini
parent 287c08e413
commit 5b84d2de5e
2 changed files with 58 additions and 0 deletions

View File

@@ -9,6 +9,30 @@
#ifndef __CONFIG_AM642_EVM_H
#define __CONFIG_AM642_EVM_H
/**
* define AM64X_SK_TIBOOT3_IMAGE_GUID - firmware GUID for AM64X sk tiboot3.bin
* define AM64X_SK_SPL_IMAGE_GUID - firmware GUID for AM64X sk SPL
* define AM64X_SK_UBOOT_IMAGE_GUID - firmware GUID for AM64X sk UBOOT
*
* These GUIDs are used in capsules updates to identify the corresponding
* firmware object.
*
* Board developers using this as a starting reference should
* define their own GUIDs to ensure that firmware repositories (like
* LVFS) do not confuse them.
*/
#define AM64X_SK_TIBOOT3_IMAGE_GUID \
EFI_GUID(0xede0a0d5, 0x9116, 0x4bfb, 0xaa, 0x54, \
0x09, 0xe9, 0x7b, 0x5a, 0xfe, 0x1a)
#define AM64X_SK_SPL_IMAGE_GUID \
EFI_GUID(0x77678f5c, 0x64d4, 0x4910, 0xad, 0x75, \
0x52, 0xc9, 0xd9, 0x5c, 0xdb, 0x1d)
#define AM64X_SK_UBOOT_IMAGE_GUID \
EFI_GUID(0xc6ad43a9, 0x7d31, 0x4f5d, 0x83, 0xe9, \
0xb8, 0xef, 0xec, 0xae, 0x05, 0xbf)
/* Now for the remaining common defines */
#include <configs/ti_armv7_common.h>