Add resource size and resource granularity reporting to device_util.c.

Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2862 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Carl-Daniel Hailfinger 2007-10-16 18:21:22 +00:00 committed by Uwe Hermann
parent dc34cab5cb
commit 52bc99367c
1 changed files with 2 additions and 1 deletions

View File

@ -467,10 +467,11 @@ void report_resource_stored(device_t dev, struct resource *resource, const char
#endif
}
printk_debug(
"%s %02x <- [0x%010Lx - 0x%010Lx] %s%s%s\n",
"%s %02x <- [0x%010Lx - 0x%010Lx] size 0x%08Lx gran 0x%02x %s%s%s\n",
dev_path(dev),
resource->index,
base, end,
resource->size, resource->gran,
buf,
resource_type(resource),
comment);