mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-17 10:26:15 +00:00
Add a small informative printf under bootverbose to firmware_register to
track problems when loading firmware from loader.
This commit is contained in:
parent
fe46dc7031
commit
38d4db193b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=166465
@ -94,6 +94,11 @@ firmware_register(const char *imagename, const void *data, size_t datasize,
|
||||
frp->parent = parent;
|
||||
frp->file = NULL;
|
||||
mtx_unlock(&firmware_mtx);
|
||||
|
||||
if (bootverbose)
|
||||
printf("firmware: '%s' version %u: %zu bytes loaded at %p\n",
|
||||
imagename, version, datasize, data);
|
||||
|
||||
return frp;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user