From 32b4ffc91b5f375f6fdd067c84732be91e043647 Mon Sep 17 00:00:00 2001
From: Ayush Singh <ayush@beagleboard.org>
Date: Thu, 20 Mar 2025 12:04:07 +0530
Subject: [PATCH] uefi: Update r-efi

- Bump up the version to 5.2.0

Signed-off-by: Ayush Singh <ayush@beagleboard.org>
---
 library/Cargo.lock     | 8 ++++++--
 library/std/Cargo.toml | 2 +-
 2 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/library/Cargo.lock b/library/Cargo.lock
index 104e0a3d01079..ba406821edbb5 100644
--- a/library/Cargo.lock
+++ b/library/Cargo.lock
@@ -259,6 +259,10 @@ name = "r-efi"
 version = "4.5.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "e9e935efc5854715dfc0a4c9ef18dc69dee0ec3bf9cc3ab740db831c0fdd86a3"
+
+[[package]]
+name = "r-efi"
+version = "5.2.0"
 dependencies = [
  "compiler_builtins",
  "rustc-std-workspace-core",
@@ -271,7 +275,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "31d6f09fe2b6ad044bc3d2c34ce4979796581afd2f1ebc185837e02421e02fd7"
 dependencies = [
  "compiler_builtins",
- "r-efi",
+ "r-efi 4.5.0",
  "rustc-std-workspace-core",
 ]
 
@@ -358,7 +362,7 @@ dependencies = [
  "object",
  "panic_abort",
  "panic_unwind",
- "r-efi",
+ "r-efi 5.2.0",
  "r-efi-alloc",
  "rand",
  "rand_xorshift",
diff --git a/library/std/Cargo.toml b/library/std/Cargo.toml
index 9d9601b79a7ed..6797de5fdd798 100644
--- a/library/std/Cargo.toml
+++ b/library/std/Cargo.toml
@@ -83,7 +83,7 @@ wasi = { version = "0.11.0", features = [
 ], default-features = false }
 
 [target.'cfg(target_os = "uefi")'.dependencies]
-r-efi = { version = "4.5.0", features = ['rustc-dep-of-std'] }
+r-efi = { version = "5.2.0", features = ['rustc-dep-of-std'] }
 r-efi-alloc = { version = "1.0.0", features = ['rustc-dep-of-std'] }
 
 [features]