summaryrefslogtreecommitdiff
path: root/payloads/libpayload/include/libpayload.h
diff options
context:
space:
mode:
authorPatrick Georgi <patrick.georgi@secunet.com>2011-07-12 11:40:29 +0200
committerPatrick Georgi <patrick@georgi-clan.de>2011-09-14 07:42:20 +0200
commitc2300581997be3e52e1fdab49fc0a9c322c4f27c (patch)
tree64ac0f7189bea17d8c5a02ce4bc8a7659300c508 /payloads/libpayload/include/libpayload.h
parente169f82edf661ee922215ffe7fc6f413c7fa9181 (diff)
downloadcoreboot-c2300581997be3e52e1fdab49fc0a9c322c4f27c.tar.xz
libpayload: Add get_option_from()
This function allows reading the nvram configuration table from locations other than the cbtable. Change-Id: I56c9973a9ea45ad7bf0185b70d11c9ce5d0e0e1b Signed-off-by: Patrick Georgi <patrick.georgi@secunet.com> Reviewed-on: http://review.coreboot.org/213 Tested-by: build bot (Jenkins) Reviewed-by: Marc Jones <marcj303@gmail.com>
Diffstat (limited to 'payloads/libpayload/include/libpayload.h')
-rw-r--r--payloads/libpayload/include/libpayload.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/payloads/libpayload/include/libpayload.h b/payloads/libpayload/include/libpayload.h
index 6ce7548b3d..80eaaa40b7 100644
--- a/payloads/libpayload/include/libpayload.h
+++ b/payloads/libpayload/include/libpayload.h
@@ -194,6 +194,7 @@ void video_console_set_cursor(unsigned int cursorx, unsigned int cursory);
/* drivers/option.c */
void fix_options_checksum(void);
+int get_option_from(struct cb_cmos_option_table *option_table, void *dest, char *name);
int get_option(void *dest, char *name);
/**