ports/sysutils/opensbi/files/patch-platform_generic_platform.c
Mitchell Horne b0216f3b44 sysutils/opensbi: update to version v1.0
As the fu540 platform has been removed with this version, fall back to
building the generic platform only. Keep the platform logic around in
the Makefile in case we need it in the future.

Switch to building with base system clang+binutils.

Bump the PORTREVISION for sysutils/u-boot-sifive-fu540.

Reviewed by:	jrtc27, lwhsu (previous version both)
Approved by:	lwhsu (ports)
Tested by:	Klaus Küchemann <maciphone2@googlemail.com>
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D33845
2022-01-19 17:15:34 -04:00

11 lines
326 B
C

--- platform/generic/platform.c.orig 2021-12-24 11:57:44 UTC
+++ platform/generic/platform.c
@@ -23,6 +23,8 @@
#include <sbi_utils/ipi/fdt_ipi.h>
#include <sbi_utils/reset/fdt_reset.h>
+int need_pmp_war = FALSE;
+
extern const struct platform_override sifive_fu540;
extern const struct platform_override sifive_fu740;