From 697d18ae1a73c5e2d874b36760618b9f6534baa9 Mon Sep 17 00:00:00 2001 From: Lionel Debieve Date: Mon, 18 Nov 2019 15:52:13 +0100 Subject: [PATCH] plat/st: Fix incorrect return value Change the return code in boot_api.h which impacts the authentication result. Signed-off-by: Lionel Debieve Change-Id: I2c3aadb98dd261ae5ad73978fc74a8a8cfa59b82 Reviewed-by: Yann GAUTIER --- plat/st/stm32mp1/include/boot_api.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plat/st/stm32mp1/include/boot_api.h b/plat/st/stm32mp1/include/boot_api.h index 2284970fa..c80aef6dd 100644 --- a/plat/st/stm32mp1/include/boot_api.h +++ b/plat/st/stm32mp1/include/boot_api.h @@ -124,7 +124,7 @@ /* Closed = OTP_CFG0[6] */ #define BOOT_API_OTP_MODE_CLOSED_BIT_POS 6 -#define BOOT_API_RETURN_OK 0x66U +#define BOOT_API_RETURN_OK 0x77U /* * Boot Context related definitions