Anastasia Klimchuk has uploaded this change for review.
erasure_layout: Add region boundaries to printed info message
Change-Id: I511a79754cff15e7dba26f5313d7015830780f60
Signed-off-by: Anastasia Klimchuk <aklm@flashrom.org>
---
M erasure_layout.c
1 file changed, 4 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/flashrom refs/changes/92/78492/1
diff --git a/erasure_layout.c b/erasure_layout.c
index f360653..d166d50 100644
--- a/erasure_layout.c
+++ b/erasure_layout.c
@@ -174,11 +174,13 @@
}
if (start_diff) {
- msg_cinfo("Region start not sector aligned! Extending start boundaries...\n");
+ msg_cinfo("Region start 0x%08x not sector aligned! Extending start boundaries by 0x%08x.\n",
+ *region_start, start_diff);
*region_start = *region_start - start_diff;
}
if (end_diff) {
- msg_cinfo("Region end not sector aligned! Extending end boundaries...\n");
+ msg_cinfo("Region end 0x%08x not sector aligned! Extending end boundaries by 0x%08x.\n",
+ *region_end, end_diff);
*region_end = *region_end + end_diff;
}
}
To view, visit change 78492. To unsubscribe, or for help writing mail filters, visit settings.