• Julius Werner's avatar
    coreboot: Add memory range parsing · 579d1e90
    Julius Werner authored
    
    
    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: default avatarJulius Werner <jwerner@chromium.org>
    Change-Id: I3bea326c426db27d1a8b7d6e17418e4850e884b4
    579d1e90
coreboot_table.c 3.93 KB