mirror of
https://github.com/fail0verflow/switch-coreboot.git
synced 2025-05-04 01:39:18 -04:00
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://coreboot.org/repository/LinuxBIOSv3@507 f3766cd6-281f-0410-b1cd-43a5c92072e9
This commit is contained in:
parent
b9c8454adf
commit
97722c6e7d
1 changed files with 5 additions and 5 deletions
|
@ -601,11 +601,11 @@ void report_resource_stored(struct device *dev, struct resource *resource,
|
|||
sprintf(buf, "bus %02x ", dev->link[0].secondary);
|
||||
#endif
|
||||
}
|
||||
printk(BIOS_DEBUG,
|
||||
"%s %02lx <- [0x%010llx - 0x%010llx] %s%s%s\n",
|
||||
dev_path(dev),
|
||||
resource->index,
|
||||
base, end, buf, resource_type(resource), comment);
|
||||
printk(BIOS_DEBUG, "%s %02lx <- [0x%010llx - 0x%010llx] "
|
||||
"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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue