Files
u-boot/boot
Simon Glass 4a03fbc8bb boot: Add missing code for bootz_run()
The bootz method is special in that it uses its own implementation of
several of the bootm states.

The existing do_bootz() function calls bootz_run() but first does a few
other things. These are missing in the direct call to bootz_run(). I
probably missed this because bootz_start() sets up its own
struct bootm_info so I assumed it was independent. While the struct
itself is independent, changes to the images member (which is a pointer)
persist.

Move the required code into bootz_run()

This change was manually tested on an rpi2 with postmarketOS added,
using standard boot and also the 'bootz' command.

Signed-off-by: Simon Glass <sjg@chromium.org>
Fixes: 47eda7e80e ("boot: pxe: Use bootm_...() functions where possible")
Reported-by: Svyatoslav Ryhel <clamor95@gmail.com>
Tested-by: Svyatoslav Ryhel <clamor95@gmail.com> # LG P895
2025-04-18 05:02:56 -06:00
..
2025-04-18 05:02:56 -06:00
2025-02-25 16:39:30 -07:00
2024-12-05 13:58:18 -07:00
2024-10-23 06:52:38 +02:00
2024-10-18 14:10:22 -06:00
2025-03-15 08:49:00 +00:00
2024-10-18 14:10:22 -06:00
2024-11-14 18:14:06 -06:00
2025-01-24 18:01:40 -07:00