cgpt: Rename _GetPartitionEntryArray to *LBA.

This CL fixes a late comment from vapier@ on CL:214318.

BUG=none
TEST=build_image

Change-Id: I8cdcab3f45171195e3ba256713c244fd0ae4affe
Reviewed-on: https://chromium-review.googlesource.com/217295
Reviewed-by: Mike Frysinger <vapier@chromium.org>
Tested-by: Nam Nguyen <namnguyen@chromium.org>
Commit-Queue: Nam Nguyen <namnguyen@chromium.org>
diff --git a/build_library/cgpt.py b/build_library/cgpt.py
index 091a761..ce8b49b 100755
--- a/build_library/cgpt.py
+++ b/build_library/cgpt.py
@@ -33,7 +33,7 @@
 
 COMMON_LAYOUT = 'common'
 BASE_LAYOUT = 'base'
-# The size in blocks of the partition entry array.
+# Blocks of the partition entry array.
 SIZE_OF_PARTITION_ENTRY_ARRAY = 32
 SIZE_OF_PMBR = 1
 SIZE_OF_GPT_HEADER = 1
@@ -298,7 +298,7 @@
   return config
 
 
-def _GetPrimaryEntryArray(config):
+def _GetPrimaryEntryArrayLBA(config):
   """Return the start LBA of the primary partition entry array.
 
   Normally this comes after the primary GPT header but can be adjusted by setting
@@ -336,7 +336,7 @@
     A suitable LBA for partitions, at least 64.
   """
 
-  entry_array = _GetPrimaryEntryArray(config)
+  entry_array = _GetPrimaryEntryArrayLBA(config)
   start_sector = max(entry_array + SIZE_OF_PARTITION_ENTRY_ARRAY, 64)
   return start_sector
 
@@ -510,7 +510,7 @@
         config['metadata']['block_size']),
     'local curr=%d' % _GetStartSector(config),
     '# Create the GPT headers and tables. Pad the primary ones.',
-    '${GPT} create -p %d $1' % (_GetPrimaryEntryArray(config) -
+    '${GPT} create -p %d $1' % (_GetPrimaryEntryArrayLBA(config) -
                                 (SIZE_OF_PMBR + SIZE_OF_GPT_HEADER)),
   ]