From c243639797dc480eea9d2b3253e1085096bb355a Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Wed, 11 Nov 2009 19:31:53 +0000 Subject: 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 Acked-by: Peter Stuge git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4933 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/lib/cbfs.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') 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; } -- cgit v1.2.3