mirror of
https://review.coreboot.org/flashrom.git
synced 2025-04-26 22:52:34 +02:00
Print a warning if southbridge is not known
Corresponding to flashrom svn r61 and coreboot v2 svn r2390.
This commit is contained in:
parent
028f46fd2e
commit
cbc55d0c29
2
README
2
README
@ -77,6 +77,6 @@ DOC support
|
||||
-----------
|
||||
|
||||
DISK on Chip support is currently disabled since it is considered unstable.
|
||||
Change CFLAGS in the Makefile to enable it.
|
||||
Change CFLAGS in the Makefile to enable it: Remove -DDISABLE_DOC from CFLAGS.
|
||||
|
||||
|
||||
|
@ -506,11 +506,15 @@ int enable_flash_write()
|
||||
}
|
||||
}
|
||||
|
||||
/* now do the deed. */
|
||||
if (enable) {
|
||||
printf("Enabling flash write on %s...", enable->name);
|
||||
if (enable->doit(dev, enable->name) == 0)
|
||||
printf("OK\n");
|
||||
if (!enable) {
|
||||
printf("Warning: Unknown system. Flash detection "
|
||||
"will most likely fail.\n");
|
||||
return 1;
|
||||
}
|
||||
|
||||
/* now do the deed. */
|
||||
printf("Enabling flash write on %s...", enable->name);
|
||||
if (enable->doit(dev, enable->name) == 0)
|
||||
printf("OK\n");
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user