boot: Provide a Kconfig to enable faking the boot
This feature was designed for tracing but can be useful for debugging too, since it is possible to examine the state of the system just before handing off to the OS. Provide a separate CONFIG_BOOTM_FAKE_GO option to allow this feature to be used separate from tracing. Enable it for the EFI app. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -453,6 +453,14 @@ config BOOTM_VXWORKS
|
||||
help
|
||||
Support booting VxWorks images via the bootm command.
|
||||
|
||||
config BOOTM_FAKE_GO
|
||||
bool "Support faking a boot, for debugging purposes"
|
||||
default y if TRACE || EFI_APP
|
||||
help
|
||||
Provides a way to fake the boot, so that almost everything is done
|
||||
to prepare for the boot, but the jump to the OS does not actually
|
||||
happen. This can be useful for debugging.
|
||||
|
||||
endif # BOOT
|
||||
|
||||
config PXE_UTILS
|
||||
|
||||
Reference in New Issue
Block a user