David Hendricks would like Shawn Nematbakhsh to review this change.

View Change

linux_mtd: Suppress message if NOR device not found

This just suppresses a message that might cause confusion for
unsuspecting users.

BUG=none
BRANCH=none
TEST=ran on veyron_mickey, "NOR type device not found" message
no longer appears under normal circumstances.
Signed-off-by: David Hendricks <dhendrix@chromium.org>

Change-Id: I76d50847e6c4a431d30ad39bcd3994059679172d
Reviewed-on: https://chromium-review.googlesource.com/302145
Commit-Ready: David Hendricks <dhendrix@chromium.org>
Tested-by: David Hendricks <dhendrix@chromium.org>
Reviewed-by: Shawn N <shawnn@chromium.org>
---
M linux_mtd.c
1 file changed, 1 insertion(+), 1 deletion(-)

git pull ssh://review.coreboot.org:29418/flashrom refs/changes/03/22503/1
diff --git a/linux_mtd.c b/linux_mtd.c
index 07db2e9..064065f 100644
--- a/linux_mtd.c
+++ b/linux_mtd.c
@@ -276,7 +276,7 @@

tmp = (char *)scanft(LINUX_MTD_SYSFS_ROOT, "type", "nor", 1);
if (!tmp) {
- msg_perr("%s: NOR type device not found.\n", __func__);
+ msg_pdbg("%s: NOR type device not found.\n", __func__);
goto linux_mtd_setup_exit;
}

To view, visit change 22503. To unsubscribe, visit settings.

Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I76d50847e6c4a431d30ad39bcd3994059679172d
Gerrit-Change-Number: 22503
Gerrit-PatchSet: 1
Gerrit-Owner: David Hendricks <david.hendricks@gmail.com>
Gerrit-Reviewer: Shawn Nematbakhsh <shawnn@chromium.org>