[PATCH] cmd: x86: zboot: remove duplicate zboot_setup() call in do_zboot_setup
Tom Rini
trini at konsulko.com
Sat Jul 11 02:17:25 CEST 2026
On Fri, 26 Jun 2026 09:20:22 +0530, Naveen Kumar Chaudhary wrote:
> do_zboot_setup() invokes zboot_setup() twice: once with proper error
> reporting, and again immediately afterwards with no diagnostic. The
> second call re-runs the entire boot parameter setup on the
> already-populated zero page, which is at best wasted work and at
> worst leaves the structure in an unexpected state.
>
> Drop the stray second invocation; the first call already covers both
> success and failure handling.
>
> [...]
Applied to u-boot/master, thanks!
[1/1] cmd: x86: zboot: remove duplicate zboot_setup() call in do_zboot_setup
commit: e0d10a4b85cb3adfff152494afe74d3a0cac1090
--
Tom
More information about the U-Boot
mailing list