diff options
author | Philip Prindeville <philipp@redfish-solutions.com> | 2011-12-23 18:33:05 -0700 |
---|---|---|
committer | Patrick Georgi <patrick@georgi-clan.de> | 2011-12-24 12:02:18 +0100 |
commit | 44bf6fcbb2ca9cca24038b29afb695db41a629f0 (patch) | |
tree | db8f1ca5195af014d4bf3501fa075a0cf17003b5 /payloads/libpayload/include | |
parent | 7d95b3e52804c3adfaf45453dbff289d8c1ae32e (diff) |
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>
Diffstat (limited to 'payloads/libpayload/include')
-rw-r--r-- | payloads/libpayload/include/libpayload.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/payloads/libpayload/include/libpayload.h b/payloads/libpayload/include/libpayload.h index 8c8abc437e..d9f7d21781 100644 --- a/payloads/libpayload/include/libpayload.h +++ b/payloads/libpayload/include/libpayload.h @@ -369,7 +369,7 @@ int sysinfo_have_multiboot(unsigned long *addr); int get_coreboot_info(struct sysinfo_t *info); int get_multiboot_info(struct sysinfo_t *info); -void lib_get_sysinfo(void); +int lib_get_sysinfo(void); /* Timer functions - defined by each architecture. */ unsigned int get_cpu_speed(void); |