Index: src/platform/vboot_reference/cgptlib/cgpt.c |
diff --git a/src/platform/vboot_reference/cgptlib/cgpt.c b/src/platform/vboot_reference/cgptlib/cgpt.c |
index 7f18a1cf8d45b6bc2a925592acdf1a5f7a04e69d..4504a618a548a5c109bd7aae2d7b7d5431959565 100644 |
--- a/src/platform/vboot_reference/cgptlib/cgpt.c |
+++ b/src/platform/vboot_reference/cgptlib/cgpt.c |
@@ -9,19 +9,19 @@ |
static int start[] = { 34, 10034 }; |
int GPTInit(GPTData_t *gpt) { |
- gpt->current_kernel = 1; |
- return 0; |
+ gpt->current_kernel = 1; |
+ return 0; |
} |
int GPTNextKernelEntry(GPTData_t *gpt, uint64_t *start_sector, uint64_t *size) { |
- gpt->current_kernel ^= 1; |
- if (start_sector) *start_sector = start[gpt->current_kernel]; |
- if (size) *size = 10000; |
- return 0; |
+ gpt->current_kernel ^= 1; |
+ if (start_sector) *start_sector = start[gpt->current_kernel]; |
+ if (size) *size = 10000; |
+ return 0; |
} |
int GPTUpdateKernelEntry(GPTData_t *gpt, uint32_t update_type) { |
- gpt->modified |= (GPT_MODIFIED_HEADER1 | GPT_MODIFIED_ENTRIES1) << |
- gpt->current_kernel; |
- return 0; |
+ gpt->modified |= (GPT_MODIFIED_HEADER1 | GPT_MODIFIED_ENTRIES1) << |
+ gpt->current_kernel; |
+ return 0; |
} |