diff options
author | Patrick Rudolph <patrick.rudolph@9elements.com> | 2018-04-10 09:34:29 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2018-05-04 10:05:55 +0000 |
commit | c653623d59bc207d035078b63d4bfe1c45e6f58d (patch) | |
tree | 5a071e97ef563c8ff2ad9af2a0625890a02740cb /util/showdevicetree | |
parent | 23d62dd15c39b3628b102cf6417d476e78ffcdaf (diff) | |
download | coreboot-c653623d59bc207d035078b63d4bfe1c45e6f58d.tar.xz |
lib/bootmem: Add method to walk memory tables
Add a method to walk bootmem memory tables and call a function
for each memory range. The tables might not match with OS sight
of view.
Return true if the callback function returned false.
Required for FIT support in coreboot to find a usable RAM region.
Tested on Cavium SoC.
Change-Id: I0004e5ad5fe2289827f370f0d0f9979d3cbd3926
Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
Reviewed-on: https://review.coreboot.org/25583
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'util/showdevicetree')
0 files changed, 0 insertions, 0 deletions