Help track down enable_rom issues in CBFS. If the magic
looks like unmapped memory, point to the wiki page with more information. Signed-off-by: Patrick Georgi <patrick.georgi@coresystems.de> Acked-by: Peter Stuge <peter@stuge.se> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4933 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
parent
c0ac7e9046
commit
c243639797
|
@ -66,6 +66,10 @@ struct cbfs_header *cbfs_master_header(void)
|
|||
printk_spew("magic is %08x\n", ntohl(header->magic));
|
||||
if (ntohl(header->magic) != CBFS_HEADER_MAGIC) {
|
||||
printk_err("ERROR: No valid CBFS header found!\n");
|
||||
if (header->magic == 0xffffffff) {
|
||||
printk_err("Maybe the ROM isn't entirely mapped yet?\n"
|
||||
"See (and report to) http://www.coreboot.org/Infrastructure_Projects#CBFS\n");
|
||||
}
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue