summaryrefslogtreecommitdiff
path: root/firmware/lib/cgptlib/include/cgptlib.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/lib/cgptlib/include/cgptlib.h')
-rw-r--r--firmware/lib/cgptlib/include/cgptlib.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/firmware/lib/cgptlib/include/cgptlib.h b/firmware/lib/cgptlib/include/cgptlib.h
index 4eadc817..451ecf0b 100644
--- a/firmware/lib/cgptlib/include/cgptlib.h
+++ b/firmware/lib/cgptlib/include/cgptlib.h
@@ -61,7 +61,10 @@ typedef struct {
* 0x04 = table1
* 0x08 = table2 */
int current_kernel; /* the current chromeos kernel index in partition table.
- * -1 means not found on drive. */
+ * -1 means not found on drive. Note that GPT partition
+ * numbers are traditionally 1-based, but we're using
+ * a zero-based index here.
+ */
/* Internal variables */
uint32_t valid_headers, valid_entries;