Remove the psci option from arm64. It is now a standard option as it is

required to boot correctly.

Sponsored by:	DARPA, AFRL
This commit is contained in:
andrew 2018-06-10 19:42:44 +00:00
parent 5b9978f798
commit 128c3e8914
5 changed files with 2 additions and 14 deletions

View File

@ -41,9 +41,7 @@ __FBSDID("$FreeBSD$");
#include <machine/cpu.h>
#ifdef DEV_PSCI
#include <dev/psci/psci.h>
#endif
typedef void (cpu_quirk_install)(void);
struct cpu_quirks {
@ -81,9 +79,7 @@ static void
install_psci_bp_hardening(void)
{
#ifdef DEV_PSCI
PCPU_SET(bp_harden, psci_get_version);
#endif
}
void

View File

@ -54,9 +54,7 @@ __FBSDID("$FreeBSD$");
#include <machine/vfp.h>
#endif
#ifdef DEV_PSCI
#include <dev/psci/psci.h>
#endif
/*
* Finish a fork operation, with process p2 nearly set up.
@ -119,9 +117,7 @@ void
cpu_reset(void)
{
#ifdef DEV_PSCI
psci_reset();
#endif
printf("cpu_reset failed");
while(1)

View File

@ -239,7 +239,6 @@ device tun # Packet tunnel.
device md # Memory "disks"
device gif # IPv6 and IPv4 tunneling
device firmware # firmware assist module
device psci # Support for ARM PSCI
options EFIRT # EFI Runtime Services
# EXT_RESOURCES pseudo devices

View File

@ -206,8 +206,8 @@ dev/ofw/ofwpci.c optional fdt pci
dev/pci/pci_host_generic.c optional pci
dev/pci/pci_host_generic_acpi.c optional pci acpi
dev/pci/pci_host_generic_fdt.c optional pci fdt
dev/psci/psci.c optional psci
dev/psci/psci_arm64.S optional psci
dev/psci/psci.c standard
dev/psci/psci_arm64.S standard
dev/uart/uart_cpu_arm64.c optional uart
dev/uart/uart_dev_pl011.c optional uart pl011
dev/usb/controller/dwc_otg_hisi.c optional dwcotg fdt soc_hisi_hi6220

View File

@ -13,9 +13,6 @@ COMPAT_FREEBSD32 opt_global.h
# EFI Runtime services support
EFIRT opt_efirt.h
# Devices
DEV_PSCI opt_platform.h
# SoC Support
SOC_ALLWINNER_A64 opt_soc.h
SOC_ALLWINNER_H5 opt_soc.h