Add a small informative printf under bootverbose to firmware_register to
track problems when loading firmware from loader.
This commit is contained in:
parent
9a2ac087c9
commit
4bd0763c38
@ -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