Let lib_get_sysinfo() pass through the success of get_coreboot_info()
authorPhilip Prindeville <philipp@redfish-solutions.com>
Sat, 24 Dec 2011 01:33:05 +0000 (18:33 -0700)
committerPatrick Georgi <patrick@georgi-clan.de>
Sat, 24 Dec 2011 11:02:18 +0000 (12:02 +0100)
commit44bf6fcbb2ca9cca24038b29afb695db41a629f0
treedb8f1ca5195af014d4bf3501fa075a0cf17003b5
parent7d95b3e52804c3adfaf45453dbff289d8c1ae32e
Let lib_get_sysinfo() pass through the success of get_coreboot_info()

The return status of get_coreboot_info() might be handy to a platform
driver calling lib_get_sysinfo() to test for the presence of coreboot.

Change-Id: I0176c93ee92c9dff733112026ee50f2ca797bdff
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
Reviewed-on: http://review.coreboot.org/503
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
payloads/libpayload/arch/i386/sysinfo.c
payloads/libpayload/arch/powerpc/sysinfo.c
payloads/libpayload/include/libpayload.h