summaryrefslogtreecommitdiff
path: root/doc/develop/spl.rst
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2023-08-03 12:43:24 -0400
committerTom Rini <[email protected]>2023-08-03 12:43:24 -0400
commit6cdd4b8108f57252b8849e71aa46e3a2d227c98d (patch)
tree7a1d67347f0fad4eef0a0c95f35dedd866e714aa /doc/develop/spl.rst
parent8b572a387ea907452b4269f9ec9f8321229bd8ec (diff)
parentcd87d2c61ce8e8e963de514f2c8ab0f959d6b586 (diff)
Merge tag 'efi-2023-10-rc2-2' of https://source.denx.de/u-boot/custodians/u-boot-efi
Pull request efi-2023-10-rc2-2 Documentation: * Move README.falcon to HTML * Describe usage of QEMU virtio block device * Add SPDX license identifiers to svg images * Add more detail to the description of U-Boot boot phases UEFI: * Fix buffer overflows * Fix memory leak in efi_add_memory_map_pg * Properly check return values of calloc, uuid_str_to_bin, efi_parse_pkcs7_header
Diffstat (limited to 'doc/develop/spl.rst')
-rw-r--r--doc/develop/spl.rst13
1 files changed, 10 insertions, 3 deletions
diff --git a/doc/develop/spl.rst b/doc/develop/spl.rst
index a1515a7b43b..76e87f07c72 100644
--- a/doc/develop/spl.rst
+++ b/doc/develop/spl.rst
@@ -77,10 +77,11 @@ To check whether a feature is enabled, use CONFIG_IS_ENABLED()::
This checks CONFIG_CLK for the main build, CONFIG_SPL_CLK for the SPL build,
CONFIG_TPL_CLK for the TPL build, etc.
-U-Boot Phases
--------------
+U-Boot Boot Phases
+------------------
-U-Boot boots through the following phases:
+U-Boot goes through the following boot phases where TPL, VPL, SPL are optional.
+While many boards use SPL, less use TPL.
TPL
Very early init, as tiny as possible. This loads SPL (or VPL if enabled).
@@ -97,6 +98,12 @@ SPL
U-Boot
U-Boot proper, containing the command line and boot logic.
+Further usages of U-Boot SPL comprise:
+
+* Launching BL31 of ARM Trusted Firmware which invokes main U-Boot as BL33
+* launching EDK II
+* launching Linux kernel
+* launching RISC-V OpenSBI which invokes main U-Boot
Checking the boot phase
-----------------------