diff options
| author | Simon Glass <sjg@chromium.org> | 2024-09-29 19:49:36 -0600 |
|---|---|---|
| committer | Tom Rini <trini@konsulko.com> | 2024-10-11 11:44:47 -0600 |
| commit | 456bdb70def1fe371f964e82158a53f6baf1d3a4 (patch) | |
| tree | 798aa42b2237966a8c1ded8af85fb011b8f47fe9 /doc/develop/spl.rst | |
| parent | 41ea75aa00079ff8368fca53267671cee6289415 (diff) | |
xpl: Rename spl_phase() to xpl_phase()
Rename this function to indicate that it refers to any xPL phase.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'doc/develop/spl.rst')
| -rw-r--r-- | doc/develop/spl.rst | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/develop/spl.rst b/doc/develop/spl.rst index 4bb48e6b7b3..a92110e4fa9 100644 --- a/doc/develop/spl.rst +++ b/doc/develop/spl.rst @@ -34,6 +34,8 @@ For example:: foo(); #endif + if (xpl_phase() == PHASE_TPL) + bar(); The building of SPL images can be enabled by CONFIG_SPL option in Kconfig. @@ -117,7 +119,7 @@ Further usages of U-Boot SPL comprise: Checking the boot phase ----------------------- -Use `spl_phase()` to find the current U-Boot phase, e.g. `PHASE_SPL`. You can +Use `xpl_phase()` to find the current U-Boot phase, e.g. `PHASE_SPL`. You can also find the previous and next phase and get the phase name. |
