summaryrefslogtreecommitdiffstats
path: root/flashrom.c
diff options
context:
space:
mode:
Diffstat (limited to 'flashrom.c')
-rw-r--r--flashrom.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/flashrom.c b/flashrom.c
index cfb8e5ff2..34248ed73 100644
--- a/flashrom.c
+++ b/flashrom.c
@@ -1186,11 +1186,12 @@ notfound:
if (!flash || !flash->name)
return NULL;
- if (programmer_table[programmer].map_flash_region == physmap) {
+#if CONFIG_INTERNAL == 1
+ if (programmer_table[programmer].map_flash_region == physmap)
snprintf(location, sizeof(location), "at physical address 0x%lx", base);
- } else {
+ else
+#endif
snprintf(location, sizeof(location), "on %s", programmer_table[programmer].name);
- }
msg_cinfo("%s chip \"%s %s\" (%d KB, %s) %s.\n",
force ? "Assuming" : "Found",