arm: Add missing gFDT storage for FDT bus

Change-Id: I7c7eaa72515ecb5c2e50c089ceb7428b4bafbf22
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4430
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
This commit is contained in:
Alexander von Gluck IV 2021-09-06 16:40:57 -05:00 committed by Alex von Gluck IV
parent d29af2b6eb
commit d4ca1c6746

View File

@ -11,11 +11,13 @@
#include <boot/kernel_args.h>
void* gFDT = NULL;
status_t
arch_platform_init(struct kernel_args *kernelArgs)
{
// NOTE: dprintf() is off-limits here, too early...
gFDT = kernelArgs->arch_args.fdt;
return B_OK;
}