crossystem: Check for "cros-ec" instead of "mkbp" for *NvStorage

This changes the string we look for in the devicetree on ARM
platforms to look for "cros-ec" (DT uses dashes instead of
underscores) instead of "mkbp".

BUG=chrome-os-partner:21097
CQ-DEPEND=CL:273347
BRANCH=none
TEST=with depthcharge patch applied, ran crossystem on newly
booted system and saw VBNV-related variables turn out the same.

Signed-off-by: David Hendricks <dhendrix@chromium.org>
Change-Id: Iac43f5381327eb878a8d0db606b78bb7bdce816f
Reviewed-on: https://chromium-review.googlesource.com/273391
Commit-Queue: Stefan Reinauer <reinauer@chromium.org>
Tested-by: Stefan Reinauer <reinauer@chromium.org>
Reviewed-by: Stefan Reinauer <reinauer@chromium.org>
diff --git a/host/arch/arm/lib/crossystem_arch.c b/host/arch/arm/lib/crossystem_arch.c
index 01e37c0..5d728b9 100644
--- a/host/arch/arm/lib/crossystem_arch.c
+++ b/host/arch/arm/lib/crossystem_arch.c
@@ -484,7 +484,7 @@
   media = ReadFdtString(FDT_NVSTORAGE_TYPE_PROP);
   if (!strcmp(media, "disk"))
     return VbReadNvStorage_disk(vnc);
-  if (!strcmp(media, "mkbp") || !strcmp(media, "flash"))
+  if (!strcmp(media, "cros-ec") || !strcmp(media, "flash"))
     return VbReadNvStorage_mosys(vnc);
   return -1;
 }
@@ -497,7 +497,7 @@
   media = ReadFdtString(FDT_NVSTORAGE_TYPE_PROP);
   if (!strcmp(media, "disk"))
     return VbWriteNvStorage_disk(vnc);
-  if (!strcmp(media, "mkbp") || !strcmp(media, "flash"))
+  if (!strcmp(media, "cros-ec") || !strcmp(media, "flash"))
     return VbWriteNvStorage_mosys(vnc);
   return -1;
 }