boot: Select the fake-go state explicitly

Rather than always going through this state, require callers to
explicitly request it. This will allow the option to be enabled without
affecting the boot, unless the user expressly requests it.

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass
2025-09-22 06:35:46 -06:00
parent 5e97965c34
commit 424bb755a9
2 changed files with 6 additions and 6 deletions

View File

@@ -130,7 +130,8 @@ prep
are required. After this the OS itself is ready to boot.
fake
This is only used for testing and only available when `CONFIG_TRACE` is
This is only used for testing and only available when `CONFIG_BOOTM_FAKE_GO`
is
enabled. It fakes a boot of the OS, performs all the normal steps right up
to the point where U-Boot is about to jump to the OS. It then runs a list
of commands from the `fakegocmd` environment variable. Note that the