diff options
| author | Simon Glass <sjg@chromium.org> | 2024-08-21 10:19:13 -0600 |
|---|---|---|
| committer | Tom Rini <trini@konsulko.com> | 2024-08-26 14:05:38 -0600 |
| commit | 2e9313179a846b581c0fc3f6a49e19f3d343efa8 (patch) | |
| tree | 9385f80b73eb00be50c23cab00c9d4e0e5473ce1 /include/handoff.h | |
| parent | e821897622a13d41c80993510be56e7011d1c43a (diff) | |
global_data: Drop spl_handoff
Provide a function to locate this information, rather than doing it
automatically on startup, to save space in global_data.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/handoff.h')
| -rw-r--r-- | include/handoff.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/handoff.h b/include/handoff.h index c0ae7b19a75..0072ea832f8 100644 --- a/include/handoff.h +++ b/include/handoff.h @@ -32,6 +32,13 @@ void handoff_load_dram_size(struct spl_handoff *ho); void handoff_load_dram_banks(struct spl_handoff *ho); /** + * handoff_get() - Get the SPL handoff information + * + * Return: Pointer to SPL handoff if received, else NULL + */ +struct spl_handoff *handoff_get(void); + +/** * handoff_arch_save() - Save arch-specific info into the handoff area * * This is defined to an empty function by default, but arch-specific code can |
