summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2011-08-23 11:38:11 -0700
committerSimon Glass <sjg@chromium.org>2011-08-29 12:28:30 -0700
commitc648159d0a01b32d61da555c9b42c75bddcab62b (patch)
treec257f748866ab584d2ca27815eea0434c5d88380 /include
parent102f460b3bf7843860cb0ed596948946462c381a (diff)
CHROMIUMOS: Add vbexport_init() to set up library
We need to register available boot devices. It seems reasonable that this library should be initialized before use. BUG=chromium-os:19518 TEST=build on Seaboard; vbexport_test diskinfo See that all boot devices are found with SD and USB inserted Change-Id: I17a535dc85b5aaee669ea67b439632bafb19c806 Reviewed-on: http://gerrit.chromium.org/gerrit/6501 Reviewed-by: Anton Staaf <robotboy@chromium.org> Tested-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include')
-rw-r--r--include/chromeos/common.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/chromeos/common.h b/include/chromeos/common.h
index 1c4b3925dce..974e40d7f30 100644
--- a/include/chromeos/common.h
+++ b/include/chromeos/common.h
@@ -45,4 +45,7 @@ enum {
/* this function is implemented along with vboot_api */
int display_clear(void);
+/* set up the vbexport library */
+int vbexport_init(void);
+
#endif /* CHROMEOS_COMMON_H_ */