git: fb26a14fc40b - main - kboot: Add aarch64 fdt fixup
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 03 Feb 2023 15:50:33 UTC
The branch main has been updated by imp:
URL: https://cgit.FreeBSD.org/src/commit/?id=fb26a14fc40b22d5e2d070b5f5f77e8351f2dd27
commit fb26a14fc40b22d5e2d070b5f5f77e8351f2dd27
Author: Warner Losh <imp@FreeBSD.org>
AuthorDate: 2023-02-03 15:37:39 +0000
Commit: Warner Losh <imp@FreeBSD.org>
CommitDate: 2023-02-03 15:41:38 +0000
kboot: Add aarch64 fdt fixup
Sponsored by: Netflix
Reviewed by: kevans
Differential Revision: https://reviews.freebsd.org/D38256
---
stand/kboot/arch/aarch64/Makefile.inc | 2 +-
stand/kboot/arch/aarch64/fdt_arch.c | 14 ++++++++++++++
2 files changed, 15 insertions(+), 1 deletion(-)
diff --git a/stand/kboot/arch/aarch64/Makefile.inc b/stand/kboot/arch/aarch64/Makefile.inc
index 5573d264ec4e..50388d38dbf2 100644
--- a/stand/kboot/arch/aarch64/Makefile.inc
+++ b/stand/kboot/arch/aarch64/Makefile.inc
@@ -1,4 +1,4 @@
-SRCS+= host_syscall.S tramp.S exec.c load_addr.c
+SRCS+= host_syscall.S tramp.S exec.c load_addr.c fdt_arch.c
.PATH: ${BOOTSRC}/arm64/libarm64
CFLAGS+=-I${BOOTSRC}/arm64/libarm64
diff --git a/stand/kboot/arch/aarch64/fdt_arch.c b/stand/kboot/arch/aarch64/fdt_arch.c
new file mode 100644
index 000000000000..bc480808d14f
--- /dev/null
+++ b/stand/kboot/arch/aarch64/fdt_arch.c
@@ -0,0 +1,14 @@
+/*-
+ * Copyright (c) 2022 Netflix, Inc
+ *
+ * SPDX-License-Identifier: BSD-2-Clause
+ */
+
+#include <sys/types.h>
+#include "kboot.h"
+
+void
+fdt_arch_fixups(void *fdtp)
+{
+ /* Unsure what to pass fixup */
+}