Add a small informative printf under bootverbose to firmware_register to

track problems when loading firmware from loader.
This commit is contained in:
mlaier 2007-02-03 16:01:46 +00:00
parent 9a2ac087c9
commit 4bd0763c38

View File

@ -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;
}