libpayload: Add get_option_from()
authorPatrick Georgi <patrick.georgi@secunet.com>
Tue, 12 Jul 2011 09:40:29 +0000 (11:40 +0200)
committerPatrick Georgi <patrick@georgi-clan.de>
Wed, 14 Sep 2011 05:42:20 +0000 (07:42 +0200)
commitc2300581997be3e52e1fdab49fc0a9c322c4f27c
tree64ac0f7189bea17d8c5a02ce4bc8a7659300c508
parente169f82edf661ee922215ffe7fc6f413c7fa9181
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>
payloads/libpayload/drivers/options.c
payloads/libpayload/include/libpayload.h