diff mbox series

[1/3] arm-bsp/u-boot: corstone1000: fix U-Boot patch

Message ID 20240628133145.1444437-2-harsimransingh.tungal@arm.com
State New
Headers show
Series arm-bsp/u-boot: corstone1000: fix U-Boot, Trusted-Services, and ts-newlib compilation issue | expand

Commit Message

harsimransingh.tungal@arm.com June 28, 2024, 1:31 p.m. UTC
From: Harsimran Singh Tungal <harsimransingh.tungal@arm.com>

Fix compilation issues with newer GCC version 14.1 in U-Boot patch

Signed-off-by: Harsimran Singh Tungal <harsimransingh.tungal@arm.com>
---
 .../corstone1000/0019-arm-corstone1000-esrt-support.patch     | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/meta-arm-bsp/recipes-bsp/u-boot/u-boot/corstone1000/0019-arm-corstone1000-esrt-support.patch b/meta-arm-bsp/recipes-bsp/u-boot/u-boot/corstone1000/0019-arm-corstone1000-esrt-support.patch
index f8d4be86..0781e374 100644
--- a/meta-arm-bsp/recipes-bsp/u-boot/u-boot/corstone1000/0019-arm-corstone1000-esrt-support.patch
+++ b/meta-arm-bsp/recipes-bsp/u-boot/u-boot/corstone1000/0019-arm-corstone1000-esrt-support.patch
@@ -153,7 +153,7 @@  index c883e2ff0a..c6ab6e2182 100644
 +	       return EFI_EXIT(ret);
 +
 +	image_info_version_size_var -= image_info_name_size_var;
-+	image_info->image_id_name = runner;
++	image_info->image_id_name = (u16*)runner;
 +	runner += image_info_name_size_var;
 +
 +        /* Consider changing the string modfication logic */
@@ -164,7 +164,7 @@  index c883e2ff0a..c6ab6e2182 100644
 +	if (ret != EFI_SUCCESS)
 +	        return EFI_EXIT(ret);
 +
-+	image_info->version_name = runner;
++	image_info->version_name = (u16*)runner;
 +
 +	*image_info_size = image_info_size_var;
 +