diff options
| author | Tom Rini <[email protected]> | 2024-10-25 14:22:36 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2024-10-25 14:22:36 -0600 |
| commit | deafcdc8e014dc83f154cc448cf8cf6a24b29136 (patch) | |
| tree | 853fc8fe04e1235d55b077f86e22dfc0ba0a41f2 /include/bootstage.h | |
| parent | 3fbc657669591ca893613f14d42e07069b7d56cd (diff) | |
| parent | 9252b7f867f7638ba3f6af85058fee7b3993222d (diff) | |
Merge patch series "Allow showing the memory map"
Simon Glass <[email protected]> says:
This little series adds a new 'memmap' command, intended to show the
layout of memory within U-Boot and how much memory is available for
loading images.
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'include/bootstage.h')
| -rw-r--r-- | include/bootstage.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/bootstage.h b/include/bootstage.h index 57792648c49..3300ca0248a 100644 --- a/include/bootstage.h +++ b/include/bootstage.h @@ -371,9 +371,10 @@ int bootstage_unstash(const void *base, int size); /** * bootstage_get_size() - Get the size of the bootstage data * + * @add_strings: true to add the size of attached strings (for stashing) * Return: size of boostage data in bytes */ -int bootstage_get_size(void); +int bootstage_get_size(bool add_strings); /** * bootstage_init() - Prepare bootstage for use @@ -444,7 +445,7 @@ static inline int bootstage_unstash(const void *base, int size) return 0; /* Pretend to succeed */ } -static inline int bootstage_get_size(void) +static inline int bootstage_get_size(bool add_strings) { return 0; } |
