summaryrefslogtreecommitdiff
path: root/firmware/lib/cgptlib/include
diff options
context:
space:
mode:
authorNam T. Nguyen <namnguyen@chromium.org>2014-08-28 10:58:47 -0700
committerchrome-internal-fetch <chrome-internal-fetch@google.com>2014-08-29 21:56:20 +0000
commit88458d9b5281aca162821a369707781ac9abb44e (patch)
treef6cab5e07a797941a52c9e72b75a5665a2a442b0 /firmware/lib/cgptlib/include
parentc0777be638d0cb69caa4e6a8d1573c78435f1865 (diff)
downloadvboot-88458d9b5281aca162821a369707781ac9abb44e.tar.gz
vboot_reference: Rename *_SECTOR to *_SECTORS
This CL renames GPT_PMBR_SECTOR to GPT_PMBR_SECTORS and GPT_HEADER_SECTOR to GPT_HEADER_SECTORS to better indicate that these are constants for sizes, not location. BRANCH=None BUG=None TEST=unittest Change-Id: I26ed6d45d77dcb1eb714135edbb9e4124b54e953 Reviewed-on: https://chromium-review.googlesource.com/214830 Reviewed-by: Bill Richardson <wfrichar@chromium.org> Tested-by: Nam Nguyen <namnguyen@chromium.org> Commit-Queue: Nam Nguyen <namnguyen@chromium.org>
Diffstat (limited to 'firmware/lib/cgptlib/include')
-rw-r--r--firmware/lib/cgptlib/include/cgptlib_internal.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/lib/cgptlib/include/cgptlib_internal.h b/firmware/lib/cgptlib/include/cgptlib_internal.h
index b2691419..e9e63cad 100644
--- a/firmware/lib/cgptlib/include/cgptlib_internal.h
+++ b/firmware/lib/cgptlib/include/cgptlib_internal.h
@@ -55,8 +55,8 @@
#define MAX_NUMBER_OF_ENTRIES 512
/* Defines GPT sizes */
-#define GPT_PMBR_SECTOR 1 /* size (in sectors) of PMBR */
-#define GPT_HEADER_SECTOR 1
+#define GPT_PMBR_SECTORS 1 /* size (in sectors) of PMBR */
+#define GPT_HEADER_SECTORS 1
/*
* Entries sectors assumes sector size if 512 bytes; then (TOTAL_ENTRIES_SIZE /
* 512) = 32