crossystem: rename Vb*NvStorage_mkbp to Vb*NvStorage_mosys

This is just a cosmetic tweak to make it a bit clearer that
mosys is the underlying interface for these particular vbnv
read/write functions.

BUG=none
BRANCH=none
TEST=it still compiles

Signed-off-by: David Hendricks <dhendrix@chromium.org>
Change-Id: Ide172bfecf608a30489d25026268aedfc421ce4d
Reviewed-on: https://chromium-review.googlesource.com/222062
Reviewed-by: Vadim Bendebury <vbendeb@chromium.org>
Reviewed-by: Randall Spangler <rspangler@chromium.org>
diff --git a/host/arch/arm/lib/crossystem_arch.c b/host/arch/arm/lib/crossystem_arch.c
index 6197e38..92b61b4 100644
--- a/host/arch/arm/lib/crossystem_arch.c
+++ b/host/arch/arm/lib/crossystem_arch.c
@@ -338,7 +338,7 @@
   return 0;
 }
 
-static int VbReadNvStorage_mkbp(VbNvContext* vnc) {
+static int VbReadNvStorage_mosys(VbNvContext* vnc) {
   char hexstring[VBNV_BLOCK_SIZE * 2 + 32];  /* Reserve extra 32 bytes */
   char * const argv[] = {
     MOSYS_PATH, "nvram", "vboot", "read", NULL
@@ -357,7 +357,7 @@
   return 0;
 }
 
-static int VbWriteNvStorage_mkbp(VbNvContext* vnc) {
+static int VbWriteNvStorage_mosys(VbNvContext* vnc) {
   char hexstring[VBNV_BLOCK_SIZE * 2 + 1];
   char * const argv[] = {
     MOSYS_PATH, "nvram", "vboot", "write", hexstring, NULL
@@ -477,7 +477,7 @@
   if (!strcmp(media, "disk"))
     return VbReadNvStorage_disk(vnc);
   if (!strcmp(media, "mkbp") || !strcmp(media, "flash"))
-    return VbReadNvStorage_mkbp(vnc);
+    return VbReadNvStorage_mosys(vnc);
   return -1;
 }
 
@@ -490,7 +490,7 @@
   if (!strcmp(media, "disk"))
     return VbWriteNvStorage_disk(vnc);
   if (!strcmp(media, "mkbp") || !strcmp(media, "flash"))
-    return VbWriteNvStorage_mkbp(vnc);
+    return VbWriteNvStorage_mosys(vnc);
   return -1;
 }