Chromium Code Reviews| Index: firmware/lib/vboot_kernel.c |
| diff --git a/firmware/lib/vboot_kernel.c b/firmware/lib/vboot_kernel.c |
| index c04538039bb8d8a93671e23b57e0be948db193d5..7df40ac8d81676b9e1942a32a663b1bfff3c661e 100644 |
| --- a/firmware/lib/vboot_kernel.c |
| +++ b/firmware/lib/vboot_kernel.c |
| @@ -14,7 +14,7 @@ |
| #include "rollback_index.h" |
| #include "utility.h" |
| #include "vboot_common.h" |
| - |
| +#include "cgptlib_internal.h" |
|
gauravsh
2010/07/23 01:50:57
nit: alpha order
|
| #define KBUF_SIZE 65536 /* Bytes to read at start of kernel partition */ |
| @@ -350,6 +350,7 @@ int LoadKernel(LoadKernelParams* params) { |
| * Adjust here, until cgptlib is fixed. */ |
| good_partition = gpt.current_kernel + 1; |
| params->partition_number = gpt.current_kernel + 1; |
| + GetCurrentKernelUniqueGuid(&gpt, ¶ms->partition_guid); |
| params->bootloader_address = preamble->bootloader_address; |
| params->bootloader_size = preamble->bootloader_size; |
| /* If we're in developer or recovery mode, there's no rollback |