summaryrefslogtreecommitdiff
path: root/drivers/fpga/intel_sdm_mb.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2024-10-21 10:19:28 +0200
committerTom Rini <trini@konsulko.com>2024-10-25 14:22:24 -0600
commit48008ec71148c0749ff34f7036a0278d4d92ae7b (patch)
tree09608c31044efb9243c4c8854862ad0f8a091d4b /drivers/fpga/intel_sdm_mb.c
parent040ab117c79795ff2a13f70c3c3847fa66db7d04 (diff)
bootstage: Allow counting memory without strings
The bootstage array includes pointers to strings but not the strings themselves. The strings are added when stashing, but including them in the size calculation gives an inflated view of the amount of space used by the array. Update this function so it can return the amount of memory used by the bootstage structures themselves, without the strings which they point to. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/fpga/intel_sdm_mb.c')
0 files changed, 0 insertions, 0 deletions