summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2007-10-16 18:21:22 +0000
committerUwe Hermann <uwe@hermann-uwe.de>2007-10-16 18:21:22 +0000
commit52bc99367c270b88f758f3a19634640ae0553f91 (patch)
tree73149eb87a65ea90da868ab9063c76a29850badd /src
parentdc34cab5cbc99f30f9fecc97894230593107ee24 (diff)
downloadcoreboot-52bc99367c270b88f758f3a19634640ae0553f91.tar.xz
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
Diffstat (limited to 'src')
-rw-r--r--src/devices/device_util.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/devices/device_util.c b/src/devices/device_util.c
index 22206069d2..efb1f0f257 100644
--- a/src/devices/device_util.c
+++ b/src/devices/device_util.c
@@ -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);