diff options
author | Patrick Georgi <patrick.georgi@coresystems.de> | 2009-11-11 19:31:53 +0000 |
---|---|---|
committer | Patrick Georgi <patrick.georgi@coresystems.de> | 2009-11-11 19:31:53 +0000 |
commit | c243639797dc480eea9d2b3253e1085096bb355a (patch) | |
tree | bf6a8a3077210b6b40e412a7aff5fadc9f499266 /src | |
parent | c0ac7e9046b52ae4bd13269a98c12b0172562d5c (diff) | |
download | coreboot-c243639797dc480eea9d2b3253e1085096bb355a.tar.xz |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/cbfs.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/cbfs.c b/src/lib/cbfs.c index 5f24faf20f..f99f666d3c 100644 --- a/src/lib/cbfs.c +++ b/src/lib/cbfs.c @@ -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; } |