diff options
author | Tom Rini | 2023-11-30 09:33:31 -0500 |
---|---|---|
committer | Tom Rini | 2023-11-30 09:33:31 -0500 |
commit | 4a363dd516856344558034027e40d903868f67b4 (patch) | |
tree | 64f693d7178aa2d5c94e08557194ccad2cf41e77 /cmd | |
parent | 6357cf0cc4eaded5326cd10bca359ade2969708a (diff) | |
parent | e22d5799dc86298ad8388ddcb3b759e166c142b7 (diff) |
Merge branch 'staging' of https://source.denx.de/u-boot/custodians/u-boot-tegra into next
Device tree improvents for Paz00 and DM PMIC convertion of recently
merged Tegra boards.
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/eficonfig.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/cmd/eficonfig.c b/cmd/eficonfig.c index e6e8a0a488e..34a59cb15d0 100644 --- a/cmd/eficonfig.c +++ b/cmd/eficonfig.c @@ -528,7 +528,10 @@ struct efi_device_path *eficonfig_create_device_path(struct efi_device_path *dp_ p += fp_size; *((struct efi_device_path *)p) = END; - dp = efi_dp_append(dp_volume, (struct efi_device_path *)buf); + dp = efi_dp_shorten(dp_volume); + if (!dp) + dp = dp_volume; + dp = efi_dp_append(dp, &fp->dp); free(buf); return dp; |