summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2025-10-26 07:51:18 -0600
committerTom Rini <[email protected]>2025-10-26 09:03:36 -0600
commit9094482ca7576877b2bfaa57c8e73cfeb536f8b9 (patch)
treea7ab2b7409802fe0dd3b2e36ecad3960c4b52004 /cmd
parentfd976ff3a233ae7c6a9f5bec790b02bbbf57bb24 (diff)
parent5335f8d25b2f39b9dd954981364f3cddde01895f (diff)
Merge tag 'efi-2026-01-rc1-2' of https://source.denx.de/u-boot/custodians/u-boot-efi
Pull request efi-2026-01-rc1-2 CI: * https://source.denx.de/u-boot/custodians/u-boot-efi/-/pipelines/28024 Documentation: * develop: virtio: Fix qemu example (true/false -> on/off) * separate read and write command documentation * usage: Add general rule for `$?` * askenv: Reword and remove return value * seama: Reword return value section * usage: Use glob for all commands * Fix typos and formatting UEFI: * console: support editable input fields
Diffstat (limited to 'cmd')
-rw-r--r--cmd/eficonfig.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd/eficonfig.c b/cmd/eficonfig.c
index 8ac0fb98e02..d8d946c87ac 100644
--- a/cmd/eficonfig.c
+++ b/cmd/eficonfig.c
@@ -974,6 +974,8 @@ static efi_status_t handle_user_input(u16 *buf, int buf_size,
if (!tmp)
return EFI_OUT_OF_RESOURCES;
+ /* Populate tmp so user can edit existing string */
+ u16_strcpy(tmp, buf);
ret = efi_console_get_u16_string(cin, tmp, buf_size, NULL, 4, cursor_col);
if (ret == EFI_SUCCESS)
u16_strcpy(buf, tmp);