commit | 579d1e90d417909c43870d3decf3760851573770 | [log] [tgz] |
---|---|---|
author | Julius Werner <jwerner@chromium.org> | Thu Mar 26 18:06:21 2020 -0700 |
committer | Sandrine Bailleux <sandrine.bailleux@arm.com> | Tue Apr 07 07:35:26 2020 +0000 |
tree | b9be2ff8a0d44668f4b6661ce36f821c2a7648e4 | |
parent | 9dfe46c21b897365c58654eb85df3c04ad20bdf0 [diff] |
coreboot: Add memory range parsing This patch adds code to parse memory range information passed by coreboot, and a simple helper to test whether a specific address belongs to a range. This may be useful for coreboot-using platforms that need to know information about the system's memory layout (e.g. to check whether an address passed in via SMC targets valid DRAM). Signed-off-by: Julius Werner <jwerner@chromium.org> Change-Id: I3bea326c426db27d1a8b7d6e17418e4850e884b4