Print a warning if southbridge is not known to flashrom.
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2390 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
parent
fa60e7f9d0
commit
051427c40a
|
@ -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()
|
|||
}
|
||||
}
|
||||
|
||||
if (!enable) {
|
||||
printf("Warning: Unknown system. Flash detection "
|
||||
"will most likely fail.\n");
|
||||
return 1;
|
||||
}
|
||||
|
||||
/* now do the deed. */
|
||||
if (enable) {
|
||||
printf("Enabling flash write on %s...", enable->name);
|
||||
if (enable->doit(dev, enable->name) == 0)
|
||||
printf("OK\n");
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue