libpayload: store boot media information in sysinfo
commitf61b35d5b0b25ca766f6d207c4b354407862b973
authorPatrick Georgi <pgeorgi@chromium.org>
Tue, 14 Jul 2015 16:15:24 +0000 (14 17:15 +0100)
committerPatrick Georgi <pgeorgi@google.com>
Tue, 14 Jul 2015 20:37:10 +0000 (14 22:37 +0200)
tree6649b9dc23400677e7aca24fce755c0593b92bb1
parentfb5d5b16eef66d37dc20cdf0769c9049bf47d6be
libpayload: store boot media information in sysinfo

Write boot media information in sysinfo, if it exists. This allows picking the
right CBFS for further files in case there are several.

Change-Id: I75a8ee6b93f349b9f2fab1e82826aba675949c0a
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Reviewed-on: http://review.coreboot.org/10869
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Tested-by: build bot (Jenkins)
payloads/libpayload/include/coreboot_tables.h
payloads/libpayload/include/sysinfo.h
payloads/libpayload/libc/coreboot.c