Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(12)

Unified Diff: include/chromeos/firmware_storage.h

Issue 6628009: Add a wrapper function of LoadKernel() (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/u-boot-next.git@chromeos-v2010.09
Patch Set: Code review: set gbb to NULL on error Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | include/chromeos/hardware_interface.h » ('j') | include/chromeos/load_util.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/chromeos/firmware_storage.h
diff --git a/include/chromeos/firmware_storage.h b/include/chromeos/firmware_storage.h
index 3349b1be6d7419c64ec98f9dc75e96083f1a1ccf..34c2aa6ab9615107ecd58d2b7892417e22eb2a18 100644
--- a/include/chromeos/firmware_storage.h
+++ b/include/chromeos/firmware_storage.h
@@ -65,6 +65,10 @@ typedef struct {
uint8_t *firmware_body[2];
} firmware_storage_t;
+/* Returns 0 if success, nonzero if error. */
+int init_firmware_storage(firmware_storage_t *f);
+int release_firmware_storage(firmware_storage_t *f);
+
/* Initialize fields for talking to GetFirmwareBody(). */
void GetFirmwareBody_setup(firmware_storage_t *f,
off_t firmware_data_offset_0, off_t firmware_data_offset_1);
« no previous file with comments | « no previous file | include/chromeos/hardware_interface.h » ('j') | include/chromeos/load_util.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698