Even more integration fixes.

Review URL: http://codereview.chromium.org/2849021
This commit is contained in:
Randall Spangler
2010-06-23 12:43:01 -07:00
parent 249677d0ad
commit b9d60a52b7
5 changed files with 54 additions and 22 deletions

View File

@@ -322,7 +322,7 @@ int LoadKernel(LoadKernelParams* params) {
/* TODO: GPT partitions start at 1, but cgptlib starts them at 0.
* Adjust here, until cgptlib is fixed. */
good_partition = gpt.current_kernel + 1;
params->partition_number = gpt.current_kernel;
params->partition_number = gpt.current_kernel + 1;
params->bootloader_address = preamble->bootloader_address;
params->bootloader_size = preamble->bootloader_size;
/* If we're in developer or recovery mode, there's no rollback