coreboot stores much information in the CBMEM IMD. Until now it was ignored. This patch makes use of these coreboot tables entries. It also removes get_cbmem_addr() function as it is no longer needed.
Moreover, the coreboot tables entry CB_TAG_MRC_CACHE does not exist anymore, as it is not created by the code. It was replaced by CBMEM_ID_MRCDATA entry, so MRCDATA should now be accessible through sysinfo structure field.
2f236c232d libpayload: Add CBMEM_IMD_ENTRY support to coreboot tables parser
payloads/libpayload/arch/x86/coreboot.c | 8 --
payloads/libpayload/include/coreboot_tables.h | 12 ++-
payloads/libpayload/include/sysinfo.h | 6 ++
payloads/libpayload/libc/coreboot.c | 133 +++++++++++---------------
4 files changed, 71 insertions(+), 88 deletions(-)