From 30712302e030657bc256ce860f6db6f4946726d6 Mon Sep 17 00:00:00 2001 From: Koushik Dutta Date: Thu, 26 May 2011 17:49:56 -0700 Subject: [PATCH] more logging Change-Id: I2f5f37751f16c8b50f5c3ccf1eb56b9b52f44c6b --- flashutils/flashutils.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/flashutils/flashutils.c b/flashutils/flashutils.c index 7fa38a9..2addc72 100644 --- a/flashutils/flashutils.c +++ b/flashutils/flashutils.c @@ -71,6 +71,7 @@ __system(const char *command) } int get_flash_type(const char* partitionType) { + printf("get_flash_type partitionType: %s\n", partitionType); int type = UNSUPPORTED; if (strcmp(partitionType, "mtd") == 0) type = MTD; @@ -78,6 +79,7 @@ int get_flash_type(const char* partitionType) { type = MMC; else if (strcmp(partitionType, "bml") == 0) type = BML; + printf("get_flash_type type: %d\n", type); return type; }