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

Side by Side Diff: include/chromeos/load_util.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 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « include/chromeos/hardware_interface.h ('k') | include/configs/chromeos/tegra2/common.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 /*
2 * Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can be
4 * found in the LICENSE file.
5 */
6
7 #ifndef __CHROMEOS_LOAD_UTIL__
8 #define __CHROMEOS_LOAD_UTIL__
9
10 #include <linux/types.h>
11 #include <chromeos/firmware_storage.h>
12
13 #include <load_kernel_fw.h>
14
15 /*
16 * Helper function for loading GBB
17 *
18 * On success, return a pointer to a malloc'ed area storing GBB, and caller is
19 * responsible to free this area. On error, return NULL.
20 */
21 void *load_gbb(firmware_storage_t *file, uint64_t *gbb_size_ptr);
22
23 /*
24 * Wrapper of LoadKernel() function. Returns the return value of LoadKernel().
25 *
26 * See vboot_reference/firmware/include/load_kernel_fw.h for documentation.
27 */
28 int load_kernel_wrapper(LoadKernelParams *params,
29 void *gbb_data, uint64_t gbb_size, uint64_t boot_flags);
30
31 #endif /* __CHROMEOS_LOAD_UTIL__ */
OLDNEW
« no previous file with comments | « include/chromeos/hardware_interface.h ('k') | include/configs/chromeos/tegra2/common.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698