Provide a NULL pointer to device tree blob so GENERIC kernel

can be compiled.
We will need to get pointer to DTB from hardware, so mark as TODO.

Sponsored by:	DARPA, AFRL
This commit is contained in:
br 2017-04-12 10:34:50 +00:00
parent b14b54982c
commit 8180404188

View File

@ -718,7 +718,12 @@ try_load_dtb(caddr_t kmdp)
{
vm_offset_t dtbp;
#if defined(FDT_DTB_STATIC)
dtbp = (vm_offset_t)&fdt_static_dtb;
#else
/* TODO */
dtbp = (vm_offset_t)NULL;
#endif
if (dtbp == (vm_offset_t)NULL) {
printf("ERROR loading DTB\n");
return;