From 81f525ecc75a3d8b344a27881098fcaab65f2d8f Mon Sep 17 00:00:00 2001 From: Andrew Davis Date: Tue, 10 Jan 2023 12:34:20 -0600 Subject: [PATCH] fix(ti): fix typo in boot authentication message name Fix AUTH_BOOT message identifier (s/IMIAGE/IMAGE). Reported-by: Jorge Ramirez-Ortiz Signed-off-by: Andrew Davis Change-Id: I19eb1798c6b9dd8c3f59e05c59318c9c3be971a0 --- plat/ti/k3/common/drivers/ti_sci/ti_sci.c | 2 +- plat/ti/k3/common/drivers/ti_sci/ti_sci_protocol.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plat/ti/k3/common/drivers/ti_sci/ti_sci.c b/plat/ti/k3/common/drivers/ti_sci/ti_sci.c index 2cbfa3d6e..569e60c16 100644 --- a/plat/ti/k3/common/drivers/ti_sci/ti_sci.c +++ b/plat/ti/k3/common/drivers/ti_sci/ti_sci.c @@ -1432,7 +1432,7 @@ int ti_sci_proc_auth_boot_image(uint8_t proc_id, uint64_t cert_addr) struct ti_sci_xfer xfer; int ret; - ret = ti_sci_setup_one_xfer(TISCI_MSG_PROC_AUTH_BOOT_IMIAGE, 0, + ret = ti_sci_setup_one_xfer(TISCI_MSG_PROC_AUTH_BOOT_IMAGE, 0, &req, sizeof(req), &resp, sizeof(resp), &xfer); diff --git a/plat/ti/k3/common/drivers/ti_sci/ti_sci_protocol.h b/plat/ti/k3/common/drivers/ti_sci/ti_sci_protocol.h index d220612ee..1b1a91033 100644 --- a/plat/ti/k3/common/drivers/ti_sci/ti_sci_protocol.h +++ b/plat/ti/k3/common/drivers/ti_sci/ti_sci_protocol.h @@ -47,7 +47,7 @@ #define TISCI_MSG_PROC_HANDOVER 0xc005 #define TISCI_MSG_SET_PROC_BOOT_CONFIG 0xc100 #define TISCI_MSG_SET_PROC_BOOT_CTRL 0xc101 -#define TISCI_MSG_PROC_AUTH_BOOT_IMIAGE 0xc120 +#define TISCI_MSG_PROC_AUTH_BOOT_IMAGE 0xc120 #define TISCI_MSG_GET_PROC_BOOT_STATUS 0xc400 #define TISCI_MSG_WAIT_PROC_BOOT_STATUS 0xc401 -- 2.39.5