From 6db296637b0fcade01a6b1f5c6e64ff97317573a Mon Sep 17 00:00:00 2001 From: Harsimran Singh Tungal Date: Fri, 28 Jun 2024 14:31:43 +0100 Subject: [PATCH] arm-bsp/u-boot: corstone1000: fix U-Boot patch Fix compilation issues with newer GCC version 14.1 in U-Boot patch Signed-off-by: Harsimran Singh Tungal Signed-off-by: Jon Mason --- .../corstone1000/0019-arm-corstone1000-esrt-support.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; +